Welcome To Snipplr


Everyone's Recent ActionScript 3 Snippets Tagged actionscript



Listen to the Navigation keys and save their values in local Booleans
2 697 posted 13 years ago by JaaQ
as3query written by nitoyon. http://tech.nitoyon.com/blog/2008/01/as3query_alpha.html Package download: http://bit.ly/as3query
0 616 posted 13 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 552 posted 13 years ago by adamcoulombe
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 673 posted 13 years ago by StevenW721
This is the standard code needed when connecting to a media server.
1 572 posted 13 years ago by bshantz
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 738 posted 13 years ago by adamcoulombe
The Navigation class is a view that contains all the two navigation arrows, ie. left and right.
0 438 posted 13 years ago by derrekwayne
The Controller class handles user gestures through navigation logic and updates the Model.
0 469 posted 13 years ago by derrekwayne
The Content class is a view that listens to the model.
0 431 posted 13 years ago by derrekwayne
The singleton model extends EventDispatcher and fires events when it is updated by the controller.
0 575 posted 13 years ago by derrekwayne
The Main class uses the MCV design pattern. The entire flash embed responds to mouseover with the engage function.
0 387 posted 13 years ago by derrekwayne
Simple grid layout technique in actionscript 3. Check out the demo and more details at http://adamcoulombe.info/lab/as3/gridlayout.html
3 961 posted 13 years ago by adamcoulombe
Permet d'appliquer un lissage à la video, lue dans un composant FLVPlayback. Ne pas oublier d'importer la classe : import fl.video.*;
0 477 posted 13 years ago by ions
Description & download at http://adamcoulombe.info/lab/as3/jellybox.html
2 851 posted 13 years ago by adamcoulombe
Permet d'ajuster la taille d'une image ou swf en fonction de son ratio et de celui de son conteneur.
1 526 posted 13 years ago by ions
A simple demo that shows how to pan from one side of an object to another dynamically in actionscript 3. demo at: http://www.adamcoulombe.info/lab/as3/sliderbox.html
6 776 posted 13 years ago by adamcoulombe
This is a demo of a halftone effect for AS3. It requires a halftone filter file. You can download all the files required for this at http://www.adamcoulombe.info/lab/as3/halftone/
2 838 posted 13 years ago by adamcoulombe
A quick and easy function to convert seconds into easily readable time. (90 seconds = 01:30)
1 713 posted 13 years ago by cessnajumpin
Ever have to make a swf that needs to change height? Want to use the browser's scrollbar instead of having to create one in flash?
0 473 posted 14 years ago by cessnajumpin
As of revision 11031 of the Flex 4 SDK compression is supported inline with the embed metadata tag.
0 436 posted 14 years ago by aphex
Allows easy usage of Fonts and TextField/TextFormat creation.
1 601 posted 14 years ago by edwardhotchkiss
Based on the following references: http://not-equal.blogspot.com/2006/08/upload-file-as3-php.html http://www.thedanosphere.com/?p=76 I created a simple file manager class that I will be extending in the near future for an AIR App I...
0 753 posted 14 years ago by alvincrespo