I have a mc on stage that I want to “grow big” when you rollover it and then “grow small” when you roll off. But, then I want to be able to load another mc (or swf) into this growing and shrinking mc all simultaneously. I can’t figure out how to load the external swf into this mc as it grows and shrink. It keeps screwing up! This is the code on my mc to make it grow and shrink:
on (rollOver) {
this.onEnterFrame = function() {
this._xscale = this._yscale += 10;
if (this._xscale>140) {
delete this.onEnterFrame;
}
}
}
on (rollOut) {
this.onEnterFrame = function() {
this._xscale = this._yscale -= 10;
if (this._xscale<101) {
delete this.onEnterFrame;
}
}
}
Any suggestions?