A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: hittest-ish question...

Threaded View

  1. #6
    Senior Member
    Join Date
    Apr 2006
    Posts
    1,059
    hehe you may want to pick up an actuall class or book on programming...but yeah

    you would just add a
    if(this != root[key]){modify _root[key] thing here}

    alternatively you could just create a big movieclip and call it targets and place all the things you want to check inside

    the do

    for( key in targets){
    if(targets[key].hittest(this)){//bust a move}
    } or you could shove the objects you want to hitTest into an array(when theyre created) and run through the array with a for loop (its all explained in the tutorial posted above)

    but seriously man doesnt matter what programming language you learn youll pick up some valuable concepts(try picking visual basic,c++,javascript, Lua , or actionscript)
    as the main thing you want to learn in concepts and its fairly easy to follow with those languages...(actionscript would prolly be best since your trying to do flash stuff...but it may be harder(or more expensive) to find one of those)
    [edit] damn reading it over its kinda harsh ...i didnt mean it in a bad way :P
    Last edited by joran420; 04-30-2006 at 02:18 PM.

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