Is there anyway to tell where an actionscript class is loaded from (i.e. what swf file) at runtime? I've had a look at some of the reflection api's and some of the sample code but none seem to address this. I'm originally a Java developer and this is a fairly straightforward call. For any java developers who may be viewing this if I may I'll put in the java for which I'm looking for the equivalent actionscript if possible.
This will give me the location jar/folder path from where the String class is loaded for the particular thread.
Any help would be greatly appreciated,
No official API, but there is a getSWFRoot on SystemManager that might help.