var bitmapMC:BitmapData = new BitmapData(SW, SH, true, 0xFFFFFFFF);
var mcreference:MovieClip = holder[holdername];
bitmapMC.draw([mcreference]);
I’m trying to pass an mc by array reference into a BitmapData.draw method.
The code above seems to work only when I replace the [mcreference] with a movieclip that is on the stage; holder.holder_mc1 for example.
Am I not passing/typing the variable correctly, or is this a bug in Flash 8? (Currently, the mcreference “variable” is typed as an MC.)
Thanks for any help!