illmatic
02-16-2005, 01:49 AM
I just recently came across ASV.. And i have been trying to get a simple drawAlong script to work with an exported SVG file from ASV 4.0..
The example @ http://actionscript-toolbox.com/shapeDefinedMC.php , for ShapeDefined MC
shows how to draw a rough line around the green shape invoked by an onPress... I want to draw a line (similiar to an actual pencil drawing a shape) when the movie is loaded and also use the drawAlong in different frames further in the timeline..
Some of my questions are begginers level AS... Like the events..
Really i just want to draw my stupid tab folder (svg file http://www.bivuac.com/firstTry.zip ) with or without the ASVDrawing class....
Here is an export of outlines to ActionScript.
lineStyle(1,0x000000);
moveTo(611.05,64);
lineTo(613.05,66);
lineTo(613.3,68.1);
lineTo(613.45,480.25);
lineTo(18.5,480.2);
lineTo(18.35,26.85);
lineTo(19,25.25);
lineTo(20,24.35);
lineTo(20.85,23.35);
lineTo(22.6,21.75);
lineTo(25,21.25);
lineTo(167.25,21.6);
lineTo(172.6,23.25);
lineTo(180.5,27.25);
lineTo(182.85,29.75);
lineTo(189.5,35.5);
lineTo(193,39.6);
lineTo(204,56.5);
lineTo(206.85,60.1);
lineTo(208.5,61.5);
lineTo(210,62.35);
lineTo(211.85,62.75);
lineTo(608.45,63);
lineTo(611.05,64);
The example @ http://actionscript-toolbox.com/shapeDefinedMC.php , for ShapeDefined MC
shows how to draw a rough line around the green shape invoked by an onPress... I want to draw a line (similiar to an actual pencil drawing a shape) when the movie is loaded and also use the drawAlong in different frames further in the timeline..
Some of my questions are begginers level AS... Like the events..
Really i just want to draw my stupid tab folder (svg file http://www.bivuac.com/firstTry.zip ) with or without the ASVDrawing class....
Here is an export of outlines to ActionScript.
lineStyle(1,0x000000);
moveTo(611.05,64);
lineTo(613.05,66);
lineTo(613.3,68.1);
lineTo(613.45,480.25);
lineTo(18.5,480.2);
lineTo(18.35,26.85);
lineTo(19,25.25);
lineTo(20,24.35);
lineTo(20.85,23.35);
lineTo(22.6,21.75);
lineTo(25,21.25);
lineTo(167.25,21.6);
lineTo(172.6,23.25);
lineTo(180.5,27.25);
lineTo(182.85,29.75);
lineTo(189.5,35.5);
lineTo(193,39.6);
lineTo(204,56.5);
lineTo(206.85,60.1);
lineTo(208.5,61.5);
lineTo(210,62.35);
lineTo(211.85,62.75);
lineTo(608.45,63);
lineTo(611.05,64);