Welcome Guest, Not a member yet? Register   Sign In
In desparate need of help with embedding Flash
#11

[eluser]therealmaloy[/eluser]
charlie

i always use the swfobject and it works fine... normally i used the absolute addressing method for flash file's location.

fyi: swfobject 2.x used here

Code:
var flashvars = {};
var params = { wmode: "opaque" };
var attributes = {};

swfobject.embedSWF("http://www.mySite.com/public/flash_files/banner_main.swf", "flashcontent", "716", "243", "9.0.0", "download/expressInstall.swf",flashvars, params, attributes);

swfobject target inside html

Code:
<div id="flashcontent">
   flash here
</div>
#12

[eluser]Colin Williams[/eluser]
Anytime you reference a resource, it doesn't matter whether you reference it absolutely or relatively; it just matters that you reference it correctly. View the source of your rendered page. Find the URI that is generated in the SWFObject/embed code. Copy and paste the URI in a new window address bar. If you get a 404, or anything other than your flash file, then you know you are referencing it incorrectly. If it appears you are referencing it correctly, but you still get a CI-generated page, double-check your mod_rewrite rules. You could be telling Apache to go through CI to serve requests at that URI




Theme © iAndrew 2016 - Forum software by © MyBB