Groups | Blog | Home
all groups > flash actionscript > january 2004 >

flash actionscript : RollOver trouble


Rob Solberg
1/24/2004 1:36:57 PM
That should work fine in MX. Upon rolling over the button, it sends you to
a frame label called "over". Is the action you need it to take?

Rob|e.9





[quoted text, click to view]
for Flash 5. I could follow all of the tutorial except for the action
script part. I was hoping someone could tell me what the Flash MX
equivalent for the Flash 5 action scripting below would be.
[quoted text, click to view]

SirHankins
1/24/2004 6:53:43 PM
Hey, I'm new with Flash MX and was following a Fly Out Menu tutorial made for Flash 5. I could follow all of the tutorial except for the action script part. I was hoping someone could tell me what the Flash MX equivalent for the Flash 5 action scripting below would be.

on (rollOver) {
gotoAndPlay ("over");
}

Thanks for any help you can give me!

MINGUITO
1/24/2004 9:08:50 PM
This didn't workin in FLASH MX?



Take care and God Bless....
www.ymisitio.com



markonovitch
1/25/2004 1:29:05 AM
as the last message says - what you have written should work but in flashmx -
put this code on layer 1
my_btn.onRollOver = function() {
gotoAndPlay("over");
}
and put the button on layer 2 giving it an instance name of my_btn
that should work

PierreAlain
1/25/2004 1:31:34 AM
it works in MX, and as far as I remember all the same in Flash 5.

Are you sure you labeled your frame "over" ?

try un <gotoAndPlay(8)> (for example) to see if if works fine without a
frame label.

--

Pierre Alain

pie@lifnet.com


"MINGUITO" <webforumsuser@macromedia.com> a écrit dans le message de
news:buumt2$2qo$1@forums.macromedia.com...
[quoted text, click to view]

AddThis Social Bookmark Button