Participating Frequently
November 30, 2009
Answered
The class or interface could not be loaded...?
- November 30, 2009
- 2 replies
- 9961 views
I'm doing a simple link code. I've tried many diferrent ways to do this but this error keeps comming up saying The class or interface could not be loaded...
home_btn.addEventListener(MouseEvent.CLICK, gotoURL);
function gotoURL(event:MouseEvent):Void
{
navigateToURL(new URLRequest("my site"));
}
This is the most recent method I've tried in doing this. I've tried changing the publishing settings of the document to and from Action Script 3.0- using an import command. But thats too complicated. I know this is simple... but can anyone please help?
