FLASH:
Create a movieclip on your stage and give it an instance name, in this case it's 'btn_example'
In your actionscript layer add:
Code: Select all
import flash.external.ExternalInterface;
btn_details.onRelease = function () { ExternalInterface.call("firehs");
};
In the head section of your page add:
Code: Select all
<script type="text/javascript">
function firehs(){
document.getElementById('hslink').onclick();
}
</script>
Code: Select all
<a id="hslink" href="index.php#intro" onclick="return hs.htmlExpand(this, { objectType: 'ajax'} )">text</a>