Flash Script – Radio Button Component

By Georgina Laidlaw
We teamed up with SiteGround
To bring you up to 65% off web hosting, plus free access to the entire SitePoint Premium library (worth $99). Get SiteGround + SitePoint Premium Now

Flash’s radio button component makes creating radio buttons extremely easy.

1. To open the components panel, hit ctrl+f7.

2. Drag the RadioButton component onto the stage. Select the RadioButton component in Frame 1, and the component’s parameters will appear in the Property inspector.

3. Type "radio" into the Property inspector Instance Name text box.

4. The inital Value parameter specifies whether the initial state of the RadioButton component is selected (True) or unselected (False).

So, in the Initial Value parameter pop-up menu, select "false" so that the inital state of the radiobutton is unselected.

1185_1

5. Leave the Group Name and Data parameters as they are.

6. In the Label Placement parameter pop-up menu, leave the default value set to right alignment. This will ensure that the label will be displayed to the right of our radio button.

That’s all it takes. Test your movie!

The most important and interesting stories in tech. Straight to your inbox, daily. Get Versioning.
We teamed up with SiteGround
To bring you up to 65% off web hosting, plus free access to the entire SitePoint Premium library (worth $99). Get SiteGround + SitePoint Premium Now
Login or Create Account to Comment
Login Create Account