Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Setting WMODE in a Flash Object with JavaScript?

Reply
Thread Tools

Setting WMODE in a Flash Object with JavaScript?

 
 
parksch2@hotmail.com
Guest
Posts: n/a
 
      07-07-2005
Is this possible? Basically I need to grab all the flash objects on the
page (done) and then set the wmode to transparent so it doesn't mess up
my DHTML menu. Any help would be greatly appreciated.

Thanks!

 
Reply With Quote
 
 
 
 
Martin Honnen
Guest
Posts: n/a
 
      07-08-2005


http://www.velocityreviews.com/forums/(E-Mail Removed) wrote:

> Is this possible? Basically I need to grab all the flash objects on the
> page (done) and then set the wmode to transparent so it doesn't mess up
> my DHTML menu.


I don't think it is possible to change the wmode of an already rendered
plugin content, all you could do is create new <object> respectively
<embed> obects with all params/attributes copied but wmode set as needed
and then replace the existing <object>/<embed> elements. But of course
that means those Flash movies load againg/start from the beginning.

--

Martin Honnen
http://JavaScript.FAQTs.com/
 
Reply With Quote
 
 
 
 
parksch2@hotmail.com
Guest
Posts: n/a
 
      07-08-2005
Hey Martin,

Thanks for the response. My problem is that I don't have much control
over these object tags. They are coming from an ad server on my domain.
I'm simply trying to add the wmode to the flash objects that people
insert into the ad server in order to keep them from appearing on top
of my DHTML menu. I can suggest this as a best practice but thought
that if there was a way to programmatically do it, I would. Any ideas?

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I make a Flash Object a live link using html instead of flash? johnsonholding@yahoo.com HTML 8 02-09-2012 05:33 AM
Javascript and dynamic setting wmode to transparent for flash objects BerlinBrown Javascript 4 01-11-2008 04:55 PM
Object creation - Do we really need to create a parent for a derieved object - can't the base object just point to an already created base object jon wayne C++ 9 09-22-2005 02:06 AM
Setting properties of an object stored as a member of another object Bora Eryilmaz C++ 1 04-18-2005 08:42 PM
Setting a configurable time-out setting for all the communication initiated with Remoting object. Srinivasa Raghavan Sethuraman ASP .Net 0 06-30-2004 10:05 AM



Advertisments