0 Replies Latest reply on Sep 6, 2009 1:34 PM by lloydcodrington

    Mac OS X want show .swf file animation but work on PC

    lloydcodrington

      Hi All,

      I have a swf file which when the mouse is held down is and moved creates an animation of my file.  Now this file works perfectly on a PC based platform however on a Mac platform the features all work except the aninmation.

       

      I am attaching the fla files.  Can anyone assist as I am unable to find a solution thus far?

       

      Thanks in anticipation,

      Lloyd Codrington

       

      P.S.

      The action script for this file is as follows:

      onClipEvent (load)
      {
          stop ();
          speed = 15;
      }
      onClipEvent (mouseDown)
      {
          xRef = _parent._xmouse;
          frameRef = _currentframe;
      }
      onClipEvent (mouseMove)
      {
          if (Key.isDown(1))
          {
              frame = (frameRef + Math.floor((_parent._xmouse - xRef) / speed)) % _totalframes - 1;
              if (frame <= 0)
              {
                  frame = _totalframes + frame;
              } // end if
              gotoAndStop(frame);
          } // end if
      }