Solved

Insert image into Flash html text area

Posted on 2009-07-09
7
548 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
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 
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

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

717 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