homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Gold Sponsor 2015!
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

Flash htmlText not displaying jpg's
The htmlText element in flash mx2004 refuses to display jpgs

10+ Year Member

Msg#: 59 posted 2:12 pm on Mar 17, 2004 (gmt 0)

In flashMX 2004 there is a new feature that allows you to link jpg's and swf's directly in the htmlText elements. Unfortunately, it wont dislay the jpg. All other html entities work fine.

I have a htmltext that displays html tags, but not images. It displays in the following example "a b". (bold a)

The image is non-progressive, and in the same directory. I have tried locally and on the server. If you guys can offer any advice I would be most appreciative. thanks in advance

It loads it from the file with the following script

DynText = new LoadVars();
DynText.onLoad = function (success){
if (success){
hosts.html = true;
hosts.htmlText = DynText.host
trace ("not loaded");

host=<b>a</b><IMG SRC="picture.jpg">b

<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="14" COLOR="#172B84"><B>a</B><FONT SIZE="2"><IMG SRC="picture.jpg"> <FONT SIZE="14">b</FONT></FONT></FONT></P></TEXTFORMAT>



10+ Year Member

Msg#: 59 posted 2:45 pm on Mar 17, 2004 (gmt 0)

i don't think it allows you to load in the images via html, you can load jpgs dynamically but you have to create movieclips and load the jpegs into them in order to display them using flash mx.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved