lemonmango Posted April 5, 2013 Share Posted April 5, 2013 Hi I am new to web coding and working on a website that incorporate swf. I wrote the code as follows: <object type="application/x-shockwave-flash"codebase="http://www.citizensoldiersupport.org/media/home-gallery.swf"width="574"'>http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"data="http://www.citizensoldiersupport.org/media/home-gallery.swf"width="574" height="359"><param name="movie"value="http://www.citizensoldiersupport.org/media/home-gallery.swf" /><param name="quality" value="high" /><param name="menu" value="false" /><param name="scale" value="noscale" /><param name="salign" value="lt" /><param name="wmode" value="transparent" /></object> however, the swf is not displaying (just white space in the area where is it supposed to be) Can anyone shed some light on what I'm doing wrong? Also just a side note, I've found many people suggesting the javascript method. But I'm not sure how to upload the objectswf.js into the server I'm working on, is there an .js already available online for use? Link to comment Share on other sites More sharing options...
Ingolme Posted April 5, 2013 Share Posted April 5, 2013 Removing the codebase attribute should work. Link to comment Share on other sites More sharing options...
lemonmango Posted April 8, 2013 Author Share Posted April 8, 2013 Hi thanks for the suggestion, however, the actual content is still not displaying after I removed the codebase attribute. Link to comment Share on other sites More sharing options...
lemonmango Posted April 8, 2013 Author Share Posted April 8, 2013 nvm, the problem isn't with the embedding code. The website restricted access to the file from other domain. 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