Pie Chart 3D

3d, away3d, flash, flex 2 Comments »

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.

Bar Chart 3D based on Away 3D engine

away3d, flash, flex 5 Comments »

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.

 

Sources

String capitalization

flash, flex No Comments »

The following code snippet can be used for the string capitalization:

Actionscript:
  1. String(strIn).substring(0, 1).toUpperCase() + String(strIn).substring(1).toLowerCase();

Pulldown Component

flash, flex, general 1 Comment »

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:

CSS:
  1. .pulldown
  2. {
  3. backgroundImage : Embed(source="pulldown.swf", symbol="Pulldown");
  4. borderSkin : Embed(source="pulldown.swf", symbol="Pulldown");
  5. }

Then, you just set the styleName of the container to 'pulldown' and that is it.

Download demo sources with the component (177K)

removeAllChildren() method for the UIComponent

general No Comments »

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:

Actionscript:
  1. public function removeAllChildren():void
  2. {
  3.     while (numChildren> 0)
  4.     {
  5.         removeChildAt(0);
  6.     }
  7. }

Optimization. Part 1

general No Comments »

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.

Read the rest of this entry »

Fragile Car-2 (APE Engine Demo)

flash, game 2 Comments »

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.

Space (APE Engine Demo)

flash, game 2 Comments »

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.

Air Hockey Flash Game (APE Engine)

flash, game 4 Comments »

This simple game is inspired by Peter's experiments with APE Engine, but I wanted to create something completely different from wheeled vehicles.

Air Hockey Flash Game (APE Engine)

Use RIGHT/LEFT, UP/DOWN to move your stick. Sources are available here

Happy Birthday

general 2 Comments »

Happy Birthday

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Login