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.
|
|
|
|
|
![]() |
||
Scene loop
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
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. |
|
|
|
|||
|
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)
|
|
|||
|
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. |
![]() |
| Thread Tools | |
|
|
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 |