banner ad
Wednesday, February 21, 2007
3D sphere in ActionScript 3

I rewrote the 3D sphere v1 post in AS3. Coding in ActionScript 3 is not much different as far as the mathematics and functions goe. Though you will notice all the extra sythax and coding necessary to acheive the same effect.  It's all worthit though; AS3 compiles using AVM2 (ActionScript Virtual Machine 2) and the code runs much much much faster.  You can  run both side by side and notice how fast teh AS3 is even when it has double the amount of clips to render.

This experiments was compiled using the Adobe Flash 9 public alpha. You will need the flash 9 pluggin to view this.  Adopting a spiking aproach I am posting the code as a single document class.  If you are unfamiliar to AS3 and the document class, I suggest :

- Downloading : Adobe Flash 9 public alpha
- Reading Exploring the flash professional 9 ActionScript 3.0 Preview.

More AS3 code will  be availble on the reflektions.com | miniml source file collection CD.


»comments

Dustin said...

Hey Paul,

I've been reading your site for quite a while now. I can't believe the amount of experiements you do. Thanks for sharing the code too. If / When I need to do something simular I will come donate and grab the .fla


forum said...

Great experiment.
thanks so much!


bjyitu said...

good job!thx!


Name
URL
Email
*email address is not published
Remember Me
Comments

CAPTCHA






banner ad