# How to align this mc

**URL:** <https://forum.kirupa.com/t/how-to-align-this-mc/251477>\
**Category:** Uncategorized\
**Created:** [February 8, 2008, 9:22pm UTC](https://forum.kirupa.com/t/how-to-align-this-mc/251477 "2008-02-08T21:22:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![abramelin](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/abramelin/32/3256_2.png) [@abramelin](https://forum.kirupa.com/u/abramelin)\
**Post date:** [February 8, 2008, 9:22pm UTC](https://forum.kirupa.com/t/how-to-align-this-mc/251477/1 "2008-02-08T21:22:34Z")

</div>

i want to align my “img” mc to stage but i can not get it work  
here is the code

```auto

Stage.align = "TL";
Stage.scaleMode = "noScale";
stop();
import com.McPan;
var clip:MovieClip = img;
var easing:Number = .9;
var sliderXpos:Number = 40;
var sliderYpos:Number = 40;
var aperatureWidth:Number = 800;
var aperatureHeight:Number = 300;
var imgXpos:Number = ((clip._width - aperatureWidth)/2);
var imgYpos:Number = ((clip._height - aperatureHeight)/2);
var nMC:McPan = new McPan(clip, easing, sliderXpos, sliderYpos, aperatureWidth, aperatureHeight, imgXpos, imgYpos, true);
img.b1.onRelease = function() {
    nMC.slideToPoint(40,40);
}

img.b2.onRelease = function() {
    nMC.slideToPoint(-40,50);
}

img.b3.onRelease = function() {
    nMC.slideToPoint(100,150);
}

```

but the

```auto

Stage.align = "TL";
Stage.scaleMode = "noScale";

```

is not doing anything . here is the screenshot  
 ![](http://img228.imageshack.us/img228/5323/sshp8.jpg)
