PDA

View Full Version : HTML in Flash MX


popgoat
07-25-2004, 01:07 PM
Hello people. As I'm a new member here, i stumbled on this site trying to find out how to do HTML on Flash.
On Bravenet.com (web tools), the links to the forums/guestbook etc etc are all in HTML to add to your site. As im in the making of my band's site, i dont know how to input html code onto flash. if anyone can help me i would be very greatful

cheers
dom

ps. im a noob at this sort of thing :)

Cota
07-26-2004, 04:16 AM
Could you explain what you're trying to do alittle better...the more details you provide, the better we can assist you.

tg
07-26-2004, 03:17 PM
you can put some html code into textfields, but flash textfields only recognize html 1.0 code, so you get stuff like: <b>,<i>, <u> <font> and a couple of others.

Ruben
07-31-2004, 11:13 AM
Dunno if it's compatible for FMX as well, for FMX04 it is anyway...

You can use basic html in textfields like tg said, besides that you can load html- and css-files into an swf and apply them to a textfield. Furthermore you can do some layout-stuff using the textfield-properties and (last but not least :p) the textformat-object...

NOTE: You can't use both external css-files AND the textformat-object, you gotta choose, sucky ey? ;)

link#1 (http://www.actionscript.org/tutorials/beginner/XML-Formatted_Content/index.shtml) link#2 (http://www.actionscript.org/tutorials/intermediate/load_images_via_XML/index.shtml) - HTMLXML loaded into SWF FMX04
link (http://www.actionscript.org/tutorials/beginner/css_in_flash/index.shtml) - CSS loaded into SWF FMX04
link (http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary726.html) - Textfield-properties FMX
link (http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary788.html) - Textformat-object FMX

:) - Ruben

Diego74
11-07-2004, 03:24 AM
FMX04
link (http://www.actionscript.org/tutorials/beginner/css_in_flash/index.shtml) - CSS loaded into SWF

Hi

sorry for diggin up a old thread, but i find the above handy.

What I am having problems with, I am trying to set the target of my link to _blank but it seems to not let me do that? Is something so simple not possible?

Thanks for the links posted about btw! :)

glantucan
11-08-2004, 06:18 PM
Hi Diego74
You have a spanish name. Are you spanish? :D Didn't know there were spanish guys around here.

I had the same problem. Use target="other" instead. It worked for me, both in IE and Firefox.

Have fun!
GlanTucan

Diego74
11-09-2004, 10:31 AM
Hello

No I am actually from Australia. Born in Argentina.

Thanks for that it works a treat!

:)