Problem ! Loading img from XML

HI,

This one of the weired problem i am facing while loading an img into a dynamic textfield from XML at run-time.
Here is attaching my .fla and .xml file. Things i want u look into :

In Lib there is a MC called A4-P in whcih i am creating my dynamic textField. I am loading my XML first on _root.
But there is a small complexity involved if u look at the script inside MC. There are 5 function u wiil find on the first frame of MC. But thats essential.

I am not getting my data this way
myTextField.htmlText = “<IMG SRC=‘img1.jpg’>”

It comes through diff fucntions. I guess there might the problem. Now why i am doing this?. Actually I want to manipulate the String which i am geting from XML. Like if user set
font size to 5, through fuction i am changing it to 10. Like that. So my code somewhat looks like:

myString = function1(myArray.xmlData); // Suppose xmlData = “<font size=‘4’ face=‘verdana’><b>hello how are you</b></p><IMG SRC=‘img1.jpg’ align=‘left’><br>Ashish”
myTextField.htmlText = function2(myString); //

I ve really given up …can anyone come out with any suggession. PLS I NEEEEEED my functions to be their…so just overlook that. :wink:

Any doubts let me know…

Thanx in adv

aShIsH