0 Replies Latest reply on May 23, 2014 9:48 AM by wallace7souza

    Flash builder doesn't load on flash player 11,only version 13

    wallace7souza Level 1

      Hi everyone

       

      I developed a swf player on flex builder 4.5, over flex sdk 4.6, using the minimum version required by the sdk(11.1)

      But for some reason, the script code only works fine on flash player 13.

       

      What am i missing?

       

      On the flash player 11 this is written by swfobject.js

      <object id="CorePlayer" name="CorePlayer" width="0" height="0" type="application/x-shockwave-flash" data="assets/CorePlayer.swf"><param name="allowscriptaccess" value="*"><param name="allowfullscreen" value="true"><param name="wmode" value="transparent"><param name="flashvars" value="endpoint=&amp;hash="></object>

       

      And this is the javascript code using swfobject.js way:

      var swfVersionStr = "11.1.0";

                      var xiSwfUrlStr = "playerProductInstall.swf";

                      var flashvars = {

                          endpoint: "",

                          hash: ""

                      };

                      var params = {

                          allowscriptaccess: "*",

                          allowfullscreen: true,

                          wmode: 'transparent'

                      };

       

       

                      var attributes = {

                          id: "CorePlayer",

                          name: "CorePlayer"

                      };

                      swfobject.embedSWF("assets/CorePlayer.swf", "flashContent", "0%", "0%", swfVersionStr, xiSwfUrlStr, flashvars, params, attributes);

                      swfobject.createCSS("#flashContent");

       

       

      But doesn't load corePlayer.swf on the networks resources from chrome.

       

      Any ideia about this issue please thanks for your attention!!

       

      Also some others tecnichals settings

      flash versions.pngflexbuilder-settings.png