View Full Version : How Can I Write A Javascript That Will Display A Flash Movie?

12-05-2009, 04:40 PM
Hi Everyone,

I must admit that I'm a newbie in writing javascript.

Can anyone help me with a script that will enable me to display a flash movie on one of my sites.

I will appreciate all your responses.

Thank you.

[Paul Ferrie ]
12-05-2009, 05:10 PM
Why re-event the wheel

SwfObject (http://code.google.com/p/swfobject/)

Hope it helps

12-05-2009, 06:12 PM
Thanks. It helped.

I'd still appreciate it if anyone can give me a straight forward script that I can use immediately to embed a particular flash file on my site.

Thank you again.

[Paul Ferrie ]
12-05-2009, 07:34 PM
You'll probably find others recommend the same. it's pretty much industry standard.:thumbsup:

Philip M
12-05-2009, 08:01 PM
Google is your friend! See for example:-


All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit.