At my office no one really knows how to do flash and the person who created this flash file is gone. The original was deleted so I had to go and decompile the file we had of it. I got everything off of it and matched everything up as it was supposed to but it is still not working as it should.
The project is a picture of a person and each body part is supposed to act as a button. when you click on this button several links to another page pop up right next to it and they should send you to a new page. I put the action script back in as labeled( compiler made a folder for actions and I matched the actions to the file it was named, which it was sprite, so I put Action 515 in sprite 515 and the script would match up perfectly with the frame, as the code it self labeled which frame it was supposed to go in).
The problem is when I test the movie after all the code is in there is no button to click, in fact all it does is show the person's body and that's it. I go and press the check syntax button to see if there is an error in the code and it says there is errors and that it will show up in the output box. The output box comes up blank. So I am now out of ideas how to fix this problem.
Here is the code:
//frame 5 (DOACTION)
stop();
onClipEvent(ROLLOVER)
{
this.gotoAndPlay(on);
}
onClipEvent(ROLLOUT)
{
this.gotoAndPlay(out);
}
onClipEvent(RELEASE)
{
getURL("BreathingorChestSymptoms/AsthmaAttack.htm","_self");
}
onClipEvent(ROLLOVER)
{
this.gotoAndPlay(on);
}
onClipEvent(ROLLOUT)
{
this.gotoAndPlay(out);
}
onClipEvent(RELEASE)
{
getURL("BreathingorChestSymptoms/Cough.htm","_self");
}
onClipEvent(ROLLOVER)
{
this.gotoAndPlay(on);
}
onClipEvent(ROLLOUT)
{
this.gotoAndPlay(out);
}
onClipEvent(RELEASE)
{
getURL("BreathingorChestSymptoms/Croup.htm","_self");
}
onClipEvent(ROLLOVER)
{
this.gotoAndPlay(on);
}
onClipEvent(ROLLOUT)
{
this.gotoAndPlay(out);
}
onClipEvent(RELEASE)
{
getURL("BreathingorChestSymptoms/WheezingotherthanAsthma.htm","_self");
}
Can someone help me with the problem that is occurring with this. I am using Macromedia Flash MX 2004.






Bookmarks