Log in

View Full Version : 3D MENU - 3D MENU (Linkage Enquiry?)



dzucco
06-24-2008, 02:38 PM
Hiya,
I am having a problem trying to link a gotoAndPlay action on a button within a 3D Menu component to another MC on a different 3D Menu component. I am guessing it needs to be connected through the linkage "Mc" but I do not know how to do this?

I am not fluent in Actionscript so could do with some help.

Any ideas.

Cheers.

Dz

Medyman
06-24-2008, 11:03 PM
First, I'm not aware of a 3D Menu component, so my advice is based on generalizations on how Flash components are set up. If the author of the component didn't follow accepted best practices, then I can't help without first examining the component.

The first thing you should do is assign instance names to both components. The instance name is set in the properties panel. The instance name can be anything but it should be unique.

For examples sake, say we called them MENU1 and MENU2. If you wanted to attach an action to a movieclip called button within MENU2 from MENU1, you would use the following actionscript:


MENU1.button.onRelease = function() {
MENU2.button.gotoAndPlay();
}


Again, the above code says, when I click on the button movieclip within MENU1, gotoandPlay() button within MENU2.

If that doesn't help, post your .fla and I'll take a closer look.

dzucco
06-25-2008, 10:09 AM
Hi, thanks for the response.
I tried this with no luck so have attached the fla. if you get a second to have a look at it.

Muchly appreciated.

Cheers,

dz