Welcome To Snipplr
Everyone's Recent ActionScript 3 Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
source: http://corlan.org/2010/08/30/about-air-android-permissions/
1
4219
posted 15 years ago by BoNzO
ActionScript 3
AS3 Trim a Comma Delimited String (e.g. a list of comma separated keywords entered by a user)
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
2257
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
2151
posted 15 years ago by adamcoulombe
The Navigation class is a view that contains all the two navigation arrows, ie. left and right.
0
1542
posted 15 years ago by derrekwayne
The Controller class handles user gestures through navigation logic and updates the Model.
0
1617
posted 15 years ago by derrekwayne
The singleton model extends EventDispatcher and fires events when it is updated by the controller.
0
1877
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
1397
posted 15 years ago by derrekwayne
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
3579
posted 16 years ago by adrianparr
Used for the blog post: http://www.brettwidmann.com/2010/08/flash-primitive-data-types
0
2265
posted 16 years ago by goatboy91587
Used for the blog post: http://www.brettwidmann.com/2010/08/flash-primitive-data-types
0
2039
posted 16 years ago by goatboy91587
Simple grid layout technique in actionscript 3. Check out the demo and more details at http://adamcoulombe.info/lab/as3/gridlayout.html
3
3179
posted 16 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
1404
posted 16 years ago by cessnajumpin
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
1770
posted 16 years ago by adrianparr