Insering flash to website
OK, folks, please remember that 3 months ago I knew NOTHING about HTML, images, website construction etc, and am still learning. I am the village idiot.
OK, that said I've used the Flash 30 day trial period to construct a 25s flash intro, but have no idea how to insert it into a website. I guess I need to put it in the code at the beginning of my home page? Alas, Expression Web's onboard help and a reference manual are no help for how to do this (not sure if that's because it doesn't want to help Adobe users or there's some other problem).
Any ideas?
webwiz posted this at 17:50 — 21st March 2008.
He has: 629 posts
Joined: May 2007
I use swfobject, available from the Google Projects library.
Works well cross-browser, and lets you show alternative content to people who choose to surf with Flash turned off, or don't have it on their corporate machines or iPhone.
Cordially, David
--
delete from internet where user_agent="MSIE" and version < 8;
Roo posted this at 01:47 — 22nd March 2008.
She has: 840 posts
Joined: Apr 1999
This way is valid and doesn't involve any scripting:
Replace the file name with whatever you have named yours. Replace the width and height with the dimentions of your swf. This code uses a white background color...replace with hex code of the background color you need.
<object type="application/x-shockwave-flash" data="filename.swf" width="490" height="450">
<param name="bgcolor" value="#FFFFFF" />
<param name="movie" value="filename.swf" />
</object>
Roo
webwiz posted this at 23:55 — 22nd March 2008.
He has: 629 posts
Joined: May 2007
Roo and Moonhunter:
I think you should both read Flash Embedding Cage Match over at aListApart in order to understand the issues that SWFObject addresses. There is also UFO.
I advise against using the "object" tag on its own, for the reasons given in the article.
Cordially, David
--
delete from internet where user_agent="MSIE" and version < 8;
allenion posted this at 12:27 — 3rd June 2008.
They have: 4 posts
Joined: Jun 2008
if you are using web expression 2 sites that qive great info
http://www.firstexpression.com/ and
This link takes you straight to the page that you need
http://www.learnexpression.com/Videos/EW-04/EW-04.html
http://www.daisydiva.co.uk http://www.centralmarquees.co.uk http://www.allenionwebhosting.com
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.