Ask a Question related to Macromedia Flash, Design and Development.
-
Joe #1
Proper way to do rollover / rollout ?
This is the effect I would like to produce:
[url]http://www.inperspectiverecords.com/[/url]
- the buttons that move when the mouse enters.
I knocked this up using a button and a movie clip with a shape tween.
[url]http://www.schoolyardrules.com/help/rollover.html[/url]
[url]http://www.schoolyardrules.com/help/rollover.fla[/url]
The actionscript I used on the buttons is:
on (rollOver) {
tellTarget ("_root.square") {
gotoAndPlay(1);
}
}
on (rollOut) {
tellTarget ("_root.square") {
gotoAndPlay(10);
}
}
but as you can see it doesnt really work.
What is the best way to create this effect?
Thanks - Joe
Joe Guest
-
RollOut too quick?
Hello everyone, I have a question about RollOut .... I created some expand menu, which's rollOver and rollOut action is controlled by... -
Rollover, Rollout reversing
I think I need help here. I used the TellTarget rollover as well as rollout, but when I finish with the buttons and mouseover them quickly, these 2... -
Playing movie clips from rollover & rollout?
Hi - I have a button that once the user has entered a movie should play. Then once they roll out the movie should play again. I have made the... -
grid of boxes that expand on rollover and shrink on rollout
can anybody help me with working out how the interface in the link below would work with shockwave rather than flash?, except instead of using key... -
Button rollout animation
http://www.macromedia.com/support/flash/ts/documents/roll_over_animated_button.htm the blue of the sea is sometimes so blue that only blood is... -
rhamej #2
Re: Proper way to do rollover / rollout ?
Mke a MC with your tween. Put a stop on the first frame of the MC. Dra
the MC to the stage and put this code on the MC.
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (this._currentframe<this._totalframes) {
nextFrame();
}
} else {
if (this._currentframe>1) {
prevFrame();
}
}
rhame
-----------------------------------------------------------------------
Posted via [url]http://www.mcse.m[/url]
-----------------------------------------------------------------------
View this thread: [url]http://www.forum4designers.com/message41680.htm[/url]
rhamej Guest



Reply With Quote

