NOTICE: Significant community changes coming soon
The header menu and the home page on our community will be changing soon. Get more information HERE.

SilkTest does not recognize a Flex application in Firefox

SilkTest does not recognize a Flex application in Firefox

This problem can be caused when using the wmode parameter to embed the Flex application within the web page, specifically using the wmode value of "transparent". For example:

<script type="text/javascript">
     <!-- For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection. -->
     var swfVersionStr = "10.0.0";
     <!-- To use express install, set to playerProductInstall.swf, otherwise the empty string. -->
     var xiSwfUrlStr = "playerProductInstall.swf";
     var flashvars = {};
     var params = {};
     params.quality = "high";
     params.bgcolor = "#ffffff";
     params.allowscriptaccess = "sameDomain";
     params.allowfullscreen = "true";
     params.wmode = "transparent";
     var attributes = {}; = "SampleApp"; = "SampleApp";
     attributes.align = "middle";
          "SampleApp.swf", "flashContent",
          "100%", "100%",
          swfVersionStr, xiSwfUrlStr,
          flashvars, params, attributes);
     <!-- JavaScript enabled so display the flashContent div in case it is not replaced with a swf object. -->
     swfobject.createCSS("#flashContent", "display:block;text-align:left;");

To regain recognition of your Flex application within Firefox, remove the wmode parameter from the embed code of your web page and reload the web page in question. In some instances you may need to clear your browser cache before the modified web page will be downloaded by Firefox.


Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2014-07-28 15:46
Updated by:
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.