0 Replies Latest reply on May 16, 2006 4:30 AM by wandrer

    Why is this not working

    wandrer
      Hello all,

      I am working under Flash Pro 8, following code is not working, could somebody explain me why? (I am trying to call frame/label from combobox):

      var cbListener : Object = new Object();
      cbListener.change = function(evt_obj : Object) {
      gotoAndStop(paint_styl.getSelectedItem().data);
      };
      paint_styl.addEventListener("change", cbListener);

      Where as the following code works if published for Flash Player 6 (I don't want to do this as I want to use BitmapData which is not available for Flash Player 6)