[FONT=Times New Roman][SIZE=3]I need my external.swf start loading with the delay while pressing the same button. [/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3]I use the following script for my button ( the buttons are in the movie clip - buttons):[/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]
[SIZE=3][FONT=Times New Roman]on (release) {[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] this.createEmptyMovieClip(“empty”,99)[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] }[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman]on (release) {[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] if (_root.intro._currentframe>=39) {[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] _root.empty.loadMovie(“external.swf”);[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] }[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman]}[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman]on (release) {[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] if (_root.intro._currentframe<=37) {[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] _root.empty.gotoAndPlay(1);[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] }[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman]}[/FONT][/SIZE]
[FONT=Times New Roman][SIZE=3][/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3]and this one on the on the 42 frame of empty movie clip timeline:[/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]
[SIZE=3][FONT=Times New Roman]onEnterFrame(42);{[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman]_root.empty.loadMovie(“external.swf”)[/FONT][/SIZE]
[FONT=Times New Roman][SIZE=3]}[/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3]But I need to use the same 42 frame for the other buttons to load other external.swf files. Is there is a possibility to make a code which I can apply to my button and which will load my external.swf in the 42 frame of the empty movie clip and wait for 42 frame to play it?[/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3]Thank you in advance.[/SIZE][/FONT]