Creating E-learning Content > Changing the appearance of a learning interaction > Changing push buttons, check boxes, and radio buttons

 

Changing push buttons, check boxes, and radio buttons

The learning interactions use the Flash MX user interface (UI) PushButton, CheckBox, and RadioButton components. You must use these UI components within the learning interaction movie clips. The learning interaction scripts use the internal features of the UI components to make everything work correctly.

The quiz templates already contain all the necessary UI components for each interaction.

 
Sizing

The PushButton components used for the Control button and Reset button can be scaled to fit your needs, as can the CheckBox and RadioButtons. Use the Property inspector to set the width and height of these components.

 
Changing the UI component graphics

There is a defined process for changing the skin of a component. For information, see Flash Help (Help > Using Flash > Using Components).

 
Adjusting the UI component text

You can use the GlobalStyleSheet object to change the text characteristics of a UI component. For detailed information, see Changing the text for the Next button. You can also refer to Flash Help (Help > Using Flash > Using Components).

 
Using components within a learning interaction

To use Flash UI components with the learning interactions, you simply add the UI components to the interaction assets and name their instances. You then need to register the instance names with the component associated with that interaction. Each learning interaction already contains the appropriate UI components as named instances. See Adding, naming, and registering assets.

Complete documentation on the UI components can be found in Flash Help (Help > Using Flash > Using Components).

Note: UI components have component parameters associated with them. The learning interaction scripts override the UI component parameters at runtime. There is no need to fill out individual parameters for each PushButton, CheckBox, or RadioButton component.