# Align textField with boundaries of a video

**URL:** <https://forum.kirupa.com/t/align-textfield-with-boundaries-of-a-video/228622>\
**Category:** flash\
**Created:** [June 9, 2007, 6:08pm UTC](https://forum.kirupa.com/t/align-textfield-with-boundaries-of-a-video/228622 "2007-06-09T18:08:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![LeDisciple](https://avatars.discourse-cdn.com/v4/letter/l/6bbea6/32.png) [@LeDisciple](https://forum.kirupa.com/u/LeDisciple)\
**Post date:** [June 9, 2007, 6:08pm UTC](https://forum.kirupa.com/t/align-textfield-with-boundaries-of-a-video/228622/1 "2007-06-09T18:08:03Z")

</div>

Hello everyone, I need help for that little matter in AS3. I’ve create a textField like that:

import flash.text.TextFieldAutoSize;  
import flash.text.TextField;  
private var \_playbackTime:TextField;  
\_playbackTime = new TextField();  
\_playbackTime.autoSize = TextFieldAutoSize.LEFT;  
\_playbackTime.textColor=0xE60000;  
\_playbackTime.y =20;  
\_playbackTime.x =20;  
\_playbackTime.text = “RECHERCHE DU CANAL”;  
And now, the problem is that I want that \_playbackTime.y and.x to be align bottom right with an imported flv (as the textField) and add a margin. I don’t want to use predefined pixels because I use variable video dimension. I want to create a tv channel with a logo at bottomright. Can someone may help me with that?
