MACROMEDIA FLASH MX 2004-USING FLASH Use Manual page 399

Hide thumbs Also See for FLASH MX 2004-USING FLASH:
Table of Contents

Advertisement

Changing buttons, check boxes, and radio buttons
The learning interactions use the Flash user interface (UI) Button, CheckBox, RadioButton and
TextInput 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
function properly.
The quiz templates already contain all the necessary UI components for each interaction. To use
UI components in Flash MX or later documents, you must publish the SWF file using
ActionScript 2.0.
Sizing
The Button components used for the Control button and Reset button can be scaled to fit your
needs, as can the CheckBox, RadioButton, and TextInput components.
To set the width and height of the Button, CheckBox, and RadioButton components:
Select the component and change its settings in the Property inspector.
UI component graphics
There is a defined process for changing the skin of a component. For more information, see
"Editing component skins in a document" in Using Components.
UI component text
You can use the
For detailed information, see
on page
414. See also Chapter 5, "Customizing Components" in Using Components.
About using components within a learning interaction
To use Flash UI components with a learning interaction, 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
on page
407.
For complete documentation on the UI components, see Using Components.
Note: UI components have a Component inspector associated with them. The learning interaction
scripts override the UI Component inspector at runtime. There is no need to fill out individual
parameters for each Button, CheckBox, RadioButton or TextInput component.
object to change the text characteristics of a UI component.
GlobalStyleSheet
"Setting control button labels for a learning interaction"
"Adding, naming, and registering assets"
Changing the appearance of a learning interaction
399

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents