Scene loop

This is a discussion on "Scene loop" within the Flash & Multimedia Forum section. This forum, and the thread "Scene loop 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 21st, 2007, 09:30
Junior Member
Join Date: Sep 2007
Location: Bristol, UK
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Scene loop

Can anyone help,

In order to get around my previous problem of a mask on the main stage causing problems with the swf files loaded in to levels above it, I came up with an idea. If the buttons under the mask jumped you to a new, blank scene, you could then specify the frame and load the external swf from that frame and it wont be over the "mask".

So, on the button i have;
//code
on (press) {
gotoAndPlay("scene2",1);

}
//code

and then on scene 2, frame1 i have;
//code
Stop();
loadMovie("gallery1.swf",2);
//code

this work fine. However, a " back " button brings you out of the loaded
" gallery.swf ", and I have code on the last frame to unload the swf;
//code
Stop();
unloadMovie(2);
//code

But, this just drops me back into "blank" scene2. I doesn't, however, seem to continuously "loop" round and around. Its just a blank stage.

My question is how do I tell "gallery1.swf" to drop back into "scene1" not "scene2" at level 0 ? Do I need to set up a loop in scene2 to do this. If so, how do I do it? What code should I be putting on the last frame of the loaded " gallery1.swf" ?.This may be a really simple problem, I just cant see the wood for the trees! If I can get this system to work, I may have solved my problem.

Thanks,

Tom.
Reply With Quote

  #2 (permalink)  
Old Sep 22nd, 2007, 16:00
Multimedia Specialist
Join Date: Apr 2007
Location: Arizona
Age: 25
Posts: 666
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Sgaspar11
Re: Scene loop

The same way you have it just to scene2 on release, just create another that has it jump back to scene 1.

Scenes are sort of depricated these days, I am really confused on what you are trying to accomplish and I am fairly certain there is any easier way to do this...can you post an example of what it is you even are wanting to do, like an example or something.
Last Blog Entry: Yay!? (Oct 8th, 2007)
Reply With Quote
  #3 (permalink)  
Old Sep 23rd, 2007, 17:56
Junior Member
Join Date: Sep 2007
Location: Bristol, UK
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Scene loop

Sure,

If you take a look at " homepage.fla" that is what I am trying to achieve. If you click on the first image on the left hand side, it will load " Gallery1.swf" into level 1. Fine. But once it has, you will notice what I mean by the masked area creating a sort of " Hotspot" across the page that isn't visible in any way, but if you click on it it causes problems. I just want to stop this from happening! I tried loading the " scroller " into level 1, and then simply unloading it every time an image was clicked. This worked ok until I tested it with " Simulate Download" and it took ages to reload. This is why I've been experimenting with shooting the time line to another scene that is a blank stage and loading the external swf files from there. What do you think? Is there another way to do this? The site is basically just this home page and the external swf files, so in essence its fairly simple. I just need to sort this problem out.

Thanks for taking the time to try and help out, I really appreciate it.

Tom.
Attached Files
File Type: fla homepage.fla (1.10 MB, 4 views)
File Type: fla gallery1.fla (550.0 KB, 3 views)
File Type: fla scroller.fla (1.04 MB, 6 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 again monkeygraphik Flash & Multimedia Forum 0 Sep 25th, 2007 09:11
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 12: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