1 Reply Latest reply on Feb 28, 2009 6:08 PM by ryukenden

    Flash Lite 2.0 targeting problem

    ryukenden
      I´m using Flash CS4, and doing some tests with a Flash Lite 2.0 file for mobile standalone player. I can't use a newer version.

      I have a movieclip in main timeline, named "panel" (instance name), with many frames inside. And I have a frame function like this:

      function changeFrame() {
      trace("hello");
      panel.gotoAndStop(2);
      }

      I also have in my main timeline the following code:

      var keysListener = new Object();
      keysListener.onKeyDown = function() {
      var code = Key.getCode();
      if (code == ExtendedKey.SOFT1) {
      changeFrame();
      }
      }
      Key.addListener(keysListener);

      When running my file on emulator, I got the trace working, but the problem is that my target path doesn't seem to work, and this is happening just with global functions like gotoAndPlay and nextFrame. I know this looks like a primitive problem, but I'm assured that the movieclip instance name "panel" is correct and it have more than one frame inside.

      Anyone possibly knows what is happening? Thanks