Link to home
Start Free TrialLog in
Avatar of acekz
acekzFlag for United States of America

asked on

Reading the Flash Movie filename dynamically from within the movie

Is there a way to grab the name of the .swf file from inside the Flash movie?  Like "this._name" (which I already tried and it did not work) so that I can read in the name of the .swf in order to match it with the appropriate text file?
ASKER CERTIFIED SOLUTION
Avatar of mr_asphalt
mr_asphalt

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mr_asphalt
mr_asphalt

Um, yes, actually.

try the following:
trace(_url);
trace(_url.substring(_url.lastIndexOf("/") + 1));
Hi acekz,

did this answer your question?