listHandler

  • compsci
  • Born
  • Born
  • No Avatar
  • Registrado: May 10, 2007
  • Mensajes: 2
  • Status: Offline

Nota Septiembre 14th, 2007, 2:09 pm

Hola a todos,

Estoy muy pegado y estoy bastante nuevo para ActionScript. Estoy tratando de eliminar valores de un cuadro de lista, dependiendo de que se selecciona mediante un botón. Este es mi código, pero no funciona. No se elimina de la lista! ¿POR QUÉ?! :?
Código: [ 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. }



Agradezco cualquier ayuda. :)
  • Anonymous
  • Bot
  • No Avatar
  • Registrado: 25 Feb 2008
  • Mensajes: ?
  • Loc: Ozzuland
  • Status: Online

Nota Septiembre 14th, 2007, 2:09 pm

Publicar Información

  • Total de mensajes en este tema: 1 mensaje
  • Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 27 invitados
  • No puede abrir nuevos temas en este Foro
  • No puede responder a temas en este Foro
  • No puede editar sus mensajes en este Foro
  • No puede borrar sus mensajes en este Foro
  • No puede enviar adjuntos en este Foro
 
 

© 2011 Unmelted, LLC. Ozzu® es una marca registrada de Unmelted, LLC