Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

on (rollOver)... but for Movie clip, not button 1

Status
Not open for further replies.

adamr1001

MIS
Jul 25, 2001
166
CA
hi,

i'm making an advertising banner that scrolls info, and when the mouse goes over the Flash object the contents completely change... so right now i do this using a button the size of the stage - where in the 'up' frame there is the scrolling Movie Clip, and in the 'over' frame there is the other moie clip. this works perfectly well but i do not want the mouse to change to the 'hand-pointer-thingy'; i'd like it to stay as an arrow.

please advise....

thanks!
 
second thoughts...i seem to remember you have target the movie clip...so it may be

clip.useHandCursor = false;
 
hmmm small problem...button inside a button makes glitches

i think i need to change the main button to a movie clip - and add: on(rollOver) and on(rollOut) listeners to it... how can i do this? what's the syntax?

thanks!
 
main timeline

myClip.onRollover = function()[
//what you want
}

same just with rollOut
 
this is interesting...

the rollover/rollout for the movieclip worked great, but the buttons inside the movieclip are not responsive....
 
okay: i've got Mclip1. and Mclip2 is activated when i roll over Mclip1. this works fine:

Mclip1.onRollOver = function() {
Mclip2.gotoandplay("on");
};



but inside Mclip2 - there are buttons - and so when i hover over a button inside Mclip2 - Mclip1 see thats as a 'rollout' (because i am now 'over' another button, so as a result Mclip1's rollout function is triggered:

Mclip1.onRollOut = function() {
Mclip2.gotoandstop("off");
};

..which makes the buttons inside Mclip2 inaccessible.

thanks for your help on this!
 
Yep! Old problem!
You'll have to resort to something like this, using a hitTest on the mc.


Regards,

cubalibre2.gif
 
oldNewbie: how is the movieclip supposed to explain what you mean?

can you please explain what i need to do?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top