Home » Archive

Articles Archive for December 2008

AIR »

[12 Dec 2008 | One Comment | ]

After SilverLight from Microsoft, Adobe Air got one more great competitor named JavaFX from Sun.
JavafX has variety of features as there is an option to include all Java packages or API’s in it.
      Â
The great news is there is no security sandbox in JavaFX but we can consider that too on downside because the user cannot trust the applications.
That’s not the case in Adobe Air; user can trust the applications because of the strict security sandbox.

I have been using flash for almost more …

Flex »

[5 Dec 2008 | No Comment | ]

Instead of spending money for buying flex builder.
Its better to use Flash develop and Free flex sdk to develop flex applications.
These are the steps i followed to integrate:
install or Update the JRE(Java Runtime Environment to 1.6)
Follow the steps from the link
cheers

ActionScript 3.0, Papervision »

[5 Dec 2008 | One Comment | ]

After inspired by the 3D Cube tutorial in theflashblog.com, I created this tutorial.
Tutorial Difficulty level: Basic – intermediate. Even beginners can use this tutorial to create the same effect.
In this tutorial we are Papervision2.0 for creating 3D Cube and Tweener class creating smooth animation.
Setting the Files:
Download Links for Papervision 2.0 and Tweener Class for AS3. Extract the files to same folder.
Here is the folder structure I used.

Create a new Flash file and save it in the same folder where we extracted the Tweener and papervision 3d files. Here I have …

ActionScript 2.0, ActionScript 3.0 »

[4 Dec 2008 | No Comment | ]

In my project i was passing array to another class(passing by reference). And i was editing the items there in another class(Composition). I was in a situation to resset the array. Then i suddenly reinitialized the array(arr = new Array() or arr = []).
That will create some error in application. Bcoz the reference will end there.
So its advisable to delete items alone. When passing the array references accross several Class.
var Num_arr:Array = new Array();
Num_arr.push(1)
Num_arr.push(6)
Num_arr.push(2)
Num_arr.push(4)
Num_arr.push(9)
trace(”–”+Num_arr+”–”)
arr.splice(0,Num_arr.length)
trace(”–”+Num_arr+”–”)
Happy coding