My file has two scenes. See code below. Originally the Mouse Events
were MouseEvent.CLICK and they worked fine.
Scene 1
Frame 1
stop();
playScene2_btn.addEventListener(MouseEvent.MOUSE_OVER, playScene2);
function playScene2(evt:Event)
{
gotoAndPlay(1, "Scene 2");
}
Scene 2
Frame 1
gotoScene1_btn.addEventListener(MouseEvent.CLICK, gotoScene1);
function gotoScene1(evt:Event)
{
gotoAndStop(1, "Scene 1");
}
On May 5, 2010, at 5:44 PM, Karl DeSaulniers wrote:
Please post your code if you can.
It may be a problem with the way you have written it.
Karl
On May 5, 2010, at 4:35 PM, Donald Talcott wrote:
I have an AS3 fla file with a mc and stop() on frame 1 and
different content on additional frames.
When the swf is launched, I would like to have a
MouseEvent.ROLL_OVER with a function to gotoAnd Play frame 2. Also
I would like to have a MouseEvent.ROLL_OUT with a function to
gotoAndSop on frame 1. I have added a mc the size of my file and
used it as a button. I can get the ROLL_OVER to work, but not the
ROLL_OUT. I hope this is not to vague. Can anyone help.
Don Talcott
316 Greenwood Ave
Decatur, GA 30030
404 538-1642
dtalc...@mindspring.com
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Karl DeSaulniers
Design Drumm
http://designdrumm.com
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders