Welcome To Snipplr


Everyone's Recent ActionScript 3 Snippets



1 ... 5 6 7 8 9 ... 19
0 1176 posted 14 years ago by jaredyeo
Efficiently returns the filename by a given URL
0 1263 posted 14 years ago by uudens
All credit for this class goes to Mark Walters (www.yourpalmark.com) This class needs to be put in the package structure "com/yourpalmark/utils"
0 1425 posted 14 years ago by adrianparr
Simple snippet to check is Flixel's flxObjects position according to a rectangle. It will return true if it's inside the rectangle, false if not. Very basic primitive box collision checking.
0 1140 posted 14 years ago by godstroke
Simple manager that loads display objects via single method call and caches loaded objects
0 2362 posted 14 years ago by kuril
These five characters should be replaced with their HTML entity names before being used in XML, otherwise they may cause the XML to be invalid.
0 1839 posted 14 years ago by adrianparr
This makes use of http://www.minimalcomps.com, https://github.com/mikechambers/as3corelib and http://alivepdf.bytearray.org
2 2326 posted 14 years ago by adrianparr
This seems to be a bug.. or not.. But explains how to fix it anyway.
0 1350 posted 14 years ago by godstroke
as3query written by nitoyon. http://tech.nitoyon.com/blog/2008/01/as3query_alpha.html Package download: http://bit.ly/as3query
0 1232 posted 14 years ago by adamcoulombe
as3query written by nitoyon. http://tech.nitoyon.com/blog/2008/01/as3query_alpha.html Package download: http://bit.ly/as3query
0 1070 posted 14 years ago by adamcoulombe
This can be used to help load, play and monitor playback of external video.
1 1588 posted 14 years ago by adrianparr
1 1541 posted 14 years ago by hejaaa
Sometimes you need special array functions, not build in AS3. Special ArrayUtils class with some static methods can help us :)
5 1515 posted 14 years ago by burnandbass
Sometimes you need to tween a number (for example from 1-100) and to get the number
1 1498 posted 14 years ago by burnandbass
Note: This example uses Arthropod Debugger (AIR App) which can be downloaded from here http://arthropod.stopp.se/
1 1522 posted 14 years ago by adrianparr
based on: http://www.snipplr.com/view/33913/actionscript-seconds-to-standard-time-format/
0 1248 posted 15 years ago by withinmedianl
How to create a delete effect inspired by the iPhone iOS interface. By Carlos Yanez.
0 1200 posted 15 years ago by Activetuts
Short and sweet, add the following two lines where you want to trigger a javascript function. Just change the javascript denoted in the code by "javascriptFunction()" with whatever you want to call. Also jsut in case make sure you have the allowScrip...
1 1335 posted 15 years ago by StevenW721
1067: Implicit coercion of a value of type __AS3__.vec:Vector.<com.Gallery:VOItem> to an unrelated type __AS3__.vec:Vector.
0 1079 posted 15 years ago by alptugan
1 ... 5 6 7 8 9 ... 19