Doug Lowder wrote:
> 
> If you need the entire event, I guess you could call dispatchEvent()
> with your own event object. What I usually do instead is have the
> event handler call a function that takes the object as input, e.g.
> change="onSelectionChanged(event.target)", in which case I can always
> call onSelectionChanged(theListObject) anytime selectedIndex changes
> in script.

I do that in javascript all the time.  In one large form application I 
have that has a LOT of dynamic content, pretty much *EVERY* item in the 
form has onChange="change(this);", then perform actions based on the 
object's ID.

I'd imagine the same strategy would work well in actionscript.

Rick


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to