Furthermore, I think I read somewhere (can't remember where) that all code made in AS2.0 is converted to AS1.0 at compile time (classes and methods are converted to prototype-style functions), so even the flash player has no clue wether the code was 1.0 or 2.0.
side-note: my first post on the list, so... Hello everybody =) On 11/9/06, Merrill, Jason <[EMAIL PROTECTED]> wrote:
My limited understanding is all .swfs compile down to bytecode anyway, and it's the Flash player that contains the runtime and inteprets the AS 1.0 or 2.0 bytecode as the case may be, not the .swf, so I don't think that would work. Jason Merrill Bank of America Learning & Organizational Effectiveness >>-----Original Message----- >>From: [EMAIL PROTECTED] [mailto:flashcoders- >>[EMAIL PROTECTED] On Behalf Of Jeff Fox >>Sent: Thursday, November 09, 2006 12:37 PM >>To: [email protected] >>Subject: [Flashcoders] Test if using ActionScript 2.0 >> >>I want to create a test to see if a loaded SWF is compiled in ActionScript 1 >>or 2. I'm assuming I can use an old Flash detection trick and call a method >>that's only supported in ActionScript 2, just not sure which one to call >>exactly. Will that work? Anyone have any ideas or examples? >> >>-Jeff >> >>-- >>Jeff Fox >>[EMAIL PROTECTED] >>_______________________________________________ >>[email protected] >>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 _______________________________________________ [email protected] 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
_______________________________________________ [email protected] 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

