Welcome To Snipplr


Everyone's Recent ActionScript 3 Snippets Tagged object



« Prev 1 Next »
Sorts an array of objects using the native sortOn method
0 985 posted 12 years ago by Narayon
0 490 posted 12 years ago by okhy
I create this recursive function to remove and null all children inside a display object container.
0 879 posted 12 years ago by radykal
For this to work you need the as3corelib classes from here ... https://github.com/mikechambers/as3corelib
0 2377 posted 12 years ago by adrianparr
This function will delete and object and mark it for deletion with gc.
0 786 posted 13 years ago by scottwatkins
This function returns a new instance of the class it receives.
2 728 posted 13 years ago by JaaQ
Here is an example of a sound that is in a library with the class field set to MySound.
0 1116 posted 13 years ago by adrianparr
Credit for this goes to Terry Paton
3 606 posted 13 years ago by adrianparr
see http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/statements.html?filter_flex=4.1&filter_flashplayer=10.1&filter_air=2#for..in for details
1 1140 posted 13 years ago by martin9999uk
How to create a delete effect inspired by the iPhone iOS interface. By Carlos Yanez.
0 549 posted 13 years ago by Activetuts
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 693 posted 13 years ago by carbonr
The cleanest and most compact way I\'ve seen to empty out a display object.
2 724 posted 13 years ago by bshantz
Basic way to sound controlling in a swf
0 349 posted 13 years ago by one984
Notes to self: re-use this for other projects
0 1149 posted 14 years ago by abbey
Use this to dynamically copy objects.
0 618 posted 15 years ago by allnatural
« Prev 1 Next »