  | |  | Accordion Panel | Accordion Panel
2004-02-24 - By aspsa
Back Greetings...
============================================================================
objListener = new Object();
objListener.change = function(objEvent) {
trace( "Accordion panel change... " + objEvent.target.selectedChild);
};
acc.addEventListener( "change ", objListener);
============================================================================
According to Flash Help, the "selectedIndex " and "selectedChild " Accordion
panel properties are broadcast to listeners ONLY when triggered by a Mouse
or Key event. Altering these properties in ActionScript will forego
broadcasting.
Since my brain is locked in scramble mode at the moment, how would you trick
the Accordion panel into believing it was clicked or keyed, so that a
message is broadcast to its listeners?
Thanks.
Respectfully,
ASP
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:105141
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |