mbiro
Programmer
- Nov 20, 2001
- 304
Is there a way to have actionScript 'read' the name of the swf it is in? I have a preloader that loads a second swf. I want to reuse this many times loading different files.
For example, I want to name the preloader playerA.swf and have actionscript that loads a file called playerA1.swf. The actionscript would append a '1' to its own name and look for that file.
Is this possible?
For example, I want to name the preloader playerA.swf and have actionscript that loads a file called playerA1.swf. The actionscript would append a '1' to its own name and look for that file.
Is this possible?