While keeping my work on 3D charts and playing with Lathe class new chart type was developed - the Pie.
Building pie chart was a bit more complicated because there were gaps between pie pieces which I couldn’t beat. But after playing with scaling and the Fabrice’s Lathe’s subdivision variable they disappear. I am glad to show you the result
Sources will be available soon.
Away 3D is an awesome engine that lets flash developers to build amazing stuff with just a bunch of code. Recently Away3D team released new version and it was a nice occasion to try it out. Here you can see the result.
The following code snippet can be used for the string capitalization:
-
String(strIn).substring(0, 1).toUpperCase() + String(strIn).substring(1).toLowerCase();
Usability is not my specialiaty but I sincerly believe that some especial UI components really help us to work with applications. We are not that kind of guys who claims that you should use only general kind of the components such as TabNavigator and others. If specific component may improve the whole look-n-feel of the application even a little this is great. Animation is a thing that can settle a life into your application. Users are always attracted to it when it is not the key of the whole application but only its characteristic property. The second principle is irregular form - such kind of forms are very popular among AIR applications. It very easy to implement a container with specific form just setting the borderSkin style:
-
.pulldown
-
{
-
backgroundImage : Embed(source="pulldown.swf", symbol="Pulldown");
-
borderSkin : Embed(source="pulldown.swf", symbol="Pulldown");
-
}
Then, you just set the styleName of the container to 'pulldown' and that is it.
Sometimes we need something like clear() method for our custom component that was inhereted from UIComponent. To implement this function we need to remove all the children that were added during it's life cycle. The following code could be used to remove objects that were attached before:
-
public function removeAllChildren():void
-
{
-
while (numChildren> 0)
-
{
-
removeChildAt(0);
-
}
-
}
Task:
We have a lot of similar applications. We are supporting, improving them and creating new ones. We should optimize development process to make life easer. Also we have to guaranty that any new feature will be applied into all front-ends as fast as possible.
Here is a new version of "Fragile Car". Car's style was replaced with "old-taxi" one. There are some new elements on the map: suspension bridge and barriers.
Use Right/Up keys for accelerate, Left/Down for backward movement (to apply extreme acceleration add Ctrl) and Space for reset game and repair car.
Click inside flash-movie to set the focus.
I want to represent you a new APE Engine example.
Use ENTER for accelerate (You will see acceleration force as red arrow) and SPACE for reset.
Other colored arrows are gravitation forces of planets.
Colored circles represent directions to distant planets.
Click inside flash-movie to set the focus.
This simple game is inspired by Peter's experiments with APE Engine, but I wanted to create something completely different from wheeled vehicles.
Use RIGHT/LEFT, UP/DOWN to move your stick. Sources are available here




Recent Comments