AS3 Utility Classes


InteractivePNG

Like magic, transparent parts of a PNG in your MovieClip are ignored during mouse interactions!   Demo   Docs  Download Zip


Go ActionScript Animation Platform (GoASAP)

Go is a lightweight, portable codebase for building AS3 animation tools. It offers structure and core functionality, but leaves the details to you.

GoASAP
www.goasap.org



AS2 Utility Classes

The Fuse Kit

  • ZigoEngine + Fuse Kit Powerful script-driven animation & event-sequencing tools.
    Home of the latest official updates to Ladislav 'Laco' Zigo's lmc_tween package.
    Visit Fuse site >



  • CallbackDispatcher 2.0 Updated January, 2006 Download
    Scopes all standard MC, Button, and TF callbacks (onRollOver, onScroller, etc.) back to your class using easy syntax like:
    my_mc.addEventListener ('onRollOver', this);
    function onRollOver(o:Object)... // handler in this scope


    This easy system keeps you from having to write a bunch of references and callbacks into simple button clips. When used with Delegates it also enables the grouping of callbacks into a single uniquely named event handler. If non-Delegated callbacks are scoped back to a class that extends MovieClip, easily avoid overlap by setting the PREFIX class property. For example,
    CallbackDispatcher.PREFIX = 'event_';
    function event_onRollOver(o:Object)...


  • BadassXML Download
    Define an evtXMLLoad handler into a listener object or in your working scope, then create & load an XML object with just one single line of code. The event object received includes:
      target: (the XML object),
      type:'evtXMLLoad',
      path: (the path to the file loaded),
      success: (Boolean),
      timeout: (Boolean - you can set the timeout property per instance, default is 5 sec.)

    A progress event, evtXMLProgress is also fired off every 33ms with the params:
      target: (the XML object),
      type: 'evtXMLProgress',
      bytesLoaded: (Number),
      bytesTotal: (Number),
      percent: (Number 0-100 but never NaN or undefined)

Other AS2 utilities you'll find invaluable

 

©2008 Moses Gunesch | Moses Supposes.com