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
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
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...
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 ?
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';
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';
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
http://oddhammer.com/index.php/site/comments/images_in_the_text_field_or_textarea/