I am trying to use getURL to link to a word doc. The file info will be taken from an xml file.
The code below works fine if the absolute path is used but we will running this swf on a dvd and we will not know what the drive letter is in the users pc so we have to use a relative link, unless anyone knows of a way I can simulate the FSO Path within actionscript. Or can anyone spot anything else wrong?
Actionscript:
xml:
Cheech
[Peace][Pipe]
The code below works fine if the absolute path is used but we will running this swf on a dvd and we will not know what the drive letter is in the users pc so we have to use a relative link, unless anyone knows of a way I can simulate the FSO Path within actionscript. Or can anyone spot anything else wrong?
Actionscript:
Code:
var myDoc = docs.childNodes[0].attributes.file;
doc1_mc.onRelease = function () {
getURL(myDoc);
}
Code:
<document desc="doc 1" file="docs\doc1.doc" title ="dogs"/>
Cheech
[Peace][Pipe]