all groups > flash (macromedia) > december 2006 >
You're in the

flash (macromedia)

group:

How do you link instance names to play a frame/movieclip?



How do you link instance names to play a frame/movieclip? Adriennee
12/18/2006 10:49:44 PM
flash (macromedia): Please help me.
OK, what I have set up is a box on my stage, and it comes in from the side
(like sliding in), and that is the group/animation thing on my timeline which
has an instance name of 'home'. Then on another layer, later on in the
timeline, i have two animations, one that animates the box up instance named
over and one that animates the box down instance named out.

How do I link that 'home' box to play the 'over' when you hover over the box
and then 'out' when you take your mouse away?
Did I have to convert the 'home' box into a scene or something?

I am very desperate for help! Please.

If you need the .FLA file, feel free to contact me.
Re: How do you link instance names to play a frame/movieclip? urami_
12/19/2006 12:00:00 AM


[quoted text, click to view]

You can apply button handlers to your home movie clip by placing action
on the timeline frame. For example:


home.onRollOver = function () {
over.play();
//or over.gotoAndPlay(2);
//whatever action you need
};

home.onRollOut = function () {
out.play();
};



--
Best Regards

Urami


--

!!!!!!! Merry Christmas !!!!!!!


<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
AddThis Social Bookmark Button