Welcome Guest, Not a member yet? Register   Sign In
SWF and codeigniter
#8

[eluser]mddd[/eluser]
No you should not place any non-Codeigniter content in the Codeigniter directories.
Codeigniter works in its own way! Everything else (css, images, javascript, swf) should be stored elsewhere.
It wouldn't work anyway. If the browser asks for /home/content.xml, CI will look for a controller called 'home' and method called 'content.xml'.. it will not find the file. You need to put the file outside of the CI system folder and make sure you link to the files using absolute paths (that is, starting at the web root folder). Like /just4fun/swf/myfile.swf and program your swf so that it looks in /just4fun/swf/ to find the content.xml file and other assets/images for Flash.


Messages In This Thread
SWF and codeigniter - by El Forum - 08-11-2010, 02:30 AM
SWF and codeigniter - by El Forum - 08-11-2010, 02:35 AM
SWF and codeigniter - by El Forum - 08-11-2010, 03:28 AM
SWF and codeigniter - by El Forum - 08-11-2010, 03:34 AM
SWF and codeigniter - by El Forum - 08-11-2010, 03:52 AM
SWF and codeigniter - by El Forum - 08-11-2010, 03:56 AM
SWF and codeigniter - by El Forum - 08-11-2010, 04:00 AM
SWF and codeigniter - by El Forum - 08-11-2010, 04:11 AM



Theme © iAndrew 2016 - Forum software by © MyBB