As2 movieclip timeline help

2 posts

Flag Post

hey just after some help in relation to the concept of using movieclips to store a timeline for level 1. So for example the time line for level 1 with be in mc_1 etc etc. Though i did this and and it seems everything works such as movement on main character and all other object though hitTest doesnt work. Anyone got any ideas on how to get my hitTest to work?

My current hitTest code is: (Code is within movieclip that is within a movieclip)
onClipEvent(enterFrame){
if(this.hitTest(root.mcball)){
root.mcball.x += 5;
}
}

Any suggestions on how to get this to work would be greatly appreciated thank you.

 
Flag Post

try _root.mcball instead of root.mcball