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
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
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
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...
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
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
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
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
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.
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.
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.
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
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
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:
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...
15 matches
Mail list logo