4 Replies Latest reply on Jan 16, 2009 11:47 AM by Rothrock

    _visible = true listener

    W_Bell Level 1
      Anybody know if I can I make a listener object broadcast a visible event?
      Similar to the following:

      //TEST BUTTON++++++++++++++++++++++++++++++++++++++++++++++++++++++++/////////////////////////// ///

      var listenerObject:Object = new Object();
      listenerObject.myList._visible = true;
      function(eventObj:Object) {;
      // My code here
      controls_LH.mybutton._visible = false;
      }

      broadcasterObject.addListener(listenerObject);


      //OBJECTIVE: if myList.visible=true then hide the button