Scene Loop again

This is a discussion on "Scene Loop again" within the Flash & Multimedia Forum section. This forum, and the thread "Scene Loop again are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Sep 25th, 2007, 09:11
Junior Member
Join Date: Sep 2007
Location: Bristol, UK
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Scene Loop again

Can anyone tell me what code I need to put in the last frame of a loaded external swf that will unload it and then drop me back into scene 1, frame 1?

The external swf is being loaded from frame 1 of scene 2 on the main stage. This is to get around a problem I am having loading above a main stage that has a mask on it. The swf loads up fine. However, when the timeline reaches the last frame I have some code on it that I want to unload itself and gotoandplay scene 1, frame 1. The code I have been trying is;
code//

stop();
unloadMovie(1);
function(){
_root.gotoAndPlay("scene1",1);
}

//code

But this just seems to drop me back into scene 2. Where am I going wrong? Is there another way to do this?

I have uploaded the experiment files I am using so that you can see what I am trying to do.

Thanks for any help.

Tom.
Attached Files
File Type: fla jumpto.fla (90.0 KB, 4 views)
File Type: fla gallery1.fla (738.5 KB, 4 views)
Reply With Quote

Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
scene syntax Rick Flash & Multimedia Forum 5 Sep 27th, 2007 21:25
Scene loop monkeygraphik Flash & Multimedia Forum 2 Sep 23rd, 2007 17:56
goto frame then jumpto scene tigas langaw Flash & Multimedia Forum 5 Jul 18th, 2007 14:41
How to link to a scene with a popup menu? Learner Flash & Multimedia Forum 7 Jul 18th, 2007 02:03
preloading one scene at a time gwx03 Flash & Multimedia Forum 7 Sep 6th, 2003 17:06


All times are GMT. The time now is 20:18.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43