I am unsure why you cannot have wmode=opaque all the time. This just mans that the swf will be composited within the z-index (layer) structure of the html page.
If you do need to swap the wmode on the fly for some reason, you will need to destroy/remove the swf and re-embed it (as once a swf is embedded you cannot change the wmode value) There is a tut here on removing/adding a swf from js: http://learnswfobject.com/advanced-topics/load-a-swf-using-javascript-onclick-event/ (look at replacing a loaded swf with another section) Aran On Wed, Jan 11, 2012 at 5:11 AM, przemmm <[email protected]> wrote: > Hello, > > I have flash object which need to have wmode=normal which i set before > swfobject.embedSWF but i want to use fancybox jquery script which is > not displaying correctly when my flash object have wmode=normal but > it's correct when i set wmode=opaque. > > I can't set wmode=opaque param for all the time (on my swfobject > setup) so i need to change it dynamically. > > I can get my swfobject object using: > > var obj = swfobject.getObjectById("MyFlashObject"); > > but i don't know how to change wmode in this object. > > It shouldn't be impossible and it should be easy for those who knows > SWFObject so please help me! > > > Best regards, > Przemmm > > -- > You received this message because you are subscribed to the Google Groups > "SWFObject" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/swfobject?hl=en. > > -- You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en.
