Hi,
The following code is working fine. But I want to open the same file using short file path. I am keeping the folder (with all PDF files) in same folder where my index.html file exists.
How to modify the following code to achieve the same:
MainContainer.NavigationPanel.Procedure.addEventListener(MouseEvent.CLICK,ProcedureClickHandler);
function ProcedureClickHandler(event:MouseEvent):void {
navigateToURL (new URLRequest ("http://MyServer/info/WebFolder/Docs/Procedure.pdf"));}
Instead of the above long path I would like to have path like “[COLOR=#ff0000]Docs/Procedure.pdf[/COLOR]” as newURLRequest.
How to modify it? Please help.