Open files (PDF) located on a different server within a network?
I have a client that would like a button that will open a PDF document.
The PDF is located on another server volume than where the Flash projector file (EXE) will reside.
This is the code I would normally use for access a PDF that is located within the same folder structure of the EXE.
btnEquip.addEventListener(MouseEvent.CLICK, openPDF);
function openPDF(event:MouseEvent):void {
var url:String = "project\units\Training\Interactive\data\datasheet.pdf";
var request:URLRequest = new URLRequest(url);
navigateToURL(request);
}
I thought that Flash was limited to accessing files only within it's folder structure or from a web server.
Is it possible to access a file on another server volume?
The path the client is providing starts with \\
I assumed that a drive letter would need to be included.
