Accordion.change; Uicomponent.focusout; Uicomponent.keydown; Uicomponent.keyup - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

Events inherited from the UIComponent class
The following table lists the events the Accordion class inherits from the UIComponent class.
Event
UIComponent.focusIn

UIComponent.focusOut

UIComponent.keyDown

UIComponent.keyUp

Accordion.change

Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
Usage 1:
var listenerObject:Object = new Object();
listenerObject.change = function(eventObject:Object) {
// Insert your code here.
};
accordionInstance.addEventListener("change", listenerObject);
Usage 2:
on (change) {
// Insert your code here.
}
Description
Event; broadcast to all registered listeners when the
properties of an accordion change. This event is broadcast only when a user's mouse click or
keypress changes the value of
changed with ActionScript. This event is broadcast before the transition animation occurs.
Version 2 components use a dispatcher/event listener model. The Accordion component
dispatches a
event when one of its buttons is clicked and the event is handled by a
change
function (also called a handler) on a listener object (
call the
addEventListener()
Description
Broadcast when an object receives focus.
Broadcast when an object loses focus.
Broadcast when a key is pressed.
Broadcast when a key is released.
or
selectedChild
selectedIndex
method and pass it a reference to the handler as a parameter.
and
selectedIndex
—not when the value is
) that you create. You
listenerObject
Accordion.change
selectedChild
51

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents