flash question
- Started
- Last post
- 8 Responses
- Spix
I got a movieclip, and as I have my cursor over it I want another MC to show...How do I do that? please help....
- bliznutty0
movieclip has 'On' and 'OnClipEvent' handlers. Catch the mouseover then load the movieclip.
- Spix0
ok...but what would I use to load the movie clip? Does LoadMovie work? or is that just to lad another swf?
- uprise0
if it's already on the stage you could set the hidden mc to _visible=false;
mc_2._visible = false;
mc_1.onRollOver = function(){
mc_2._visible = true;
}mc_1.onRollOut = function(){
mc_2._visible = false;
}
- Spix0
that sounds great, but I really suck at action scripts im not sure how to do that?
- uprise0
check your email. I hope you have flash MX?
- PonyBoy0
well... if you want to do it via a timeline...
... set up a button on the first frame of a movieClip... give that frame a stop() action. Now - you need an 'in' animation and an 'out' animation... but you need that button to cover the entire span of both animations. So - first layer of your movieclip is a button that is invisible.
then - for the button's rollover state - send the MC to play frame two which will have your second movie clip animating the alpha channel up (this occurs on a diff layer than the button instance). Have that animation also 'stop()'... then on the buttons rollOut script... have the mc animate out and return to the beginning of the timeline where the initial 'stop()' resides.
... hope that makes sense... I'm digging for a tutorial for you... but coming up short right now... I'll look again in a bit. :)
- Spix0
I do got mx...thank you!! so much...
and you too ponyboy: thanks.
- Spix0
uprise: what version is that? I cant open it...