This content has been marked as final. Show 4 replies
How about checking "_movie.path" and searching that string for 'dswmedia' ?
Thanks again Ben.
Well, I think _movie.path can't work to search 'dswmedia' folder cos when the dcr and html are put into the server, it will just prompt the _movie.path as "www.mydomain.com", rather than the user's harddisk.
Anyway, thank you.
The dswmedia folder is specifically for use when the shockwave movie itself is running from the user's hard disk.
It has no effect on movies running from the web. Movies running from the web can only access files within their own web domain (or other web domains, with a security pop up box). They cannot access files on the user's HD even if there's a dswmedia folder somwhere.
Shockwave movies have restrictions placed on what they can do, to avoid the possibility of maliciously written dcr's causing damage to users' data.
When running from the web: Shockwave can read external files within the same domain as the dcr, or files from another web domain, if a security pop-up box is confirmed by the user. It cannot access files on the user's local machine, with the exception of 'setpref' and 'getpref' files.
When running locally without a dswmedia folder: Shockwave cannot read external files, or discover local filenames (for example, the movie path value is empty).
When running locally within a dswmedia folder: Shockwave can read external files that are within the dswmedia folder, and can ascertain the moviepath.
The dswmedia folder is therefore to allow the 'simulation' of how shockwave runs on the web, bypassing the extra security restrictions normally placed on shockwave movies when run off the local HD.
So the only kind of shockwave movie that can read files off the user's HD (with the exception of pref files) is one which itself is running locally, and is within a dswmedia folder on the user's HD.
Sorry for the bad news!
Hope this clears things up,
I searched that Shockfiler Xtra is able to transfer and find the location of dswmedia folder, I have tried to email them but still get no feedback.
I am still looking forward for their reply on dswmedia folder enquiry.