QA

I l @ ve RuBoard

Q&A

Q1:

Is there any way to draw on top of existing objects?

A1:

Yes. Just draw everything in a movie clip. You can use swapDepths to ensure that the movie clip is in front of all other objects.

Q2:

Can I create other common Flash shapes such as boxes with rounded edges and circles?

A2:

Yes, but you will have to do it using the lineTo and curveTo commands. No other methods of drawing are supported.

Q3:

How do I get rid of movie clips that I have created?

A3:

The removeMovieClip command works with movie clips created with the createMovieClip command.

Q4:

Do I need to know the width and height of the text field before I place any text in it?

A4:

You need to provide width and height in the createText command, but if you set the autoSize property of the field to true, the field should size itself to fit your text.

I l @ ve RuBoard


Sams Teach Yourself Flash MX ActionScript in 24 Hours
Sams Teach Yourself Flash MX ActionScript in 24 Hours
ISBN: 0672323850
EAN: 2147483647
Year: 2002
Pages: 272

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net