Hi guys im tring to make a movieclip point at a movieclip
within classes
i have a turrent class, a player class, and a main class that controls everything.
so in my main class i put this code
to display the player:
var spike = new Spike2()
addChild(spike)
and this code to display turrent:
var turrent = new turrentClass();
addChild(turrent);
turrent.x = 1134.15;
turrent.y = 419.55;
so after i loaded the swf everything worked fine but
the turrents barrel wont point at the player.
can you guys tell me what im supposed to do to get the turrents barrel to point at the player or how can i give instance names to things that arent on stage.
thanks