I've been working with HTML and trying to embed links in my webpages that are in offline mode. After doing some research, I came across the following code snippet:
MyClickTagButton.addEventListener(
MouseEvent.CLICK,
function():void {
if (root.loaderInfo.parameters.clickTAG.substr(0,5) == "http:" || root.loaderInfo.parameters.clickTAG.substr(0,6) == "https:") {
navigateToURL(
new URLRequest(root.loaderInfo.parameters.clickTAG), "_blank"
);
}
}
);
However, I'm facing difficulty in inserting my website links like only "person.html", "welcome.html", etc. If you have any advice or solution to this issue, please share with me. Your help will be greatly appreciated.