QA

I l @ ve RuBoard

Q&A

Q1:

Radio button and check box components come with Flash MX. Would it be easier to use them instead of writing my own code?

A1:

In many cases, yes. But you can customize your own code in ways that the components cannot. Plus, you have more control over how your movie looks and how it performs .

Q2:

How can I have more than one group of radio buttons on the screen at the same time?

A2:

You could simply place all the radio buttons in a group together in their own movie clip. If you do that, you'll need to refer to the movie clip to use the getValue function: group1.myRadioButton.getValue() .

Q3:

Is there a way to restrict user input to only upper- or lowercase letters ?

A3:

No, but you can use String.toUpperCase or String.toLowerCase to convert the results of their input when they are finished.

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