# Quick Question -- Targeting MCs

**URL:** https://forum.kirupa.com/t/quick-question-targeting-mcs/54800
**Category:** Uncategorized
**Created:** [June 17, 2004, 5:02pm UTC](https://forum.kirupa.com/t/quick-question-targeting-mcs/54800 "2004-06-17T17:02:00Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![th3Phallex](https://avatars.discourse-cdn.com/v4/letter/t/9fc29f/32.png) [@th3Phallex](https://forum.kirupa.com/u/th3Phallex)
#### Post date: [June 17, 2004, 5:02pm UTC](https://forum.kirupa.com/t/quick-question-targeting-mcs/54800/1 "2004-06-17T17:02:00Z")

</div>

I have a movie clip on the root stage.

It’s instance name is “introMC”.

Inside the “introMC”, I have another MovieClip that I am resizing with Actionscript:

```auto

onClipEvent (load) {
 XScaleDest = 2000;
 YScaleDest = 700;
}
onClipEvent (enterFrame) {
 if (this._xscale != XScaleDest) {
  this._xscale += (XScaleDest-this._xscale)*.1;
 }
 if (this._yscale != YScaleDest) {
  this._yscale += (YScaleDest-this._yscale)*.1;
 }
 if (this._xscale >= (XScaleDest-10)) {
  this._xscale = XScaleDest;
  this._yscale = YScaleDest;
  //_root.introMC.gotoAndStop("doneFrame");
 }
}

```

As you can see by the commented line (//…), when the MC is done resizing, I want the “introMC” MovieClip to gotoAndPlay the frame called “doneFrame”…

But the

```auto
_root.introMC.gotoAndStop("doneFrame");

```

command doesn’t work. It just keeps re-doing the resize animation.

I know I’m forgetting something. Can anyone help me out here?

Thanks!!
