Solved

Insert image into Flash html text area

Posted on 2009-07-09
7
543 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
  • 4
  • 3
7 Comments
 
LVL 20

Expert Comment

by:Gawai
Comment Utility
0
 

Author Comment

by:krio7
Comment Utility
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
Comment Utility
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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 20

Expert Comment

by:Gawai
Comment Utility
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
Comment Utility
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
Comment Utility
myTextField is the name of text field and you need to paste the code in action panel
0
 

Author Comment

by:krio7
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
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 how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…

763 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now