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 1150 posted 15 years ago by Winkyboy
Easily create a SINGLE USE ONLY (Singleton) Class Object with this template.
1 861 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 1108 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 994 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 725 posted 15 years ago by GarthDB
I always forget how to implement a button with active mousecursor....
0 664 posted 15 years ago by pfeisinger
I convert the google pr fetch code from php to actionscript.
2 835 posted 15 years ago by zhengrenchi
Add this to your Utilities class and use it like Utilities.moveToTop(your_clip);
2 824 posted 15 years ago by ozke
1 584 posted 15 years ago by lzyy
Easy little script to grab the current frame's BitmapData from a Video()
2 953 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 2844 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 809 posted 15 years ago by publicbroadcast
Just a bare-bones DocumentClass template I use.
1 683 posted 15 years ago by allnatural
0 669 posted 15 years ago by allnatural
Use this to dynamically copy objects.
0 755 posted 15 years ago by allnatural