HuggerFanta
Technical User
Hello!
Im trying to load a text file to my flash movie!
When doing it in a standalone movie, it works fine.
But when loding doing it in a movie with several layers, a main movie that load external movies. A navigation in level5 and info movies in level1. then in some of the movies there are video loaded in level3.
Now when trying to load an external txt file in the movie that are going to be loaded in level2 nothing happens.
Here is the code that Im using to load the external movies in level1 (on the buttons):
on(press){
_level0._root.ladda = ("AnnonsInfo.swf"
;
_level1.gotoAndPlay ("slutet"
;
}
ladda = a container holding the file namn that are going to be loaded. when already loaded file is going to be changed.
And in the movie the following code are attached:
for a image:
_root.createEmptyMovieClip("image", 2);
loadMovie("kundtjanst.jpg", "image"
;
image._x = 430 ;
image._y = 420 ;
for a video file:
_root.createEmptyMovieClip("movie", 3);
loadMovie("AnnonsFilm.swf", "movie"
;
unloading the video at the end;
movie.unloadMovie()
loading next movie:
loadMovieNum(_level0.ladda, 1);
Can anyone help me with this????
--------------------------------------
Kind regards;
HuggerFanta
Im trying to load a text file to my flash movie!
When doing it in a standalone movie, it works fine.
But when loding doing it in a movie with several layers, a main movie that load external movies. A navigation in level5 and info movies in level1. then in some of the movies there are video loaded in level3.
Now when trying to load an external txt file in the movie that are going to be loaded in level2 nothing happens.
Here is the code that Im using to load the external movies in level1 (on the buttons):
on(press){
_level0._root.ladda = ("AnnonsInfo.swf"
_level1.gotoAndPlay ("slutet"
}
ladda = a container holding the file namn that are going to be loaded. when already loaded file is going to be changed.
And in the movie the following code are attached:
for a image:
_root.createEmptyMovieClip("image", 2);
loadMovie("kundtjanst.jpg", "image"
image._x = 430 ;
image._y = 420 ;
for a video file:
_root.createEmptyMovieClip("movie", 3);
loadMovie("AnnonsFilm.swf", "movie"
unloading the video at the end;
movie.unloadMovie()
loading next movie:
loadMovieNum(_level0.ladda, 1);
Can anyone help me with this????
![[shadessad] [shadessad] [shadessad]](/data/assets/smilies/shadessad.gif)
Kind regards;
HuggerFanta