I am new to flex , so this might sound to be a basic question but couldnt find a workaround for this.
My questions are in 2 parts . I am using Flex 4.1 sdk and AS3 . I have a simple application which loads 2 module using the tabnavigator
1) When I am executing a actionscript , is there a way to judge at runtime wether this action script is a part of the main application or lies inside one of the module?
2) Is there a way to get the corrosponding swf file name of the module or application under which the respective Action script file is executing.
Please let me know if you require any further info from my side.
There are some tricks with a debug SWF, but not a production one.