In your AS3 code, have you added a callback using ExternalInterface like
this:
ExternalInterface.addCallback("startAllAni", startAllAni);
More details here:
http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118a9b90204-7cb2.html#WS5b3ccc516d4fbf351e63e3d118a9b90204-7ca7
Thanks,
Om
On Wed, Feb 17, 2016 at 2:16 AM, agm65 <[email protected]> wrote:
> Hi all,
>
> i have problens calling a function in my flash:
>
> var flashvars = {
> };
>
> var params = {
> allowScriptAccess: "always",
> wmode: "transparent",
> quality: "high",
> menu: "false"
> };
>
> var attributes = {
> id:"flash_movie",
> name: "flash_movie"
> };
>
> swfobject.embedSWF("section_02.swf", "section_02", "100%", "100%", "9.0.0",
> "expressinstall.swf",flashvars,params,attributes);
>
>
> call:
>
> document.getElementById("section_02").startAllAni();
>
> or
>
> document.getElementById("flash_movie").startAllAni();
>
>
> always function undefined?
>
>
>
>
>
>
> --
> View this message in context:
> http://apache-flex-users.2333346.n4.nabble.com/swfobject-call-flash-function-tp11991.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>