Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-08 Thread Ben
You can see an example of what I'm talking about here: http://www.imagination3.com/ now THAT, my friend, is EXACTLY what I'm talking about! That's a beautiful example, it looks really well designed. With its various tools, eg the 'stamper', it goes way beyond what I was looking for. I guess

Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread Tom Rhodes
Have a google for actionscript SVG file readers, i seem to remember people achieving the effect you are after like that, i'm pretty sure exactly what you are asking is impossible though... Ben wrote: Hi Flashcoders is it possible to write ActionScript code to gain access to

Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread Janis Radins
No you cannt access curve data throught AS. Only thing thats possible would be to save all drawing activity in memory for later reproduction. That wouldnt be that hard actually. 2006/11/7, Ben [EMAIL PROTECTED]: Hi Flashcoders is it possible to write ActionScript code to gain access to

Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread slangeberg
Are you asking if you can somehow save out all the commands to a text file? now is it possible to write ActionScript that will translate the drawing you created above into AS-style: You see, you would have been using AS to perform all those commands in the first place. ie. lineTo, moveTo...

Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread Ben
You see, you would have been using AS to perform all those commands in the first place. ie. lineTo, moveTo... etc. Scott the lines are first created directly onto the stage using the Flash IDE (not ActionScript) eg the line, circle, box tools from the tools palette on the left side of the

Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread slangeberg
I want to be able to trace out a fairly complex drawing using all the Flash tools, but then control how it gets drawn entirely from ActionScript. Now I understand you want to take drawings from IDE and trace them in ActionScript. What is your goal with this? You want to stylize your

RE: [SPAM]Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread Ben
I want to be able to trace out a fairly complex drawing using all the Flash tools, but then control how it gets drawn entirely from ActionScript. Now I understand you want to take drawings from IDE and trace them in ActionScript. What is your goal with this? You want to stylize your

Re: [SPAM]Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread slangeberg
You're going to need a fairly complex system to set this up! Even if you could use AS to trace the artwork in the IDE (which I doubt), you'd need a system in place to figure out where you are in the drawing. reversed, speeded up, slowed down, paused, branched etc. Can you imagine how hard

Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread R�kos Attila
B is it possible to write ActionScript code to gain access to B lines/fills/shapes drawn on the stage using the standard Flash API? If you need to parse a drawing created in the Flash IDE and convert it to an AS script which creates the same result, but using Drawing API methods, then use JSFL.

RE: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread Steven Sacks | BLITZ
I think he wants to take what some artist drew in Flash and code it to draw at run-time using the drawing API. I'm not sure what benefit that has except to make designers have to code their drawings instead of draw their drawings and I don't know (m)any designers who would like to do that.

RE: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread Ben
I think he wants to take what some artist drew in Flash and code it to draw at run-time using the drawing API. I'm not sure what benefit that has except to make designers have to code their drawings instead of draw their drawings and I don't know (m)any designers who would like to do that.

Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread Robert r. Sanders
I'd second two earlier opinions, plus a few other ideas. 1. You could get a JSFL component written to translate the FLA content to a different structure. 2. You could look at the SVG renders for Flash/SWF; then the drawing could be in a different tool and exported or saved as SVG. 3. With

Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread Joseph Balderson
Ben is not asking designers to code their drawings, and I'm pretty sure you cannot access the IDE freeform pencil's actions in JSFL, I tried it once. Unless you somehow manage to get a tablet PC connected to the line drawing tool in Flash but build continuous lines, then yes, /that/ is

Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread Joseph Balderson
You would then need to create a 'player' app that reads the data and replicates the drawing's creation, at either a hardcoded or user-defined speed, to 'animate-in' the final drawing, all using the Drawing API. You can see an example of what I'm talking about here:

Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread Joseph Balderson
1. Make a drawing. 2. Email it to yourself. 3. Click the link in the email. 4. Watch it recreate the drawing. or just press Replay, DOH! :) if you move your mouse very fast while drawing you can see that it's actually creating lines...