A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [F8]Changing the mouse reference point?

  1. #1
    Member
    Join Date
    Aug 2006
    Posts
    31

    [F8]Changing the mouse reference point?

    This could actually solve the problem i have from my other post.

    When i load my external swf(its a game that uses the mouse co-ordinates to use startDrag and calculate a hit test), the game uses the coordinates based on the entire main flash file which is much larger. If i position the movieClip at (0,0) then all is fine.

    My question is: If i wanted to move the movieclip somewhere other than (0,0), is there any way (without editing the game file) to change the mouse x and y values when being read by the game? Like maybe a onRollOver function?

    Thanks before hand

  2. #2
    Member
    Join Date
    Aug 2006
    Posts
    31
    up. still wondering

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