[jQuery] Call jquery method from flash
I'm trying to use Flash's External Interface to call a method inside
my jquery $(document).ready(function() {} ) block but no joy. I can
call a function that sits outside no problem, but then it doesn't call
the method inside...
so
$(document).ready(function() {
function sayHi() {
alert('hi');
}
})
function test() {
alert('call sayHi');
nextTab();
}
Here I get an alert with 'call SayHi' but no 'hi'. If I put the test()
in the jquery block it doesn't work at all. Any ideas what I am doing
wrong?