dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: X and Y Position

  1. #1
    Junior Member
    Join Date
    Oct 2000
    Posts
    5
    I have used the code before but it has been awhile since I have played in flash and have forgoten it. I am looking for the code that W/ the on roll over it will change the ypos and return it to 0 on roll out. i cant get it to work.

  2. #2
    Registered User
    Join Date
    Feb 2001
    Posts
    184
    on(rollOver)
    yourTarget._y = 50;
    }

    on(rollOut)
    yourTarget._y = 0;
    }

    This will shift the _y of yourTarget by 50 pixels on a rollover.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center