Tuesday, March 23, 2010

Etch a Sketch like effect?

Hi All.

I am trying to tackle something that might be simple some.

I have an object that moves by Key interaction;

I would like to have the movement draw the trail.

Kind of like the Etch a Sketch game...

Any ideas how to approach it?



Etch a Sketch like effect?
adamlewen,



%26gt; I have an object that moves by Key interaction;

%26gt; I would like to have the movement draw the trail.

%26gt; Kind of like the Etch a Sketch game...



For that, you'll want a selection of MovieClip methods
collectively

known as the Drawing API. Head to the ''MovieClip class'' entry
of the

ActionScript 2.0 Language Reference and start looking at any
of these:



* beginFill()

* beginGradientFill()

* lineStyle()

* lineTo()

* curveTo()

* moveTo()

* endFill()

* clear()





David Stiller

Adobe Community Expert

Dev blog,
http://www.quip.net/blog/

''Luck is the residue of good design.''





Etch a Sketch like effect?
will do!

thank you

No comments:

Post a Comment