[newbie ask] how to embed flashxml slideshow to CI

#1
[eluser]dhovie165[/eluser]
dear all,
im newbie, i just download slide show [.rar] from flashxml.net, but i dont know how to install at my CI website

need help.

#2
[eluser]pickupman[/eluser]
It appears the installation instructions are included in the zip file, and also online at:
www.flashxml.net/banner-rotator.html#swmi-free-install

In MVC style, you would be placing your html code into a view to load the flash.

#3
[eluser]dhovie165[/eluser]
im try to paste html code to views/menu.php like this ::

Code:
<div id="DivBannerRotatorFX"></div>
<$cript type="text/javascript" src="&lt;?php echo base_url(); ?&gt;javascripts/swfobject.js">[removed]
[removed]
var flashvars = {};
var params = {};
params.base = "";
params.scale = "noscale";
params.salign = "tl";
params.wmode = "transparent";
params.allowFullScreen = "true";
params.allowScriptAccess = "always";
swfobject.embedSWF("&lt;?php echo base_url(); ?&gt;application/views/3d-banner/BannerRotatorFX.swf", "DivBannerRotatorFX", "600", "260", "9.0.0", false, flashvars, params);
</$cript>

but when i load page with firebug,this error appear ::

Code:
"NetworkError: 403 Forbidden - http://localhost/brandedbag/application/views/3d-banner/BannerRotatorFX.swf"

wht i miss?

#4
[eluser]pickupman[/eluser]
You will find a .htaccess file in /application/ that will block direct access to any file inside of the application folder. You have two options.
1) Move the BannerRotatorFX.swf out of the application/views folder.
2) Add a FilesMatch rule inside of your /application/.htaccess to allow this file to be directly accessed.
Code:
<FilesMatch ".*\.(swf|SWF)$">
Order Allow,Deny
Allow from all
</FilesMatch>

#5
[eluser]dhovie165[/eluser]
problem solve, thanks for this forums,


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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