Welcome To Snipplr


Everyone's Recent ActionScript 3 Snippets



A dynamic text field doesn't like to be set to bold (or italic, whatever). You can get around this issue by creating a text format in actionscript and setting that field's format to this newly-created one. This is only good for having a text field...
1 1016 posted 14 years ago by Winkyboy
Easily create a SINGLE USE ONLY (Singleton) Class Object with this template.
1 734 posted 15 years ago by allnatural
https://www.chrisjmendez.com/2004/09/27/jquery-converting-all-the-items-in-a-select-element-into-a-string-array/
0 960 posted 15 years ago by chrisaiv
This describes how to embed font in to Flex(mxml) file without using the <mx:style> tag (fully AS3).
1 819 posted 15 years ago by shabith
This is an example of how to define a default skin in a component written in ActionScript 3 that extends a spark component.
0 591 posted 15 years ago by GarthDB
I always forget how to implement a button with active mousecursor....
0 521 posted 15 years ago by pfeisinger
I convert the google pr fetch code from php to actionscript.
2 692 posted 15 years ago by zhengrenchi
Add this to your Utilities class and use it like Utilities.moveToTop(your_clip);
2 702 posted 15 years ago by ozke
1 463 posted 15 years ago by lzyy
Easy little script to grab the current frame's BitmapData from a Video()
2 807 posted 15 years ago by allnatural
TextExpander is a great Mac tool that expands special abbreviations typed anywhere in the OS into useful snippets of text. One of the AppleScript snippets included shortens a URL in the clipboard using the bit.ly URL-shortening service. You copy the...
2 2437 posted 15 years ago by Todd
This snippet uses the as3corelib which you can download on this page: http://code.google.com/p/as3corelib/
3 679 posted 15 years ago by publicbroadcast
Just a bare-bones DocumentClass template I use.
1 568 posted 15 years ago by allnatural
0 553 posted 15 years ago by allnatural
Use this to dynamically copy objects.
0 629 posted 15 years ago by allnatural