Jump to content

Putting FLASH on HTML page


Vanessa
 Share

Recommended Posts

Hello,I have a ".swf" button that I made using FLASH. (test movie worked fine)I want to put it on my HTML site but when I do i get a box with the familiar red "x"The way I wrote it was :

 <img src ="/Buttons/chargeworks.swf"align="middle" width="200" height="90">

I am obviously doing something wrong, can someone please tell me what I need to do for my poor button to work?Thank you much,V

Link to comment
Share on other sites

you do not use the <img> tag to call a flash file, you use the <object> and <embed> tags.The easiest ting to do is in Flash, set your publish settings to SWF and HTML. It will create the HTML fro you. So publish it, then grab the source code from the HTMl file Flash makes.

Link to comment
Share on other sites

Valid way that works in all mainstream browsers:

<object data="/Buttons/chargeworks.swf" type="application/x-shockwave-flash" width="200" height="90">   <param name="movie" value="/Buttons/chargeworks.swf">   Alternate content for people who don't have Flash player, it can be as much HTML as you want.</object>

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...