# Using align function

**URL:** https://forum.kirupa.com/t/using-align-function/172470
**Category:** Uncategorized
**Created:** [December 14, 2005, 6:18pm UTC](https://forum.kirupa.com/t/using-align-function/172470 "2005-12-14T18:18:53Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![this](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/this/32/669_2.png) [@this](https://forum.kirupa.com/u/this)
#### Post date: [December 14, 2005, 6:18pm UTC](https://forum.kirupa.com/t/using-align-function/172470/1 "2005-12-14T18:18:53Z")

</div>

hello!  
i want put one movieclip in bottom/right position in stage…  
and when resize the window this movie clip continue in max distance bottom/right (Stage.width & Stage.height) …

i try this but not work …

```auto

[color=DarkSlateGray]// asi is my movieclip[/color]
asi._x = Stage.width - 20;
asi._y = Stage.height - 20;
onEnterFrame = function () {
	 asi._x = Stage.width - 20;
	 asi._y = Stage.height - 20;
}

```

any idea ?

---------------- edit …

[color=DarkSlateGray] well im using [/color][color=DarkRed]\*\*\*Stage.align = “TR”; \*\*\*[color=Black][color=DarkSlateGray]yet!  
i cant use two Stage.align functions, right ?[/color]  
[/color][/color]
