This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > August 2005 > Submenus Referencing Frames in a Separate Movie





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Submenus Referencing Frames in a Separate Movie
happystamping

2005-08-15, 7:47 pm

I am creating a new Flash project and am having trouble getting my submenu
links to work correctly. They correctly load the other movie clip (energy.swf),
however I cannot get them to go to and play the correct frame of the energy
movie. I've listed the actions below:

on (press) {
if (_root.main_mc == Number (_root.main_mc);
} else {
_root.main_mc.loadMovie ("energy.swf");
}

on (release) {
_root.energy.swf.gotoAndPlay ("lightingtext");
}


Can any one help? PLEASE.


Demon paW

2005-08-21, 7:22 pm

if i understand you are loading a swf into another swf using the target
method...well if i am right then your code is wrong.
lets say then instance name name of the movieclip where your swf loads is
loader.
then use this code
on(release) {
_root.loader.gotoAndPlay("lightingtext");
}

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews