Flash Nav Help
- Started
- Last post
- 5 Responses
- stimuli
Working on a Flash nav system for my new site. There is one main Flash movie which calls external swf files into blank movie clips. My external menu swf files have rollover navigations but when called into the main movie, the animations don't work. Can anyone help? Have I explained this correctly? think it might be the way the actionscript in the external files is controlling the rollover/rollout...
Main Movie:
http://www.stimuli.co.uk/fnav/External SWF:
http://www.stimuli.co.uk/fnav/m1…
http://www.stimuli.co.uk/fnav/m1…
http://www.stimuli.co.uk/fnav/m1…
http://www.stimuli.co.uk/fnav/m1…
- unformatted0
post your as for the rollovers
- stimuli0
Here's the code from the movie m1.swf (the main menu in column 2).
m1.swf frame actions:
stop();
m1b1anim.onEnterFrame = function() {
if (fadem1b1) {
m1b1anim.nextFrame();
} else {
m1b1anim.prevFrame();
}
};
m1b2anim.onEnterFrame = function() {
if (fadem1b2) {
m1b2anim.nextFrame();
} else {
m1b2anim.prevFrame();
}
};
m1b3anim.onEnterFrame = function() {
if (fadem1b3) {
m1b3anim.nextFrame();
} else {
m1b3anim.prevFrame();
}
};_____________________
m1.swf Info button actions:
on (rollOver) {
_root.fadem1b1 = true;
}on (rollOut, dragOut) {
_root.fadem1b1 = false;
}on (press) {
_root.m2.unloadMovie();
_root.m2.loadMovie("m1b1sub.swf...
}
- unformatted0
for your frame actions put
m1b1anim.onEnterFrame = function() {
if (fadem1b1) {
this.nextFrame();
} else {
this.prevFrame();
}
};and i think instead of _root use _parent, or try just putting fadem1b1 w/o _root
i don't know it's late. ;)
- stimuli0
Thanks, I'll try that. It should be simple but it's just not working. It's really frustrating!
- stimuli0
"...or try just putting fadem1b1 w/o _root"
Worked a charm, cheers.
http://www.stimuli.co.uk/fnav/Now to work out how to incorporate a downstate animation...