A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: aBoo:Boolean = hitTest value?

  1. #1
    XRave tongxn's Avatar
    Join Date
    Apr 2005
    Location
    Somewhere near Here
    Posts
    870

    aBoo:Boolean = hitTest value?

    Is it possible to have a Boolean value, which depends on a hitTest?

    I am trying to think of something like this:
    aBoo:Boolean = this.hitTest(root.circle)

    or Is there any other way?

    Thx
    When you actually know what "OMG I have so much homework!" means, you won't want to be me.
    Xrave

  2. #2
    Senior Member
    Join Date
    Apr 2005
    Location
    FL, USA
    Posts
    442
    Why not just:
    Code:
    if(this.hitTest(something)) {
    Hit = true;
    }

  3. #3
    XRave tongxn's Avatar
    Join Date
    Apr 2005
    Location
    Somewhere near Here
    Posts
    870
    Goofy idea! thanks!
    When you actually know what "OMG I have so much homework!" means, you won't want to be me.
    Xrave

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