Skip navigation
cosmicvibs
Currently Being Moderated

Probleme embedding an as3 swf whith  wmode="transparent"

May 4, 2012 5:09 PM

Hello i know it seem stupid and that this code is a javascript but i have this peace of code and i dont know where to put the parameter wmode="transparent"

 

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>

 

   var flashvars = {};

          var params = {};

          var attributes = {};

          attributes.id = "as3_js";

          swfobject.embedSWF("MandalaPlayer.swf", "alt", "244", "245", "9.0.0", false, flashvars, params, attributes);

 

It actually load the swf in the DIV "alt", but i need the transparence. :-)

The thing is that i know how to embed it with the  wmode="transparent" with the publication setting in flash,  but then something else does'nt work, it is my comunication javascript to flash ( i use javascript to control my mp3player from the htmlpage ) so i dont know what to do :-)

 
Replies
  • Currently Being Moderated
    May 4, 2012 5:37 PM   in reply to cosmicvibs

    I believe it is asigned as one of the params...

     

    params = {wmode:"transparent"},

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points