arrrgh! help!!! actionscript 1->2 problem
i'm going absolutely *MAD*! please help me someone:
i'm a flash newbie. i found this mouse trailer, that i edited so that it's perfect for me. works swell in it's own preview. it's in actionscript 1,0. i guess that's where the problem lies: when i try to import it into my main movie as a movie clip, the trailer (consists of 3 object's) won't budge. it actually shows in my library as graphic, not movie clip. so i tried to export the trailer movie into flash 7/actionscript 2 format, but it gives me this error message:
**Error** Symbol=FB - Flying Text, layer=Actions, frame=3:Line 13: Syntax error.
char0:Xpos = getProperty("char0", _x);
Total ActionScript Errors: 1 Reported Errors: 1
in the trailer movie there arfe 3 frames containing action sript, but this is the only mistake that my flash mx 2004 reports when trying to play the thing. i include the entire code in that particular frame here:
i = 1;
while (Number(i)<=Number(n)) {
if (Number(Circle) == 1) {
set("char" add i add ":Xspeed", ((eval("Xspacing" add i) - eval("char" add i add ":Xpos") + eval("char" add (i-1) add ":Xpos"))/a) + (eval("char" add i add ":Xspeed"))/d);
} else {
set("char" add i add ":Xspeed", ((eval("Xspacing" add i) - eval("char" add i add ":Xpos") + eval("char" add (i-1) add ":Xpos"))/a + eval("char" add i add ":Xspeed"))/d);
}
set("char" add i add ":Yspeed", ((eval("Yspacing" add i) + eval("char" add (i-1) add ":Ypos") - eval("char" add i add ":Ypos"))/a) + (eval("char" add i add ":Yspeed"))/d);
set("char" add i add ":Xpos", eval("char" add i add ":Xpos")+eval("char" add i add ":Xspeed"));
set("char" add i add ":Ypos", eval("char" add i add ":Ypos")+eval("char" add i add ":Yspeed"));
i = Number(i)+1;
}
char0:Xpos = getProperty("char0", _x);
char0:Ypos = getProperty("char0", _y);
i = 1;
while (Number(i)<=Number(n)) {
setProperty("char" add i, _x, eval("char" add i add ":Xpos"));
setProperty("char" add i, _y, eval("char" add i add ":Ypos"));
i = Number(i)+1;
}
...and that's it! the trailer won't move anywhere in my movie. i'm doing these pages as a favor to a friend, and it took me already 3 days just to find a nice trailer that i was able to modify... and now the bastard will not move in the movie where it's supposed to. i've tried and tried and TRIED, torn most of my hair out already, so PLEASE someone relief me from this agony! is there a solution?
grateful forever,
mar