A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: hitTest(s) acting weird

  1. #1
    Bacon-wrapped closures Nialsh's Avatar
    Join Date
    Dec 2003
    Location
    Houston!
    Posts
    338

    hitTest(s) acting weird

    Hey all. I'm having trouble with a bit of code that's supposed to be detecting whether or not the mouse is over a certain "cell" movie clip when you click. I should be able to figure this out, but it's acting really strange. I'm in MX '04 and the problem is on lines 32-41. There's a bunch of loadVars stuff in there, but it's unrelated so as far as I know, you can ignore it. Here's the FLA.
    Any help is appreciated.

  2. #2
    Bacon-wrapped closures Nialsh's Avatar
    Join Date
    Dec 2003
    Location
    Houston!
    Posts
    338
    Aaaaaah, stupid me. I was referring to _xmouse and _ymouse inside a tellTarget so they weren't relative to the main stage. Thanks for looking anyway.

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