Trouble loading a PNG...?

Greetings & Salutations :smiley:

As far as I know, Flash supports PNGs, doesn’t it?

The problem is, if I import the graphic into the library, it works- but if I load it on the fly, from the same folder the flash file is in, using “htmlText”, it doesn’t display. Any ideas why?

I included the file (icon_sub.png) in case you get the chance to / feel like testing it yourself :slight_smile: (because from how it looks to me, it might be a problem with the file, not the code)… The code I use is fairly simple:

var tickersymbol_string = "<p>_<img src='icon_sub.png' width='22' height='30' hspace='0' vspace='0'></p>";

(it’s usually a loop but I distilled it to just this line)

And then:

TickerDataSymb_txt.htmlText = tickersymbol_string;

…yes, the field “TickerDataSymb_txt” exists and is named. If I use a “JPG” of the same size (dimensions), it works… but I need the transparency of the PNG.

This is bogus… :shifty: