Nov
9
Sequencing in ActionScript 3

Write an XMLLoader, wait for an event.  Parse the xml, wait for some event.  Start up some animations, wait for an event.  Show some images. wait for an event.  Sounds pretty tedious doesn’t it?   Well if you’ve ever gotten tired of sequencing things here’s a simple class for you.

Read the rest of this entry »

filed under: ActionScript, Misc, Scripts | comments (4) | read more...

Nov
9
LibraryManager – centalized library asset management

Ever find that you have about 4350823498 different MovieClips in your library that you would like to ‘attach’ ? Yeah yeah it’s not attach in AS3 but you know what I mean! Anyways this was inspired by a code snippet I first read on Blitz Agency’s blog but have seen in many shapes and form since. So here’s my version of using getDefinitionByName with string constants to help centralize things.

Read the rest of this entry »

filed under: ActionScript, Scripts | comments (0) | read more...

© 2012 pajamacode | Theme by DemusDesign, Theme Lab, and Search Optimization | Powered by WordPress