lemonmango 0 Posted April 5, 2013 Report 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? Quote Link to post Share on other sites
Ingolme 1,035 Posted April 5, 2013 Report Share Posted April 5, 2013 Removing the codebase attribute should work. Quote Link to post Share on other sites
lemonmango 0 Posted April 8, 2013 Author Report Share Posted April 8, 2013 Hi thanks for the suggestion, however, the actual content is still not displaying after I removed the codebase attribute. Quote Link to post Share on other sites
lemonmango 0 Posted April 8, 2013 Author Report Share Posted April 8, 2013 nvm, the problem isn't with the embedding code. The website restricted access to the file from other domain. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.