|
|
 |
FN-FORUM: Flash filepath conundrum.
date posted 29th June 2003 16:19
Hi
I'm integrating some flash games into a CMS.
The CMS likes to do the same thing for every "type" of file e.g based on
a template it creates a container page for the content.
where the content is a swf file it does the same page for every swf -
obviously filenames changed accordingly.
Now my problem is that the flash games are being provided by another
contractor and some of them have highscore tables (.txt files) and a
reference file to provide a flexible path to the CGI script for the
highscore updates.
Everything works as long as I use the (non validating) html file the
contractor has supplied and the swf is called from the html in the same
folder as the .txt files.
as soon as I call the swf from another html file the swf loses the .txt
files and can't do high scores.
is there a clever way round this?
either something I should be asking for in the swf or something that I
can add to the new html file that will maintain the links?
I'm using the validating flash satay method of embedding the file
http://www.alistapart.com/stories/flashsatay/
which may be compounding the problem, trouble is I'm a real Flash newbie
and don't understand exactly what I've done apart from thinking that
there ought to be a way of keeping swf and associated files in a folder
and even if called from somewhere else the associated files should still
be found...
Help anyone?
FWIW a game that does work is here:
http://www.torbytes.co.uk/op/tm3/lv1/item1345-def.htm
and one that does, apart from the high scores is here:
http://www.torbytes.co.uk/op/tm3/lv1/item1359-def.htm
TIA
Tony
|
 |
|