PDA

View Full Version : Can you load html into flash?



Pvasoldier
August 10th, 2003, 10:40 AM
HEy,

Just a question really. You can load multiple movies into a single stage? BUt can you load a html page into a flash stage? so th page is static but a html page loads in the middle of it and the rest remains flash?

If anyone knows how tell me please.

cheers

Jubba
August 10th, 2003, 10:41 AM
no. You can only load simple text formating html into a Flash Dynamic textbox.

the only allowed tags are b,i,u,a,br,font I believe...

Voetsjoeba
August 10th, 2003, 10:56 AM
font too ? I tried <font color="blue">Blue Text</font>, but it never worked. It didn't display any text behind those tags, from which I figured Flash doesn't support it :-\

Just popped into my head: is it possible with the new Flash 7 Player ?

Jubba
August 10th, 2003, 10:59 AM
I could never get it to work either but I have seen tutorials that told you use it... maybe it was an older version of Flash...

kode
August 10th, 2003, 02:18 PM
It works... :-\

Try using the hex color value...
this.createTextField("test_txt", 0, 0, 0, 0, 0);
test_txt.autoSize = true;
test_txt.html = true;
test_txt.htmlText = "<font color='#0000FF'>blue text</font>";