Quick Links

Education Edu

Simulations Sims

Math Tools Math

Games Games

Generative ArtArt

Actinoscript Prog

Farmville Farm




Radio Button Demo

Click the above-left picture of the Radio Button applet to start the application.


Actionscript 3 Radio Button Tutorial

OK, not exactly a tutorial

Radio buttons aren't the most difficult component in the world, but done wrong, they make debugging hard. So, I've created this tool to dynamically create them.

Edit the value and label fields and press the Add New button. You can add up to 12 buttons to a group. They organize into a grid format and all obey the group choices for label placement and radio button group.

Of course, the convenient part is that the code appears in the adjacent panel. Grab it and copy it into a timeline actionscript window. You'll have to refactor it a bit to class-ify it. And don't forget to drag the relevant components into the library before you compile or else it won't know where to find them.

The Result

The finsihed product appears below, but if you prefer, click the picture above to see it at a size that won't cause eyestrain.

Content on this page requires a newer version of Adobe Flash Player.

Get Adobe Flash player