Macromedia Flash Server - FIXED: Add AddEventListener to a dynamic peopleList

This is Interesting: Free IT Magazines  
Home > Archive > Macromedia Flash Server > April 2005 > FIXED: Add AddEventListener to a dynamic peopleList





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author FIXED: Add AddEventListener to a dynamic peopleList
Ian_McMurray-Og8htmhS31CRiLue71sHew@public.gma

2005-04-07, 5:56 pm

I just need to read more of Peldi's examples!!!

I added the following code into my .as file (I think in the right place)
after the userList get's updated...

var myList = new Object;
myList.change = function(e)
{
trace("#PeopleList# Somebody click a user");
}
m_list.addEventListener("change", myList);

and it's works a treat - Now to actually do something.....

Thanks,
Ian

PS: Peldi ROCKS

=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com