0
as3 externalinterface addcallback not working
Community Beginner
,
/t5/animate-discussions/as3-externalinterface-addcallback-not-working/td-p/5797863
Jan 15, 2014
Jan 15, 2014
Copy link to clipboard
Copied
Hi
sorry for my bad english.
i tryed to call function from java script to swf using 'addCallback', but its not working below my code
as3:
ExternalInterface.addCallback("myFun_2", aa);
function aa(va)
{
txt.text = "working --- 2" + va;
}
JS:
calling_1('working...');
function calling_1(v)
{
alert(v);
getElementById('go').myFun_2(v);
}
here not the madatary to send the values, but testing perposs i took.
some one help me whats wrong i did.
thanks in advance
Chandu
TOPICS
ActionScript
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Community Expert
,
LATEST
/t5/animate-discussions/as3-externalinterface-addcallback-not-working/m-p/5797864#M143680
Jan 16, 2014
Jan 16, 2014
Copy link to clipboard
Copied
use swfobject to embed your swf or the sample html shown in the help files.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

