How to display swf/movie file name in the movie?

me sory for my english
i am not so familiar with flash
i need script and some instructions how to:
display my movie file_name
in example “movie-1.swf” or just “movie-1”
inside of my movie
in the text field or something …

Includes the swf extention. Well when I load a movie I usually use the following commands:

[font=Courier New][color=navy]createEmptyMovieClip[/color]([color=blue]“target”[/color], 1);
[color=navy]loadMovie[/color]([color=blue]“myMovie.swf”[/color], [color=blue]“target”[/color]);
target.[color=navy]_x[/color] = 50;
target.[color=navy]_y[/color] = 50;[/font]

OR ELSE if in a new window

[font=Courier New][color=navy]loadMovieNum[/color]([color=blue]“myMovie.swf”[/color], 0);[/font]

I hope the above helps you :slight_smile:


thx 4 replay but i wanted to display a text : “movie-1.swf” inside of the movie-1.swf
(it is the same movie - it is its own file name) but not writed directly by me from keyboard but writed by script so if i change file nami it will be updated automaticly