I'm using JQuery with the jQuery flash plugin and trying to send a JS call back to the flash, I keep running into "xxx is not a function" so apparently something is off. I'm new to JQuery and very new to this jquery flash plugin and just can't quite wrap my head around what I am doing wrong.
Here's where I'm lading up the flash:
<div id="tagimgback">
<script language="javascript">
$(document).ready(function(){
$('#tagflash').flash(
{
src: 'tagflash',
width: 200,
height: 200,
flashvars: {theYear:'2010',theTagNumber:'123'}
},
{ version: 8 }
);
});
</script>
</div>
And here's where I'm trying to call it:
$("#tagflash").gotoNewFrame(theTagNumber);
gotoNewFrame is an AS function within my flash. I know the function works as I've been able to test it prior to bringing jQuery into the mix.