Braden Dawson
Braden Dawson

Reputation: 31

How to detect the Actionscript of a SWF File?

If I have just a SWF file but not the .FLA file, how can I detect which AciontScript the SWF file was built in?

Having difficulty in working out if my SWF file was built in AS2 or AS3

Upvotes: 1

Views: 4491

Answers (1)

user2339071
user2339071

Reputation: 4310

Suggested Methods:

This will be true if the AS is AS1 or AS2 and false if AS3.

P.S. : If you want to use it in an application there is a SWFReader.as that gets almost any information out of a SWF. The source is located at : http://www.senocular.com/flash/actionscript/?file=ActionScript_3.0/com/senocular/utils/SWFReader.as

Upvotes: 5

Related Questions