Grab the source of any and all the examples in the book here! Note that some examples here consolidate a series of short snippets. See the help page if you aren't sure what to do with the code.
All the example code in the book, in one place. Run this code on your own computer with Flash Builder, Flash Professional, the Flex SDK, or the IDE of your choice.
Please note that many examples extend the com.actionscriptbible.Example
class in order to direct trace()
output to the stage. If you are running this code yourself and can see trace()
output in your console, you can freely replace Example
with Sprite
. Alternatively, you can download the missing com.actionscriptbible.Example
class here. Make sure to place it in a com/actionscriptbible/
subdirectory of your source folder.
The best way to play with example code is through our partner Wonderfl. Using Wonderfl, you can run, download, and even edit the code with one click, in your browser, with no software or setup required. Simply enter in the URL in the book, such as http://actionscriptbible.com/ch37/ex5.
These are some of my favorite examples from the book. Check 'em out!