5 Replies Latest reply on Mar 14, 2007 5:05 PM by kglad

    flash map

    JoeyJon
      I went through a flash map tutorial at :
      http://www.webdesigntutorials.net/tutorials/flash_tutorials/Flash_MX_tutorials_Creating_a_ Magnifying_Glass.php

      All of the codes are showing errors... is it me or the code? the code is:

      onClipEvent (enterFrame) {
      _root.myMap._x = (_root._xmouse * -1.5);
      _root.myMap._y = (_root._ymouse * -1.5);
      }
        • 1. Re: flash map
          kglad Adobe Community Professional & MVP
          that code needs to be attached to a movieclip.
          • 2. Re: flash map
            JoeyJon Level 1
            it is
            • 3. Re: flash map
              kglad Adobe Community Professional & MVP
              what error is that code generating?
              • 4. Re: flash map
                JoeyJon Level 1
                **Error** Scene=Scene 1, layer=glass, frame=1:Line 2: Syntax error.
                      _root.myCircle._x = (_root._xmouse);

                **Error** Scene=Scene 1, layer=glass, frame=1:Line 3: Syntax error.
                      _root.myCircle._y = (_root._ymouse);

                **Error** Scene=Scene 1, layer=big map, frame=1:Line 2: Syntax error.
                      _root.myMap._x = (_root._xmouse * -1.5);

                **Error** Scene=Scene 1, layer=big map, frame=1:Line 3: Syntax error.
                      _root.myMap._y = (_root._ymouse * -1.5);

                **Error** Scene=Scene 1, layer=glass rim, frame=1:Line 2: Syntax error.
                      _root.myRim._x = (_root._xmouse);

                **Error** Scene=Scene 1, layer=glass rim, frame=1:Line 3: Syntax error.
                      _root.myRim._y = (_root._ymouse);

                Total ActionScript Errors: 6 Reported Errors: 6
                • 5. Re: flash map
                  kglad Adobe Community Professional & MVP
                  comment out the code in your first message. do the same error messages appear? if so, that code causing those error messages is not the code you showed.