As3 Function Call From Javascript
I am trying to call a AS3 function from javascript but getting the following error in browser: Object doesnot support property or method myCreateFile . Below is the AS3 class: pack
Solution 1:
The problem is that you have used same id
in three places. Change "flashcontent
" here:
swfobject.embedSWF("CreateDoc.swf", "flashcontent" , ...
to something else , unique_id
for example , so it will be: swfobject.embedSWF("CreateDoc.swf", "unique_id" ...
. After that use this id here : document.getElementById("flashcontent");
too , like document.getElementById("unique_id");
Post a Comment for "As3 Function Call From Javascript"