I'm trying to play the flash file through HTML. The button in the flash is supposed to open a webpage but it doesn't open when I try through my browser. The buttons work fine when I test them in flash. This is the HTML code that uses the .swf file.
</div>
<div class="bodytext">
<object width="800px" height="400px" data="C:\Users\ME\Documents\Adobeflash\Tulsi\algo- mainmenu.swf"></object>
</div>
<br/>
The action script for the button from the flash file is below:
button_1.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPage);
function fl_ClickToGoToWebPage(event:MouseEvent):void
{
navigateToURL(new URLRequest("http://www.adobe.com"), "_self");
}
<a>,<span>, ... ?