Advertisement

01.10.2008 at 03:21PM PST, ID: 23074325
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.6

Changing flash wmode on the fly

Asked by triadyk in HTMLkit, JavaScript, Macromedia Flash

Tags: , , ,

Hi,
I'm new to web development and I need help to change the wmode of a flash object on the fly. The reason for this is that accessibility doesn't work when the wmode is set to 'opaque' or 'transparent', and on the other hand, I need the wmode to be in 'opaque' mode when a popup DHTML dialog is shown.

In short, I need to find a way to switch back and forth between the wmode. Re-rendering the flash object (thus restarting the flash movie)  is totally acceptable in my case.

I have tried to change the wmode using javascript like this:

      var el = newwindow.document.getElementById('Player');
      el.wmode = "window";

and the parameter did change when checked with "alert(el.wmode);", but the object won't actually change unless it is re-rendered using the modified wmode

There's a similar question discussed here:
http://www.experts-exchange.com/Web_Development/Software/HTMLkit/Q_22752420.html

and it says it is possible to do this by cloning and replacing the flash object, but I don't know how to do that either...

The flash object is embedded like this:
<embed type="application/x-shockwave-flash" src="Player.swf" id="Player" name="Player" bgcolor="#ffffff" quality="best" flashvars="songId=nzZN9ZfMn64%3D&amp;isLocal=Y" wmode="window" height="400" width="436">

Any help would be appreciated.

Thanks!!Start Free Trial
[+][-]01.11.2008 at 01:33AM PST, ID: 20635064

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: HTMLkit, JavaScript, Macromedia Flash
Tags: wmode, flash, javascript, change
Sign Up Now!
Solution Provided By: mplungjan
Participating Experts: 1
Solution Grade: B
 
 
[+][-]01.11.2008 at 01:11PM PST, ID: 20640497

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.11.2008 at 01:22PM PST, ID: 20640617

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628