MzzM
February 25th, 2003, 12:39 PM
Allo again,
:tie: i have the following code setup so that when MC1 hits MC2 the first MC plays the rest of its scene, in this case an explosion. the problem is that the clip doesnt play until after MC1 has moved so it isnt touching MC2. heres the code so far
onClipEvent (enterFrame) {
if (_root.ship, hitTest(_root.l6)) {
_root.ship.gotoAndPlay( 2 );
}
}
can anyone add ne thing to this to help. a link 2 a useful tutorial or sumthing? please.
I hope ive explained myself clear enough 4 u 2 understand wat im gettin at.
how embarrasing, a house full of condiments and no real food
:tie: i have the following code setup so that when MC1 hits MC2 the first MC plays the rest of its scene, in this case an explosion. the problem is that the clip doesnt play until after MC1 has moved so it isnt touching MC2. heres the code so far
onClipEvent (enterFrame) {
if (_root.ship, hitTest(_root.l6)) {
_root.ship.gotoAndPlay( 2 );
}
}
can anyone add ne thing to this to help. a link 2 a useful tutorial or sumthing? please.
I hope ive explained myself clear enough 4 u 2 understand wat im gettin at.
how embarrasing, a house full of condiments and no real food