A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: mouseX() in javascript

  1. #1
    Join Date
    Feb 2002
    Maybe I already saw a thread on this, but why would a mouseX property work in a list of actions, but not in a javascript [ie, mouseX()] in a list of actions? I'd really like to be able to use the javascript, but I only get a single mouse position, and nothing else - program or browser. The mouseX action works, though.

  2. #2
    Senior Member kusco's Avatar
    Join Date
    Nov 2001
    Hello JDE,

    I've encountered this problem too and have reported to Insane Support.

    A workaround is to use two variable in an Action Script. Load these with MouseX and MouseY and then refer to the values in these vars in your javascript code. It's just annoying when you want to use these functions in a loop in the javascript code as there is not way of refreshing the values.

    HTH at least.


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