listHandler

  • compsci
  • Born
  • Born
  • compsci
  • Posts: 2

Post 3+ Months Ago

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: [ Select ]
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 = "";
}
  1. function listHandler(component){
  2.     archiveView_tx.text = listMC.getSelectedItem().label;
  3. }
  4. listMC.setChangeHandler( "listHandler" );
  5. function deleteArchive(){
  6.     editList(archiveView_tx.text, "removeOne");
  7.     // calls the function on the ASC called delStream, send over the name of the flv
  8.     client_nc.call("delStream", null, archiveView_tx.text);
  9.     archiveView_tx.text = "";
  10. }



I appreciate any help. :)
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 12 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.