Dynamic stage align in the bottom

Hello everybody !

i have a little problem about a MC.

  • I put it on the stage
  • I put an action script in my MC wich look like this:

ActionScript Code:

[LEFT][FONT=Courier New]import mx.[COLOR=#000080]transitions[/COLOR].[COLOR=#000080]Tween[/COLOR];[/FONT][/LEFT]

[LEFT][FONT=Courier New]this.[COLOR=#0000ff]_y[/COLOR] = [COLOR=#0000ff]align[/COLOR] = [COLOR=#ff0000]“B”[/COLOR];[/FONT][/LEFT]

[LEFT][FONT=Courier New]var ecout:[COLOR=#0000ff]Object[/COLOR] = [COLOR=#000000]new[/COLOR] [COLOR=#0000ff]Object[/COLOR]COLOR=#000000[/COLOR];[/FONT]
[FONT=Courier New]ecout.[COLOR=#0000ff]onResize[/COLOR] = [COLOR=#000000]function[/COLOR]COLOR=#000000[/COLOR] [COLOR=#000000]{[/COLOR][/FONT]
[FONT=Courier New]bougeCOLOR=#000000[/COLOR];[/FONT]
[FONT=Courier New][COLOR=#000000]}[/COLOR];[/FONT]
[FONT=Courier New]Stage.[COLOR=#0000ff]addListener[/COLOR]COLOR=#000000[/COLOR];[/FONT]
[FONT=Courier New]bouge = [COLOR=#000000]function[/COLOR] COLOR=#000000[/COLOR] [COLOR=#000000]{[/COLOR][/FONT][/LEFT]

[LEFT][FONT=Courier New][COLOR=#000000]var[/COLOR] myTween:Tween = [COLOR=#000000]new[/COLOR] Tween[COLOR=#000000]([/COLOR][COLOR=#0000ff]this[/COLOR], [COLOR=#ff0000]"_y"[/COLOR], mx.[COLOR=#000080]transitions[/COLOR].[COLOR=#000080]easing[/COLOR].[COLOR=#000080]Strong[/COLOR].[COLOR=#000080]easeOut[/COLOR], [COLOR=#0000ff]this[/COLOR].[COLOR=#0000ff]_y[/COLOR], [COLOR=#0000ff]align[/COLOR] = [COLOR=#ff0000]“B”[/COLOR], [COLOR=#000080]1[/COLOR], [COLOR=#000000]true[/COLOR][COLOR=#000000])[/COLOR];[/FONT]
[FONT=Courier New][COLOR=#000000]}[/COLOR];[/FONT][/LEFT]

The MC dont move at all, and it isnt in the Bottom of my screen :frowning:
i need help plz.