hi there,
i’m working on a project where I am generating shapes and patterns using the drawing api.
there is an example of the simple code i’m using below.
the code i’m using is working out fine and producing the results I want but I was wondering if there was a way of exporting the generated shapes into something like illustrator. Now I realise I could add tracers and get the numeric values in the output but I wanted to know if theres an easier (and hopefully graphic) way saving or exporting this information. I have already started to make this interactive, with the limiting values controlled by sliders and whatnot but I really need to be able to “save” their output.
the next stage after this is implementing isometric 3d, and I was also wondering if their was a way of exporting flash information that was generated with actionscript to a .3ds file (this I know would be pretty complicated but I thought it might be possible to get some 3d information from the output and convert it)
there is a lot of discussion about how to get information into flash, but not much concering how to get it out, is the general solution to my problem using the output dialog and generating xml?
thanks in advance, christopher
sample code
_root.createEmptyMovieClip(“walkway”,100);
walkway.lineStyle(40,0x336699,100,false,true,“square”,“miter”,50)
walkway.lineTo(0,250);
dupMovie2 = function () {
for (i=10; i<30; i++) {
walkway.duplicateMovieClip(“walkway2”+i, i, {_x:500+(Math.ceil(Math.random()*4)*150), _y:20+(Math.ceil(Math.random()*3)*150), _alpha:100});
with (eval(“walkway2”+i)) {
_rotation=Math.ceil(Math.random()*4)*90;
}
}
};
dupMovie2();
walkway._visible = false