# \[MX\] Prob!

**URL:** <https://forum.kirupa.com/t/mx-prob/9093>\
**Category:** flash\
**Created:** [December 4, 2002, 6:17pm UTC](https://forum.kirupa.com/t/mx-prob/9093 "2002-12-04T18:17:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Spat](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@Spat](https://forum.kirupa.com/u/Spat)\
**Post date:** [December 4, 2002, 6:17pm UTC](https://forum.kirupa.com/t/mx-prob/9093/1 "2002-12-04T18:17:10Z")

</div>

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!! ☹ HELP!!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 4, 2002, 6:19pm UTC](https://forum.kirupa.com/t/mx-prob/9093/2 "2002-12-04T18:19:42Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 8, 2002, 1:28pm UTC](https://forum.kirupa.com/t/mx-prob/9093/3 "2002-12-08T13:28:56Z")

</div>

Wrong syntax, Spat.

```auto
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 🙂
