# Dynamic text field properties settings in ActionScript 3

**URL:** https://forum.kirupa.com/t/dynamic-text-field-properties-settings-in-actionscript-3/324009
**Category:** flash
**Created:** [July 28, 2011, 8:06am UTC](https://forum.kirupa.com/t/dynamic-text-field-properties-settings-in-actionscript-3/324009 "2011-07-28T08:06:26Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Mythri](https://avatars.discourse-cdn.com/v4/letter/m/ea666f/32.png) [@Mythri](https://forum.kirupa.com/u/Mythri)
#### Post date: [July 28, 2011, 8:06am UTC](https://forum.kirupa.com/t/dynamic-text-field-properties-settings-in-actionscript-3/324009/1 "2011-07-28T08:06:26Z")

</div>

I have a 3d wall and I’m passing images and linking through xml. Now I have added the description, but it just displays in the middle. I don’t know how to align it. On mouse over, the description of that photo should display there itself, but it is not displaying in the middle (for all the photos).  
I want to display the text on the images when i mouseover the image, now its displaying at a place for all the images.

here is my code:

please i really need it, help me out:

```auto
var name1:TextField = new TextField();
addChild(name1);

var xmlReq:URLRequest = new URLRequest("XML/ImagesData01.xml"); // rename to your file!!!
var xmlLoader:URLLoader = new URLLoader();

function imagerollover(e:MouseEvent):void
{
//var mXML:XML;
name1.text = myXML.data[Number(e.currentTarget.name)].@description;  

//var imagesprite:Sprite = e.target as Sprite;
//if(showimage == true) {

} 

```
