The only code i can find to make movie clips is the following:
if (Key.isDown(Key.SPACE)) {
i++;
bul = _root.player.attachMovie("bullet", "bullet"+i, _root.getNextHighestDepth());
bul.onLoad = function() {
this._x = _root._char._x;
this._ = _root._char._y;
};
bul.onEnterFrame = function() {
this._x += 10;
};
}
But this attaches itself to the movieclip at which the code is ran making its movement values the same as the movie clip in question.
Does anyone know any way that you can create a movie clip without attaching it to anything so that i can make proper projectiles.