I need flash to talk to jQuery.
Here is my Flash code:
if (ExternalInterface.available)
{
ExternalInterface.call('function(){ MyFunction(); }');
ExternalInterface.call('function(){ alert("Praise Be Jesus Christ!"); }');
}
The "Alert" works great. My function does not.
Here is my jQuery:
<script type="text/javascript">
$(document).ready(function()
{
$("#flashContentABOVE").click(MyFunction);
function MyFunction()
{
$("#flashContentABOVE").css("z-index", 4 );
}
});
</script>