Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

_level1.gotoAndStop problem 1

Status
Not open for further replies.

jzauner

Technical User
Feb 21, 2006
22
US
I'm using, unsuccessfully, these two lines of code to load an external .swf file called bag.swf and have it start on the frame "trunk":


on (release) {
loadMovieNum("/site/flash/bag.swf", 5);
_level5.gotoAndStop("trunk");
}


Any suggestions are appreciated.
 
That won't work. You can't use both lines on the same actionscript... The external movie needs to be fully loaded, before it can be re-directed to some particular frame...

Sorry, I've been quite busy... I'll try to mail you the .flas I talked about earlier, this afternoon...

Regards. Web Hosting - Web Design
03/13/05 -> OLDNEWBIE VS FLASHKIT
 
I've stumbled across this on the net:

on (press) {
loadMovieNum("filename.swf",1);
}
on (release) {
with (_level1) {
gotoAndPlay ("labelname");
}
}


Have not tried it yet, but I'll post the result when I do.

 
That would also only work when the loaded movie is fully loaded... As I said you can't target a frame in a movie that doesn't exist yet, and it only exists when it's fully loaded.

Just mailed you my .flas...

Regards. Web Hosting - Web Design
03/13/05 -> OLDNEWBIE VS FLASHKIT
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top