[eluser]irimi[/eluser]
Thanks for the reply Jamie.
Well, I personnally don't have problems with the presence of "index.php" in the URL. My website is powered by CI, I use the CI default URLs, they are convenient and readable, as you said, with the pretty segment-based syntax. So I want to keep my website this way... Changing the $config[‘base_url’] property to an empty string would change a lot of things in my website I fear !
The problem is that Flash seems to handle very badly the CI URLs, mostly I think because of these slashes in the URI. The swf itself loads perfectly, but the AS2 methods within it can't "read" properly the CI URLs, assuming that the segmented URI is just a tree of directories...
So I think I'll have to call the main swf with a GET parameter that will contain a classic (non-CI) URL, and give it to my classes, so they'll be able to load external files properly...
I thought about another (cleaner ?) solution : adding a .htaccess that will filter every Flash request, as my flash application calls some well identified files that are not called in my website. So, when flash comes to the server requesting a file with its wrong URL, Apache will give it the right file...
Which is the best ?