Search tutorials
Array hitTests
I'm just going to breifly cover the code for hittests between 2 arrays.
for(k in Array1){
for(j in Array2){
if(this[Array1[k].clip].hitTest(this[Array2[j].clip])){
//Run code
}
}
}
| » Level Intermediate |
|
Added: 2006-05-09 Rating: 2 Votes: 8 |
| » Author |
| Cornyanimation is about to post his first major flash project, and is learning javascript. |
| » Download |
| Download the files used in this tutorial. |
| Download (0 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!