Welcome To Snipplr


Everyone's Recent ActionScript 3 Snippets



1 ... 6 7 8 9 10 ... 19
vLarger - Larger array vSmaller - Smaller array
2 1941 posted 15 years ago by jaredyeo
5 1960 posted 15 years ago by jaredyeo
No need for a stopMove(), this is handler automatically.
1 2882 posted 15 years ago by dyteq
This snippet is used for the blog post called Arithmetic Operators in Flash and ActionScript 3.0, which can be found at http://www.brettwidmann.com/2010/10/arithmetic-operators-in-flashactionscript-3-0 which is set to publish on November 1, 2010.
0 2383 posted 15 years ago by goatboy91587
For your Air for Android application to properly close you need to define some handlers and respond to them.
0 2385 posted 15 years ago by sidneydekoning
Demo, info & FLA download at http://adamcoulombe.info/lab/as3/card-flip.html
4 2582 posted 15 years ago by adamcoulombe
Single line to get the package path of the current class path (package)
1 1984 posted 15 years ago by dyteq
More information, Demo & FLA file download at http://www.adamcoulombe.info/lab/as3/spiral-gallery.html
1 1917 posted 15 years ago by adamcoulombe
[Inspectable] metada
0 1228 posted 15 years ago by corporem
return a random color
1 1948 posted 15 years ago by Empreintes
demo and FLA file at http://www.adamcoulombe.info/lab/as3/screen-to-screen.html
2 2116 posted 15 years ago by adamcoulombe
This creates a scribble mouse trail effect. More importantly, it illustrates how you can easily use the greensock bezier plugin for TweenMax to actually draw bezier curves.
0 1840 posted 15 years ago by adamcoulombe
simple way to make an orbiting effect in flash with as3
0 1677 posted 15 years ago by adamcoulombe
Using class files sets your code free. And it’s really no harder than coding on the timeline; it just involves a little more setup.
0 1732 posted 15 years ago by Activetuts
If you ever wanted to add padding to a Text Input instance, use the \"textPadding\" Style under the Text Input Class like so.
2 2220 posted 15 years ago by jafar
This snippet will help create a flashSharedObject a.k.a Flash Cookie, which much better than conventional cookies since they remain through all browsers and cannot be erased by the user using traditional cookie erasing methods
3 2131 posted 15 years ago by carbonr
This is an event class that lets you package related events together and send custom data with the event, very useful for MVC applications.
2 2516 posted 15 years ago by bshantz
The cleanest and most compact way I\'ve seen to empty out a display object.
2 2150 posted 15 years ago by bshantz
Using the webcam in AS3 is super easy. You just need to attach the camera class to a video instance. This is a class that extends the video component for easily implementing a webcam display.
4 2502 posted 15 years ago by bshantz
This is the standard code needed when connecting to a media server.
1 1673 posted 15 years ago by bshantz
1 ... 6 7 8 9 10 ... 19