PDA

View Full Version : Html Feild Into Flash


Hairy_Pupil
08-22-2001, 12:47 AM
Hi,
I'm slowly designing a website for where i work.
One thing that has halted the process is the fact that i need to embed a html feild into the flash, this sounds like a simple process, but i wouldn't have a clue where to start.

Any Help?

If i can't do this then i have to slice and dice my flash, and i don't really want to do that.
Heres a link to the SWF:
http://www.infinetpc.com.au/graham/draft2ag.swf

aac
08-22-2001, 02:54 AM
Hairy_Pupil,
When you say embed a HTML Field into the flash scripting I assumed that, given the whole script, this may be able to help. Below is what your scripting should look like (courtesy of Zekebru, who taught me more on flash):

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
WIDTH=550 HEIGHT=400>
<PARAM NAME=movie VALUE="draft2ag.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="draft2ag.swf" quality=high bgcolor=#FFFFFF WIDTH=550 HEIGHT=400 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
</OBJECT>

Hairy_Pupil
08-22-2001, 03:55 AM
Thanks for the reply, but that doesn't actually help me.
I want to put a Html Field Into the Flash, and i'm not sure how to do it.

aac
08-22-2001, 04:24 PM
Sorry that didn't help. I am not too good with Flash, but one of these members must know how to do it!

-AAC

zekebru
08-22-2001, 04:47 PM
Pupil,

As far as I know, it is impossible to embed HTML inside Flash. (Actually, that's not specifically true -- you can use very limited HTML inside a TextArea if you specify to, but it's generally useless stuff.) However, if you learn more about Flash, you'd be surprised how much you can do with Flash. I would suggest this route. If you have a specific question about how to do something in Flash, post it -- people such as Red Penguin, 20 Ton Monkey, and Jesse are simply awesome at this stuff.

Jesse
08-23-2001, 02:35 AM
With Flash 5 came the common miconception that any user can whip up an HTML page in FrontPage and them import it with a few clicks into Flahs. Not true. Flash supports text. In my opinion (and it's just symantics but I stick by this) Flash supports text formatted with HTML, not true HTML. You can make text bold, colored, linked, etc. But only those sorts of simple things. If you checkout the new movies sectiont here's an example by FlashGuru in the Scripting category which covers loading text formatted with HTML.