listHandler - actionscript

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • abshirf2
    New Member
    • Aug 2007
    • 9

    listHandler - actionscript

    Hello all,

    I am really stuck and i am quite new to actionscript. I am trying to delete values from a listbox, depending on which is selected using a button. This is my code, but it doesn't work. It isn't deleted from list! WHY?!

    Code:
    function listHandler(component){ 
    archiveView_tx.text = listMC.getSelectedItem().label; 
    } 
    listMC.setChangeHandler( "listHandler" ); 
    
    function deleteArchive(){ editList(archiveView_tx.text, "removeOne"); 
    // calls the function on the ASC called delStream, send over the name of the flv client_nc.call("delStream", null, archiveView_tx.text); archiveView_tx.text = ""; }

    I appreciate any help. :)
Working...