I need help with Actionscript 2.0.
I have a flash that was created with the publish setting of Flash 5. I need to update the publish setting to Flash 8, Actionscript 2.0
The flash I am working on is a drag and drop, where the item has to be put in a certain spot for it to be correct. If not in that area it would tell you. It works in the flash 5 setting, but once I change it to the flash 8 setting it won’t let me drag and drop
this._lockroot = true;
_quality=“best”;
question.q1 = “”;
question.q2 = “”;
question.q3 = “”;
bu_continue._visible = false;
locked._visible = false;
tries = 1;
Numcorrect = 0;
//text
Wrong = “Incorrect. Please try again.”;
Right = “Correct. Please press continue.”;
wrong2 = “Incorrect. Please press continue to review this information.”;
//URL
wrongURL = “alfr0170.html”;
correctURL = “alfr0190.html”;
URL = “alfr0170.html”;
mySound1.attachSound(“introduction”);
mySound1 = new Sound(movieClip3);
mySound1.attachSound(“introduction”);
mySound1.start(0, 1);
function resetQuestion() {
_root.TC.gotoAndStop(1);
_root.DC.gotoAndStop(1);
_root.XC.gotoAndStop(1);
_root.SC.gotoAndStop(1);
TC._x = 57;
TC._y = 111;
DC._x = 511;
DC._y = 111;
XC._x = 511;
XC._y = 275;
SC._x = 57;
SC._y = 275;
Mof._x = 71;
MoF._y = 197;
MF._x = 283;
MF._y = 57;
MD._x = 507;
MD._y = 200;
EF._x = 284;
EF._y = 327;
}
function incorrect() {
stopAllSounds();
_root.resetQuestion();
if (_root.tries == 1) {
_root.tries = 2;
mySound1 = new Sound(movieClip3);
mySound1.attachSound(“tryagain”);
mySound1.start(0, 1);
_root.Remediation = _root.Wrong;
} else {
mySound1 = new Sound(movieClip3);
mySound1.attachSound(“incorrect”);
mySound1.start(0, 1);
_root.locked._visible = true;
_root.Remediation = _root.wrong2;
_root.bu_continue._visible = true;
}
}
function correct() {
stopAllSounds();
mySound1 = new Sound(movieClip3);
mySound1.attachSound(“correct”);
mySound1.start(0, 1);
_root.bu_continue._visible = true;
_root.Remediation = _root.right;
_root.locked._visible = true;
_root.URL = _root.correctURL;
}