Linking to an htm file/media on a local machine
Hello This is probably a simple answer but I haven't used flash since version 3 so I am on a bit of a steep learning curve.
I am trying to produce a interactive presentation using animate CC with action script 3 which will all be presented locally on a laptop.
When I use the code
name1_button.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPage_5);
function fl_ClickToGoToWebPage_5(event:MouseEvent):void
{
navigateToURL(new URLRequest("wibble.htm"), "_blank");
}
to try and open the webpage wibble,htm it can't find the path of the file even though the wibble.htm is in the same directory as my swf and wrapper html file.
Is there a way to define a directory for paths of webpages and other media I want to link to somewhere in the program, or is there a better way to click on a button to open a webpage locally?
thanks
James

