[jQuery] Calling function in document ready?

[jQuery] Calling function in document ready?


I have a function within the
$(document).ready(function() {
function myFunction(){
}
));
But I want to call it from Flash? What name should I use?
jQuery.myFunction does not seem to work..