Welcome Guest, Not a member yet? Register   Sign In
[newbie ask] how to embed flashxml slideshow to CI

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.

It appears the installation instructions are included in the zip file, and also online at:

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

im try to paste html code to views/menu.php like this ::

<div id="DivBannerRotatorFX"></div>
<$cript type="text/javascript" src="&lt;?php echo base_url(); ?&gt;javascripts/swfobject.js">[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);

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

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

wht i miss?

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.
<FilesMatch ".*\.(swf|SWF)$">
Order Allow,Deny
Allow from all

problem solve, thanks for this forums,

Theme © iAndrew 2016 - Forum software by © MyBB