built a game banner which published to flash 7. requirements included being <130 k with a <100 k second load. posted it here.
have always used as2 on an as-needed basis, but decided this time to operate on it. open it up. see how it works. or doesn’t work. dragged as2 screaming into the year 2008. into the light.
the utility classes i found, modified, or extended are useful for anyone coming from an object-oriented background:
- DocumentUtil allows you to specify a Document class (aka Main class). :: Ryan Taylor @ boostworthy.com
- BezierTween creates beziers using little phrases that even Flash 7 can compile. :: Felix Turner @ airtightinteractive.com
- MovieClipBubbler bubbles as2 MC events. it is not simpler to use than an Event Broadcaster. it does have performance benefits over an Event Broadcaster. :: Ralf Bokelberg @ helpqlodhelp.com
- Hitbox is an essential extension of MovieClipBubbler, at least in concept. you should take my implementation and twist it to your ends. using Hitbox avoids having to draw zero-alpha’d Hit areas on all your MovieClips. in simplest execution, the MovieClip in your Library links to Hitbox (rt-click/Linkage/’Export for ActionScript’/Base Class).