I am pretty sure I am close on this but for some reason this is not working. I have three movie clips on stage. When I click a button I want them to enlarge by 25%. I will be adding more movie clips dynamically so I need an array. Currently the clips are not scaling and I need to do that.
This is the code
ai = new Array("aione_mc", "aitwo_mc", "aithree_mc");
removeControl_mc.onRelease = function() {
// trace(scale);
if ((scale>=25) && (scale<=99)) {
for (i=0; i<ai.length; i++) {
trace(ai[i]);
ai[i]._xscale = scale;
ai[i]._yscale = scale;
}
scale = scale+25;
//ai1._xscale = scale;
//ai1._yscale = scale;
}
};
Thanks for the assistance.