I can't really compile it using the AS 2.0 setting. The code base is huge and it would create a lot of compiler errors and ripple effects throughout the system. Alas, compiling it strictly with AS 1.0 is the requirement here.
Randy Troppmann <[EMAIL PROTECTED]> wrote: I am a big fan of EventDispatcher! If you are using Flash MX2004 or later you can use AS2.0 (class based or not) to code. It all compiles down to AS1 code within the swf when you publish. You can set the target flash player in publish settings to an earlier version to accomodate the most users (Flash 8 player sits around 60% acceptance at this time I believe). Some new features and classes are not backwards compatible, and Flash will warn you of these when you publish. You are safe if you want to write your application using an AS2.0 class based framework and publish back to Flash 6 compatibility. This includes EventDispatcher. Randy Troppmann On 4/17/06, Boon Chew wrote: > Hi all, I recently have had to work on some AS1.0 code (a requirement is that > the code must be published with AS 1.0 compiler). Since EventDispatcher is > not available in AS 1.0, I modified mx.events.EventDispatcher to work with in > AS 1.0 mode, and make EventDispatcher available in global namespace, since > it's not intrinsic like AsBroadcaster is. I have been able to use > EventDispatcher like I can in 2.0. Curious though, is there any downside or > potential caveat to using EventDispatcher in strictly AS 1.0 that I should be > aware of? > > Thanks much. > > > > > > > > --------------------------------- > Blab-away for as little as 1ยข/min. Make PC-to-Phone Calls using Yahoo! > Messenger with Voice. > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com --------------------------------- New Yahoo! Messenger with Voice. Call regular phones from your PC and save big. _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com