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
Instead of using a MC the size of the stage, you may want to try listening like
-
this.root.addEventListener(MouseEvent.ROLL_OVER, overHandler) and
this.stage.addEventListener(Event.MOUSE_LEAVE, offHandler);
_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T 952 346 6610
C 612 377 2272
Web
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
3 matches
Mail list logo