• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Embedding flash with CI/smarty

I am using CI with smarty libraries(for views). There I wan to embed a flash .swf movie, but it isn't working. Here is the code I am using. All css, javascript are getting ok, only .swf movie isn't showing up. Can anyone please help me?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
&lt;html &gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
&lt;link rel="stylesheet" type="text/css" href="{$view_url}/css/layout.css" /&gt;
    &lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="990" height="465" id="Main" align="middle"&gt;
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="allowFullScreen" value="false" />
    <param name="movie" value="{$view_url}/images/test.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />    &lt;embed src="{$view_url}/images/test.swf" quality="high" bgcolor="#ffffff" width="990" height="465" name="Main" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /&gt;

what does the html output say?
is the flash $view_url/images/test.swf actually there?
have you done any file filtering in the .htaccess?

Thanks for replying.

no .htaccess filtering.....
.swf is in correct path & also all other with same path definition(javascript,css) is working/importing well as I said.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.