Actionscript simple objects

var plane:Object = new Object();
plane.pitch = 0;
plane.roll = 5;
plane.yaw = 5;
 
trace(plane.pitch);
//0

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.