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

#1
[eluser]rana[/eluser]
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?

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
&lt;html &gt;
&lt;head&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;
[removed][removed]
[removed][removed]
[removed][removed]
&lt;title&gt;{$title}&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
[removed]
CheckCompability();
[removed]
<noscript>
    &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;
    &lt;/object&gt;
</noscript>
&lt;/body&gt;
&lt;/html&gt;

#2
[eluser]brianw1975[/eluser]
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?

#3
[eluser]rana[/eluser]
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  


Users browsing this thread:
1 Guest(s)


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