-
[F8] LoadMovie problem
Hey guys and girls,
I'm using LoadMovie in order to control an image on the side of the site. I've set up a menu bar on the main stage with sub-menus arranged on the main time line. I use gotoAndStop to reach each submenu along the timeline.
The problem is that as long as I move forward along the timeline (e.g. clicking 'Home' and then 'About') the loaded image stays in place. However, if I move back (e.g. 'About and then 'Home') the image disappears. I've tried to solve it by loading the movie in each frame that brings up a new submenu, but that creates the loading 'flicker' which I rather avoid.
The scripts I use are followed:
Frame 1:
stop();
loadMovie("images/assets/onetree.png", "target_left");
Example buttons:
button 1 (home):
//jumps to frame "home" which contains a submenu
on (release) {
gotoAndStop("home");
}
Button 2 (about):
//jumps to frame "about" which contains a submenu
on (release) {
gotoAndStop("about");
}
Any thoughts are appreciated. Thank you.
Let me know if you need more info
Last edited by RandomLife; 11-18-2007 at 09:56 PM.
-
Senior Member
I think if you have "target_left" on a seperate layer and don't split that layer on the timeline in to keyframes your image should stay.
-
Hey mand, thanks for replaying.
The target is on a different layer and is continuous from frame 1, thats why I can't figure it out.
-
Senior Member
Can you send/attach your .fla for me to look at?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|