Vanessa Posted January 6, 2006 Share Posted January 6, 2006 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 More sharing options...
Skemcin Posted January 6, 2006 Share Posted January 6, 2006 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 More sharing options...
F-Man Posted January 6, 2006 Share Posted January 6, 2006 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 More sharing options...
Vanessa Posted January 6, 2006 Author Share Posted January 6, 2006 Thank you for the help, much appriciated.Works grat! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now