Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Flash htmlText not displaying jpg's

The htmlText element in flash mx2004 refuses to display jpgs



2:12 pm on Mar 17, 2004 (gmt 0)

Inactive Member
Account Expired


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>

2:45 pm on Mar 17, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:July 31, 2003
votes: 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.

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members