Programming, web design
video editing & more  
Program 2 Anything

 © 2010 - 2017 Program 2 Anything - www.program2anything.com - privacy policy

Integrated IT solutions and
one to one and small group tuition
Holt, North Norfolk, United Kingdom
Tel: (01263) 839000

3D In ActionScript

In the past, 3D could be implemented in ActionScript, but required that you download and learned to use a separate 3D package. With AS3 this all changed! Out of the box, 3D is supported! Here we present a minimal example of what can be done with this inbuilt 3D support. Use the arrow keys - watch the different layers move maintaining the correct perspective. All done with about 40 lines of code! Most games and applications don’t require any additional 3D support.


I’m no 3D expert, but I knocked this up in an afternoon. Ten years ago, this would probably have taken an experienced programmer at least 6 months to get working!


Click anywhere in the image, then you can use the arrow keys to watch the 3D effect.