i have a one frame with the following actionscript to add movies to the stage
countMovOnStage = countMovOnStage + 1;
_root.attachMovie("astermov", "astermov"+countMovOnStage, countMovOnStage);
so when i test this movie it just adds a load of move clips to the stage over and over.
But lets say i wanted to randomly chage the movieclips attributes like so:
sessionNumber = Math.round(Math.random()*5+1);
this._x += sessionNumber;
this._y += sessionNumber;
this._xscale += sessionNumber;
this._yscale += sessionNumber;
this._rotation += sessionNumber;
how do i reference all the created movie clips?
something like this maybe?
"astermov"+countMovOnStage._x += sessionNumber;
can anyone help?
Or if you have a better way of doing what i want?
I just want movie clips to be created at different sives and colours and to fly off the screen in random directions...
thanks in advance
countMovOnStage = countMovOnStage + 1;
_root.attachMovie("astermov", "astermov"+countMovOnStage, countMovOnStage);
so when i test this movie it just adds a load of move clips to the stage over and over.
But lets say i wanted to randomly chage the movieclips attributes like so:
sessionNumber = Math.round(Math.random()*5+1);
this._x += sessionNumber;
this._y += sessionNumber;
this._xscale += sessionNumber;
this._yscale += sessionNumber;
this._rotation += sessionNumber;
how do i reference all the created movie clips?
something like this maybe?
"astermov"+countMovOnStage._x += sessionNumber;
can anyone help?
Or if you have a better way of doing what i want?
I just want movie clips to be created at different sives and colours and to fly off the screen in random directions...
thanks in advance