0 Replies Latest reply on Oct 16, 2008 8:05 AM by TheDude7563

    Window Event, problem with attaching listener

      Can someone point me in the right direction here

      1: window.nativeWindow.addEventListener(air.Event.RESIZE,onResizeComplete);
      2: window.nativeWindow.addEventListener(air.Event.MOVE,onMoveComplete);

      Line #1 works perfect, line #2 throws an error: "TypeError: Error #2007: Parameter type must be non-null."

      Both functions onResizeComplete and onMoveComplete are defined the same way.