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
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
If you were using AS3.0 you could use the
flash.display.LoaderInfo.actionScriptversion property.
Wait--no, that only distinguishes 1.0 and 2.0 from 3.0. You could use
the swfVersion property, though. Why exactly do you need to detect this?
―
Mike Keesey
-Original Message-
From: [EMAIL
3 matches
Mail list logo