Welcome To Snipplr


Everyone's Recent ActionScript 3 Snippets



1 ... 12 13 14 15 16 ... 19
0 1348 posted 16 years ago by alejandromb
3 1929 posted 16 years ago by arpit
demo: http://www.adamcoulombe.info/lab/as3/360-spin-hover.html FLA: http://www.adamcoulombe.info/lab/as3/360-spin-hover.fla requires tweenlite
1 2497 posted 16 years ago by adamcoulombe
Spotlight Navigation effect using AS3 and Tweenlite Demo: http://www.adamcoulombe.info/lab/as3/spots_test.html FLA: http://www.adamcoulombe.info/lab/as3/spots_test.fla
2 2416 posted 16 years ago by adamcoulombe
0 1315 posted 16 years ago by rvachere
Add the code at the first frame.
0 1477 posted 16 years ago by nalmeida
This is a snippet that will animate in a circle in a clockwise fashion based on the parameters the function is passed. It can be used to create a circular or clock wipe when used as a mask.
2 2181 posted 16 years ago by sottenad
2 1831 posted 16 years ago by forchid
1 1457 posted 16 years ago by adrianparr
Lee Brimelow show's how to smooth an image that is loading from Flickr.
1 1638 posted 16 years ago by chrisaiv
Paste this into your AS file to add focus and blur events to your text/form fields. If your field contains YOUR DEFAULT MESSAGE when focus is brought to it, it will erase itself, to be ready for text entry. If focus is lost while the field is complet...
0 1825 posted 16 years ago by Winkyboy
Handy function for converting milliseconds to video timecode
1 2095 posted 16 years ago by nate63179
A simple class and event which can be used to load external assets
1 1559 posted 16 years ago by nate63179
The source below is the function from the website with the corrected regular expression found in the site's comments. This is a nigh-one-line function for validating a string as an email address.
4 2275 posted 16 years ago by Winkyboy
Retrieves a filename from a complete url
4 1851 posted 16 years ago by nate63179
This is an AS3 version of the banner template I created a while back in AS2. The code has been placed in the accompanying banner.as file, with the exception of a little bit of code within the dynamically-centering button you'll see placed on the stag...
0 1626 posted 16 years ago by Winkyboy
AS3 does some weird things with HTML. Here are a few ways to handle common problems. The worst offender that many people encounter is double carriage returns. Regex those nasty buggers into oblivion (aka \n)!
0 1598 posted 16 years ago by trevorhartman
This uses the button's instance name to assign functions. Instead of using a bunch of event listeners, you can use one function to delegate actions according to the button's instance name.
0 1301 posted 16 years ago by MacEvelly
0 1276 posted 16 years ago by alexaivars
1 ... 12 13 14 15 16 ... 19