Jade Mouse Designs (jademousedesign) wrote in flashdev,
Jade Mouse Designs
jademousedesign
flashdev

Not sure where else to go for help.

Hi, I am working on a Flash CS4 website for my college senior project and I am having one major issue that I cannot overcome. I have several pages inside the site, the buttons work they click properly and make the sound they are coded to make. I have this codes to go to other pages and for some reason it does nothing. The button clicks however I cannot go beyond the home page.

[Error: Irreparable invalid markup ('<this.stop();>') in entry. Owner must fix manually. Raw contents below.]

Hi, I am working on a Flash CS4 website for my college senior project and I am having one major issue that I cannot overcome. I have several pages inside the site, the buttons work they click properly and make the sound they are coded to make. I have this codes to go to other pages and for some reason it does nothing. The button clicks however I cannot go beyond the home page.

<lj-cut text="Code"><this.stop();

btnHome.addEventListener(MouseEvent.CLICK, home);
function home(evt:Event):void {
gotoAndStop("home");
}

btnModels.addEventListener(MouseEvent.CLICK, models);
function models(evt:Event):void {
gotoAndStop("model");
}

btnParts.addEventListener(MouseEvent.CLICK, parts);
function parts(evt:Event):void {
gotoAndStop("parts");
}

The error it is giving is The class or interface 'Event' cannot be loaded. Can you tell what I am doing wrong? Let me know if you need to see anything else to determine the issue.</lj-cut>
Subscribe
  • Post a new comment

    Error

    default userpic

    Your IP address will be recorded 

  • 1 comment