[MX] Prob!

Variable _level0.Segments = “43”
Variable _level0.Villes = “10”
Variable _level0.Lat0B1 = “144”
Variable _level0.Long0B1 = “-275”
Variable _level0.LatA1 = “-268”
Variable _level0.LongA1 = “175”
Variable _level0.Portions1 = “1”

Here’s a portion of the variables that i send in…

for (i=1; i<=_level0.Segments; i++) {
XStart = “_level0.LongA”+i;
YStart = “_level0.LatA”+i;
_root.createEmptyMovieClip(“line”+i, 1);
“line”+i+".moveTo(XStart,YStart)";
“line”+i+".lineStyle(3,0x000000,100)";
Out = 0;
for (a=0; “a<_level0.Portions”+i; a++) {
“line”+i+".lineTo(_level0.Long"+a+“B”+i+",_level0.Lat"+a+“B”+i+")";
}
}

This is the drawing portion of it!! prob!! don’t do anything!! :frowning: HELP!!

I attached the file for you!! data are sent through a perl script !! its a URL it will work in from your place!

Wrong syntax, Spat.

mc=_root.createEmptyMovieClip("line"+i, 1);
mc.moveTo(XStart,YStart);
mc.lineStyle(3,0x000000,100);
Out = 0;
...

I think that there’s something about this in the AS tricks section. Not sure though. :-/

pom :slight_smile: