Skip to main content
Participant
June 9, 2010
Question

MouseEvent not being recognised!?

  • June 9, 2010
  • 1 reply
  • 383 views

but1.addEventListener (MouseEvent.CLICK,play1) ;

function play1 (event:MouseEvent) :void{

gotoAndStop("Wales 1") ;

}

This is my code but the MouseEvent is not recognised please could you give me some advice - thank you

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
June 9, 2010

change your publish settings to use as3.


Participant
June 9, 2010

Thanks... I have tried to do this in publish settings with no luck... I am using flash 8!?

kglad
Community Expert
Community Expert
June 9, 2010

then you didn't change your publish settings.

and you can't change your publish settings to use as3 so you can't use as3 code with flash 8.

either upgrade or use as2.