-
we read in the actionscript dictionary that flash doesn't allow one to reference an offsite file for input of variables into a movie (apparently to protect against people gathering info from user's machines). So is it impossible to reference a txt file from off site that would serve up input vars into the movie? Just thought I'd try a shot in the dark.
Reason I'm asking is b/c we have our site protected now, where it checks to see if it's being played on the right server (else it won't run.....great idea from a new tut on flashkit), and we'd like to have a txt file that is referenced each time the swf is run; the txt file would be a list of 'approved' servers from which the swf's can be played. if thief d/l's the files and plays them locally or from another site, they won't run. does anyone have any ideas on how to get this done? or if it's possible? Thanks.
-
I've not seen a work around for getting flash to do it directly but you may be able to make a PHP script (or the like) which reads the document and spits it out to Flash as though from your own server. that's theory, I've not tried it...
-
Hi,
check this thread http://board.flashkit.com/board/show...hreadid=232712 for a possible solution.
I am not sure whether this is really necessary - you could also give a specific script to the allowed sites and have the movie call this script. This should be some kind of challenge-resonse system, i.e. the movie sends current system time and expects some value back that is calculated from it. If some code thieves can find out how it works, they can probably break the protection anyway
Musicman