Solved

Insert image into Flash html text area

Posted on 2009-07-09
7
547 Views
Last Modified: 2012-05-07
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
0
Comment
Question by:krio7
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 20

Expert Comment

by:Gawai
ID: 24822790
0
 

Author Comment

by:krio7
ID: 24823291
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...
0
 
LVL 20

Expert Comment

by:Gawai
ID: 24823355
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 ?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 20

Expert Comment

by:Gawai
ID: 24823389
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';
0
 

Author Comment

by:krio7
ID: 24823442
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
0
 
LVL 20

Accepted Solution

by:
Gawai earned 500 total points
ID: 24823662
myTextField is the name of text field and you need to paste the code in action panel
0
 

Author Comment

by:krio7
ID: 24830944
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.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question