Okay, i'm making a game when you are shooting stuff, and when you shoot the bullet comes out, and smoke comes out aswell.. but the smoke is being duplicated behind everything else, i've made sure that the smoke is on a layer by its self at the top, so its infront of everything, please can someone tell me why this is happening? :(
var bc = 1000;
_root.onMouseDown = function() {
bc++;
if (bc>1100) {
bc = 1000;
}
if (_root.fired == false) {
duplicateMovieClip("smoke", "s"+sc, sc);
duplicateMovieClip("bullet", "b"+bc, bc);
_root.gun.gotoAndStop(2);
_root.fired = true;
_root.shootin.gotoAndPlay(1);
}
};
stop();
Thats the coding.. Thanks :)