flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Dufilie <andy.dufi...@gmail.com>
Subject Re: swfobject call flash function
Date Thu, 18 Feb 2016 10:15:57 GMT
swfobject.embedSWF() has another parameter for a callback function to be
called when the swf is ready:

https://github.com/swfobject/swfobject/blob/2.2/swfobject/src/swfobject.js#L647

Sent from my Android
On Feb 17, 2016 15:17, "agm65" <agm65maverick@gmx.de> 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.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message