Welcome To Snipplr


Everyone's Recent ActionScript 3 Snippets Tagged class



« Prev 1 Next »
A complete example of how we can create a Preloader in actionscript3 to load an external .swf file. STRUCTURE ------------------ Source Swf |_ Main.fla |_ Main.as |_ Main.swf Preloader Swf |_
0 903 posted 11 years ago by jquery404
Credit goes to Bruno Imbrizi.
0 914 posted 11 years ago by adrianparr
a handy class to manage facebook connections using as3
0 942 posted 12 years ago by Matias
simple as3 class that help you to avoid repeat add MouseEvent each time
0 797 posted 12 years ago by mgraph
These two classes demonstrate how to create an external font SWF that contains embedded fonts, and how to then load that external font SWF and access and use the fonts inside it.
0 1157 posted 12 years ago by adrianparr
All credit for this class goes to Ben Kanizay (http://bk4d.com)
0 716 posted 12 years ago by adrianparr
This function returns a new instance of the class it receives.
2 730 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 1118 posted 13 years ago by adrianparr
1 607 posted 13 years ago by hejaaa
Just add a method like this in a Class that needs to call methods dynamically, without a prior knowledge of whether they exist or not.
0 589 posted 13 years ago by jayarjo
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 565 posted 13 years ago by Activetuts
2 643 posted 13 years ago by imake
Here is a template button class, ive been using for my projects. Cheers!
0 834 posted 14 years ago by alvincrespo
The ColorMatrix class by Grant Skinner allows you to modify the Brightness, Contrast, Saturation and Hue of a DisplayObject.
0 710 posted 14 years ago by adrianparr
This is a handy starting point when creating a new DocumentClass. This is also available from Lee Brimelow's Snippets Panel ... New Snippets Panel Extension for Flash CS3! http://theflashblog.com/?p=336 Flash CS3 Snippets Panel Updated htt...
0 675 posted 14 years ago by adrianparr
This handy String Utils class was written by Ryan Matsikas at gSkinner.com I take no credit for it. A ZIP file containing 'StringUtils.as' can be downloaded from here ... http://www.gskinner.com/products/downloads/AS3StringUtils.zip
2 846 posted 14 years ago by adrianparr
0 524 posted 14 years ago by alejandromb
0 504 posted 14 years ago by alexaivars
Easily create a SINGLE USE ONLY (Singleton) Class Object with this template.
1 713 posted 14 years ago by allnatural
Just a bare-bones DocumentClass template I use.
1 549 posted 15 years ago by allnatural
How to create a basic class in AS3 and extend it if needed.
3 802 posted 15 years ago by 1man
« Prev 1 Next »