-
Embeding Flash into HTML
This is a sorta a flash question. I am trying to embed my flash file into an HTML page which I was told I should do so that all type of browsers can see the web site.
So this is how I embed the file...
<embed src="file.swf" width="100%" height="100%">
Using windows it looks fine. Now I still think the < width="100% height="100%> is wrong. one reason is when I few the site using Linux, I see the site, but a lot smaller. To small really.
Does anyone know what code I should be using vs what you see?
Thanks for everyones input ahead of time.
-
FK's Geezer Mod
Generate an html page from flash, using File/Publish Settings. Then either use the html page flash creates, or use the object code in the source of the page on another html page. It ought to be compatable with all browsers.
-
Your right. I guess the HTML file the "publish" makes should work for all of them.
Thanks Again
-
Living Proof
Full code to embed .swf into .html
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH="880" HEIGHT="600" id="stage" ALIGN="">
<PARAM NAME=movie VALUE="YOUR.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#333333>
<EMBED src="YOUR.swf" quality=high bgcolor=#333333 WIDTH="880" HEIGHT="600" NAME="" ALIGN=""
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
</EMBED>
</OBJECT>
If someone tells you it can't be done,
it's probally because they don't know how.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|