# FLUID Positioning question =)

**URL:** <https://forum.kirupa.com/t/fluid-positioning-question/283029>\
**Category:** Uncategorized\
**Created:** [March 1, 2009, 7:47pm UTC](https://forum.kirupa.com/t/fluid-positioning-question/283029 "2009-03-01T19:47:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![iLies](https://avatars.discourse-cdn.com/v4/letter/i/59ef9b/32.png) [@iLies](https://forum.kirupa.com/u/iLies)\
**Post date:** [March 1, 2009, 7:47pm UTC](https://forum.kirupa.com/t/fluid-positioning-question/283029/1 "2009-03-01T19:47:11Z")

</div>

Hi, I’m new to AS 3.0 and I don’t get this fluid thing fully.

Everything works fine when I want my movieclip to align to the middle of the screen but when I try to make a button (or any movieclip) always align to bottom right I can’t figure out how. Here’s my AS, how do I make the “ball\_mc” align bottom left?

[SIZE=1]import fl.transitions.Tween;  
import fl.transitions.easing.\*;  
import fl.transitions.TweenEvent;

stage.addEventListener(Event.RESIZE, resizeListener);  
stage.scaleMode = StageScaleMode.NO\_SCALE;  
stage.align = StageAlign.TOP\_LEFT;

var xTween:Tween;  
var yTween:Tween;

function resizeListener (e:Event):void {  
trace("stageWidth: " + stage.stageWidth + " stageHeight: " + stage.stageHeight);  
xTween = new Tween (ball\_mc, “x”, Elastic.easeOut, ball\_mc.x, (stage.stageWidth / 2), 2, true);  
yTween = new Tween (ball\_mc, “y”, Elastic.easeOut, ball\_mc.y, (stage.stageHeight / 2), 2, true);  
} [/SIZE]

Here’s an example of how I want my movieclip to get placed, (like the “fullscreen” button): [http://www.rmdinteractive.com/](http://www.rmdinteractive.com/)

Thanks for reading! _[SIZE=1]pls don’t hate me for being dumb[/SIZE]_

[SIZE=3]/[/SIZE]iLies
