Skip to main content
May 15, 2008
Question

The class or interface 'MouseEvent' could not be loaded

  • May 15, 2008
  • 3 replies
  • 787 views
The class or interface 'MouseEvent' could not be loaded

Kindly help me resolve this error.
This topic has been closed for replies.

3 replies

kglad
Community Expert
Community Expert
May 16, 2008
no.

you need to learn as2 and publish for as2 or learn as3 and publish for as3. using some as2 and some as3 code and hoping for the best is not going to work.
May 16, 2008
I tried to convert the whole code to AS3 code, changed publish settings to AS3 too,now I'm getting an Error on the Output Window
"TypeError: Error #1006: value is not a function."

Also i'm getting lot of warnings, is there a way to ignore warnings and move on..?
May 15, 2008
MouseEvent is an AS3 class. Your xml is parsed with AS2 code. What are your publish settings?
May 16, 2008
I guess that should be the Problem here. My current Publish settings are AS2. Can you tell me what would be the equalent for 'MouseEvent' in AS2.