-
Notifications
You must be signed in to change notification settings - Fork 0
Quick and dirty event wireups in AS3
lukesh/hotwire
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Hotwire: Quick and dirty event wireups for AS3 Sample Usage: --- package { import com.lukesh.flash.utils.Hotwire; import flash.display.Sprite; import flash.events.Event; [SWF(width='800', height='800', backgroundColor='#FFFFFF', frameRate='60')] public class HotwireDemo extends Sprite { protected var hotwire : Hotwire; public function HotwireDemo() { super(); hotwire = new Hotwire(this); hotwire.wire(Event.REMOVED, Event.ENTER_FRAME); } public function handleEnterFrame(event : Event) : void { trace("Event.ENTER_FRAME"); } public function handleRemoved(event : Event) : void { hotwire.unwire(); } } }
About
Quick and dirty event wireups in AS3
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published