?
Solved

Insert image into Flash html text area

Posted on 2009-07-09
7
Medium Priority
?
552 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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 2000 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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

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…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

762 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