Link to home
Start Free TrialLog in
Avatar of krio7
krio7

asked on

Insert image into Flash html text area

Hello,

I'm trying to insert an image into a text area in flash cs4 that is marked as HTML using the normal
<img src="img location">, but I cannot get the image to appear. The render text as HTML button is selected.

I dont need to style it or anything just have it come up.

thanks
Avatar of Emad Gawai
Emad Gawai
Flag of United Arab Emirates image

Avatar of krio7
krio7

ASKER

thanks for the response,

I read the page and it talks about the problems with showing pictures, not really a process on how to do it...
how about this code ?
myTextField.htmlText = '<img src="http://oddhammer.com/blog/images/samplenewsimage.jpg" width="190" height="102" id="myimage"/> Guys in front of a wall';

can u post your code here ?
Make sure the dynamic textbox is "multiline".

myTextField.html=true;
myTextField.htmlText = '<img src="http://oddhammer.com/blog/images/samplenewsimage.jpg" width="190" height="102" id="myimage"/> Guys in front of a wall';
Avatar of krio7

ASKER

right now I have a dynamic textfield with 'render text as html selected' & multiline.

I tried putting that code into the textfield, but it just shows the code as text and it is not rendering the html.

that code should go directly in the textfield right? and i should rename myTextField to the name of textfield in the program
ASKER CERTIFIED SOLUTION
Avatar of Emad Gawai
Emad Gawai
Flag of United Arab Emirates image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of krio7

ASKER

when I insert the code it disbles the scroller I'm using... I guess I will just find a new place to insert the photo. Thank you for the tips.