Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 06-20-2003, 03:22 PM   #1
whiten2
Registered User
 
Join Date: Jan 2003
Location: computer
Posts: 8
Angry flyout menu

could some please guide me in the right direction please.

I have searched the site but unable to find so i'm sorry if this is rather a simple problem which i believe it is...

I have a swf (web) that has individual MCs on each frame of this swf that loads into a swf container..


As a navigation device for each MC(mb) (residing within this loaded swf (web)). i have a flyout menu that i want to hide away and show only when a user rolls over (rhs) an invisible button (this is in an MC also).

I have all this working well when rolling over and rolling out but
I'm tearing my hair out trying to move to the next frame of the MC(mb).

below is the code i have on the button but it wont work...

any ideas... i know this is simply....thanks...


//////
(on (rollOver) {
play();
}


on (press) {
with (_root.mb) {
nextFrame();
}
}

/////
whiten2 is offline   Reply With Quote
Old 06-20-2003, 04:39 PM   #2
Warrior
Victory Is Mine
 
Warrior's Avatar
 
Join Date: Apr 2003
Location: Earth
Posts: 1,233
Default

Are you trying to target the Movie Clips that are inside the movie being loaded? If that's it then you need to call them by Framelable or Instance name,
ActionScript Code:
on (release) {     _level1.MovieClip.gotoAndStop ("FrameLable"); } // Or on (release) {     _level1.MovieClip.MovieClipTwo.gotoAndStop ("FrameLable"); }
Is that what you wanted?
Warrior is offline   Reply With Quote
Old 06-20-2003, 05:34 PM   #3
whiten2
Registered User
 
Join Date: Jan 2003
Location: computer
Posts: 8
Unhappy RE : flyout menu

thanx warrior,

that was what i needed. though i have just tried this and it is not working?!!!damn...

this is the code i have used residing in the MC with the button with the attached code.

////////////////

on (release) {
_level1.mbMc.gotoAndStop ("mb02");
}

///////////


is level1 being the swf file loaded yes? I know that _root is the main time line so i under this. just a bit confused with loaded MC's and talking to each MC.

One other question is i also then want to slide the menu away once pressed.. can this be added to this code as well because i cant get the 2 functions to work properly..

thanx again..
whiten2 is offline   Reply With Quote
Old 06-20-2003, 07:33 PM   #4
Warrior
Victory Is Mine
 
Warrior's Avatar
 
Join Date: Apr 2003
Location: Earth
Posts: 1,233
Default

ok, explain to me your problem step by step and I will try and help you
Warrior is offline   Reply With Quote
Old 06-20-2003, 10:02 PM   #5
whiten2
Registered User
 
Join Date: Jan 2003
Location: computer
Posts: 8
Default RE : flyout menu

warrior. sorted it mate.

my problem was that my MCs weren't talking though have fixed this. simply as it was..

and my other problem has been solved as well... code below...

thanx mate for the advice earlier it put me in the right direction...

///


on (release) {
_root.load.mbMc.gotoAndStop ("mb02");
_root.load.mbMc.fwdScrn.play();
}

////
whiten2 is offline   Reply With Quote
Old 06-20-2003, 10:09 PM   #6
Warrior
Victory Is Mine
 
Warrior's Avatar
 
Join Date: Apr 2003
Location: Earth
Posts: 1,233
Default

Did I really help you I thought I just confused you Nice to hear it. Now help me. What do those lines do,
ActionScript Code:
_root.load.mbMc.gotoAndStop ("mb02");       _root.load.mbMc.fwdScrn.play();
Warrior is offline   Reply With Quote
Old 06-21-2003, 01:50 PM   #7
whiten2
Registered User
 
Join Date: Jan 2003
Location: computer
Posts: 8
Default flyout menu

warrior,

you were right, well i thought level 1 could be used to talk between MCs but this didn't work but got me on the right track. so i read into paths.. found that _parent should work. it didn't work either though it should of...

As my MC (external swf) is the parent of my child swf (menu flyout).

_root(is the main swf). load is my instance on the stage to load in external swf. and mbMC is my MC holding the slide show..


////
_root.load.mbMc.gotoAndStop ("mb02");

////
_root.load.mbMc.fwdScrn.play();

this is my path to move my fly in menu out....


hope this makes sense...
whiten2 is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:34 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.