# Flash/xml image align center

**URL:** <https://forum.kirupa.com/t/flash-xml-image-align-center/296910>\
**Category:** flash\
**Created:** [September 22, 2009, 4:24pm UTC](https://forum.kirupa.com/t/flash-xml-image-align-center/296910 "2009-09-22T16:24:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![muertos](https://avatars.discourse-cdn.com/v4/letter/m/6f9a4e/32.png) [@muertos](https://forum.kirupa.com/u/muertos)\
**Post date:** [September 22, 2009, 4:24pm UTC](https://forum.kirupa.com/t/flash-xml-image-align-center/296910/1 "2009-09-22T16:24:33Z")

</div>

Firstly, I’m not sure what section I should put this in, so I apologise if it is totally in the wrong section.

Here is the problem I have, I am loading in text as a news feed, and it is in xml, my flash txt box has the html on on it, but for some reason if I embed an image, I can only align it left or right but not in the center. I have tried \<p\> tags, \<div\> tags etc and it only seems to effect the text and the image just remains where it is.

This is my code:

\<![CDATA[\<img src=“images/hellfestheader.jpg” height=“256” Width=“420”\>

Tickets are available now at the HELLFEST website.  
\<A HREF=“[http://www.hellfest.fr/](http://www.hellfest.fr/)” TARGET="\_blank"\>\<U\>[www.hellfest.fr](http://www.hellfest.fr)\</U\>\</A\>  
]]\>

It is really annoying me, I could make the image look like it is in the center by creating pngs or gifs with transparency either side of the image itself, but I’m sure there must be a correct way of doing what I want.

Any help would be great.

thanks.
