Copy link to clipboard
Copied
My class is using AS3 and they built a Flash Intro for their web site. However, we are not able to link the button in flash to our local html pages. Right now both the swf and the home.html page are located on my desktop in a folder titled - fishcom.
Copy link to clipboard
Copied
To link to an html page (in a browser) you use the navigateToURL() function.
Copy link to clipboard
Copied
Ned,
This is the code I have been using. However, it does not work. What am I doing wrong?
var url:String='file:///C:\Documents and Settings\eringll311\Desktop\fishcom\home.html';
var request:URLRequest = new URLRequest(url);
navigateToURL(request,'_target');