i changed wall to a MC (instance name: wall1 ), now the syntax is ok but nothing happens when ball hits the wall
this is my code on the MC
on(press){
startDrag(this,true);
Mouse.hide();
}
onClipEvent(enterFrame){
if (this.hitTest(_root.wall1)){
_root.ball.gotoAndPlay(2);//frame 2 of the movieclip shows an explosion of ball
}
}
here's an image of the first level, i will improve the graphics later
oh, and btw, when the mouse (not the ball) rollOvers the green square it takes you to the next level
ideas for improvemets accepted