Welcome To Snipplr


Everyone's Recent ActionScript 3 Snippets



1 ... 7 8 9 10 11 ... 19
A simple gallery to build upon.
0 1184 posted 15 years ago by Kristain
1 2534 posted 15 years ago by online
source: http://corlan.org/2010/08/30/about-air-android-permissions/
1 1745 posted 15 years ago by BoNzO
http://leongaban.com/com/leongaban/Snipplr/Model/Fonts.as
1 1209 posted 15 years ago by leongaban
Here is a Document Class that loads an external XML file.
2 1852 posted 15 years ago by adrianparr
This function trims a string and removes empty entries in a comma delimited list, removes extra commas from the beginning and end and also remove extra space characters between words.
1 1639 posted 15 years ago by adrianparr
Demo + FLA Download:http://www.adamcoulombe.info/lab/as3/PolkaDot-Hover-Repulsion-Effect.html .................. This demo uses Arnaud Icard's Traer AS3 port for physics to simulate repulsion. Each polka-dot will be repelled from the polka dot that y...
2 1638 posted 15 years ago by adamcoulombe
The Navigation class is a view that contains all the two navigation arrows, ie. left and right.
0 1014 posted 15 years ago by derrekwayne
The Controller class handles user gestures through navigation logic and updates the Model.
0 1080 posted 15 years ago by derrekwayne
The Content class is a view that listens to the model.
0 996 posted 15 years ago by derrekwayne
The singleton model extends EventDispatcher and fires events when it is updated by the controller.
0 1294 posted 15 years ago by derrekwayne
The Main class uses the MCV design pattern. The entire flash embed responds to mouseover with the engage function.
0 905 posted 15 years ago by derrekwayne
Format number using a comma as a separator
3 1642 posted 15 years ago by Tmeister
A handy little function to dynamically draw a black dot on the stage (or displayObject). This can be useful if you want to see where 0,0 is located.
2 2875 posted 15 years ago by adrianparr
Used for the blog post: http://www.brettwidmann.com/2010/08/flash-primitive-data-types
0 1718 posted 15 years ago by goatboy91587
Used for the blog post: http://www.brettwidmann.com/2010/08/flash-primitive-data-types
0 1500 posted 15 years ago by goatboy91587
Run through infinite xml child nodes.
1 1141 posted 15 years ago by dxc381
Simple grid layout technique in actionscript 3. Check out the demo and more details at http://adamcoulombe.info/lab/as3/gridlayout.html
3 2611 posted 15 years ago by adamcoulombe
All credit for this goes to iheartactionscript.com I'm just copying it here so I won't have to remember where I found it
0 946 posted 15 years ago by cessnajumpin
syntax: roundToNearest(45, YourValueHere);
1 1442 posted 15 years ago by Winkyboy
This code traces out the name (and display list path) of the object that currently has focus. This handy when you are testing the tab order and you can't see a yellow rectangle anywhere.
2 1220 posted 15 years ago by adrianparr
0 1227 posted 15 years ago by Drakkon
1 ... 7 8 9 10 11 ... 19