slowguy
08-08-2009, 01:37 AM
Hey guys, i hav a problem making a website. Im u kno, slow... anyways can someone explain/fix my problems here? Im trying 2 make a link 2 another website but it says "the class or interface 'MouseEvent' could not be loaded. Some1 told me that means i hav 2 convert into Actionscript 3.0. I did that, but i get a whole lot of problems which i fixed, but now i cant make links. Basically the problem is that actionscript on objects are completely ignored in 3.0. Maybe it just does that or something. Can someone help me out here? It confuses me like hell! Well, a lot of things do...
I dont really understand flash, so maybe im missing something really simple.
My actionscript is rite here.
button1.addEventListener(MouseEvent.CLICK, goToURL1);
function goToURL1(e:MouseEvent): void{
navigateToURL(new URLRequest("http://www.biomicsinc.com/Products.htm"));
}
When I convert 2 actionscript 3.0 it causes these errors:
Syntax error: extra characters
Migartion error 1058 and 1090
Any help would totally be appreciated. Any criticism would also be accepted.
Slowguy
I dont really understand flash, so maybe im missing something really simple.
My actionscript is rite here.
button1.addEventListener(MouseEvent.CLICK, goToURL1);
function goToURL1(e:MouseEvent): void{
navigateToURL(new URLRequest("http://www.biomicsinc.com/Products.htm"));
}
When I convert 2 actionscript 3.0 it causes these errors:
Syntax error: extra characters
Migartion error 1058 and 1090
Any help would totally be appreciated. Any criticism would also be accepted.
Slowguy