DrPS314
06-12-2005, 11:55 PM
Ok. This is really annoying. So I have these movie clips inside a another movie clip, and I want to use those to control a movie clip on the main scene. Their actions are this:
onClipEvent(enterFrame){
if(this.hitTest(_level0.car)){
_level0.instance12.life._xscale-=5;
}
}
But each time I add a movie clip, the _level0.instance12.life keeps changing numbers, like from 12 to 13. Then I have to go and change all of the movie clips. Is there an easier way to do this? :confused:
onClipEvent(enterFrame){
if(this.hitTest(_level0.car)){
_level0.instance12.life._xscale-=5;
}
}
But each time I add a movie clip, the _level0.instance12.life keeps changing numbers, like from 12 to 13. Then I have to go and change all of the movie clips. Is there an easier way to do this? :confused: