Import ActionScripts from another file
Posted on 2003-11-05
I need to be able to draw a triangle from coordinated taken from txt file
This is example that should be in txt file, or is there any other format that can be used for X, Y, values to be taken from.
pen.lineStyle(1, 0x002040, 100);
pen.lineStyle(2, 0x000000, 100);
What I need is a format in txt file to be imported and to do same result as the one above. I will be getting coordinates for triangle 6 of them at the time, and I need way to import those coordinates to draw 6 triagles.
So when these triangles are drawn, I need to be able to click on them to show a little more info that would be impoted from another txt file.