PDA

View Full Version : Newbie drawing question.



FlashDeano
June 22nd, 2003, 07:33 AM
Hi,

I want to know how I can creatre a movie that draws a shape on screen.

I understand how to draw a line, etc but can not work out how to see the shape build. I do not want something likes Kirupas' drawing demo as I do not want the viewer to create the shape.

For example I want to see the lines being drawn and control the speed, rather than the shape simply appearing in the movie.

I realise I need to change the lineTo value but I am a newbie and need some pointers to help.

An example is the way the TV is drawn in http://www.preloaded.com/v2/telly.html although I am not sure if this uses actionscript or is something else.

regards

λ
June 22nd, 2003, 08:29 AM
That sort of thing probably doesn't use AS. I would say its probably a tweened mask.

EDIT: MM have a good tutorial about the drawing API here (http://www.macromedia.com/devnet/mx/flash/articles/precision_drawing.html)

mlk
June 22nd, 2003, 09:02 AM
yup definitely tweened mask:
you draw the whole thing and then unveil the image step by step using masks....