I am trying to call call action script function from JS but i get the following error
Error: getFlashMovie(swfobjectID).sayWhat is not a function
When calling from javascript try:
myMovieName.sayWhat();