nyne69ball
Technical User
OK Flash Gurus.... Im trying to use "asfunction" as an html type hotlink and Flash keeps throwing errors at me and shutting down.... i.e.
FAQList and Status are text boxes on the main stage...
FAQList = "<b><i>FAQ's</i></b> <br> <br>";
Status = "Calculating";
function myMovie (label) {
gotoAndPlay (label);
}
Q1 = "<A HREF=\"asfunction:myMovie,testing\">First Record </A>";
Q2 = "<A HREF=\"asfunction:myMovie,testing\">Second Record </A>";
Q3 = "<A HREF=\"asfunction:myMovie,testing\">Third Record </A>";
Q4 = "<A HREF=\"asfunction:myMovie,testing\">Fourth Record </A>";
Q5 = "<A HREF=\"asfunction:myMovie,testing\">Fifth Record </A>";
Q6 = "<A HREF=\"asfunction:myMovie,testing\">Sixth Record </A>";
NumRecords = 6;
for (i=1; i<=NumRecords; i++) {
Question = eval("Q" + i) + "<br>";
FAQList = FAQList + eval("Q" + i) + "<br></a>";
}
Status = "Done";
stop ();
Any Ideas??? am I calling the function wrong or something?????
The FlashGuy
FAQList and Status are text boxes on the main stage...
FAQList = "<b><i>FAQ's</i></b> <br> <br>";
Status = "Calculating";
function myMovie (label) {
gotoAndPlay (label);
}
Q1 = "<A HREF=\"asfunction:myMovie,testing\">First Record </A>";
Q2 = "<A HREF=\"asfunction:myMovie,testing\">Second Record </A>";
Q3 = "<A HREF=\"asfunction:myMovie,testing\">Third Record </A>";
Q4 = "<A HREF=\"asfunction:myMovie,testing\">Fourth Record </A>";
Q5 = "<A HREF=\"asfunction:myMovie,testing\">Fifth Record </A>";
Q6 = "<A HREF=\"asfunction:myMovie,testing\">Sixth Record </A>";
NumRecords = 6;
for (i=1; i<=NumRecords; i++) {
Question = eval("Q" + i) + "<br>";
FAQList = FAQList + eval("Q" + i) + "<br></a>";
}
Status = "Done";
stop ();
Any Ideas??? am I calling the function wrong or something?????
The FlashGuy