from AS1,2 to AS3 undefined method/property action frame

need to convert the AS1 to AS3 it seems easy but it’s not… please help.

errors

frame 1> Scene 1, Layer ‘Action Layer’, Frame 1, Line 1, Column 1 1120: Access of undefined property url.

Scene 1, Layer ‘Action Layer’, Frame 1, Line 2, Column 1 1180: Call to a possibly undefined method loadVariablesNum.
Scene 1, Layer ‘Action Layer’, Frame 1, Line 2, Column 18 1120: Access of undefined property url.
Scene 1, Layer ‘Action Layer’, Frame 1, Line 3, Column 1 1120: Access of undefined property _root.
Scene 1, Layer ‘Action Layer’, Frame 243, Line 1, Column 19 1120: Access of undefined property _root.

frame1

url = “xxx”;
loadVariablesNum(url + “_main.html”, 0);
_root.link = 1;
stop ();

frame 243

pages.gotoAndStop(_root.link);

my best regards.

Your big problems are that _root and loadVariableNum no longer exist in AS3. This thread has some information on some of the alternatives:

Search that TOC for the keywords root and loading. There’s a couple in there about _root.