Flash hidden after FB close

Page: 1

Author Post
Mgamma
Guest
Hi the flash is hidden even after floatbox closed? Is there a way to unhidden the flash upon closing the floatbox?
Mgamma
Guest
Also the IE6 does not show the overlay background on floatbox, but it is working.
Administrator
Registered: Aug 2008
Posts: 3382
The behaviours you describe never occur on my test platforms and I'm not hearing about them from anyone else. What browser and OS are you seeing this flash behaviour on? What version of floatbox are you using? (If it's old you may want to grab the most recent - it's the only one I'll put much support effort towards.) Finally, is there an online example where I can see these behaviours?
Mgamma
Guest
I am using fb3.11, i went around the flash video hidden problem by using fb to display the video. However, i still not able to see the overlay background on IE6.
Administrator
Registered: Aug 2008
Posts: 3382
Hi Mgamma (How exactly is that pronounced?)

I'd like to help figure out what's going on. Can you please tell me if you have these problems when viewing the demo pages on my site. I've added a small flash near the top of the iframed demo page which should hide and unhide as you view the other content. Also, does the background show for you with IE6 on that page?

I would very much like to see an example page of yours online where these problems can be seen. Can you provide a url to such a page?

Thanks...
AndreyG
Guest
Hi,

I've got the same in FF3 and IE7. I use swfobject to display flash on the page and an FB link. When the lightbox is closed flash that was on the page becomes hidden.
Code as follows:

<script type="text/javascript">
swfobject.embedSWF("/some.swf")", "swf2", "400", "300", "9.0.0");
</script>
<div id="swf2">Alternative content</div>

<a href="/some.swf" title="title" rel="floatbox" rev="width:400 height:300 scrolling:no theme:black hideFlash:true caption:`title` showHints:never">
<img src="/thumbnail.jpg"/>
</a>

Please let me know how this might be fixed.
Thanks.
Administrator
Registered: Aug 2008
Posts: 3382
3 ways to fix this:

1. Add a style of object{visibility:visible;} to your css file (or in your page header (or directly on your flash object tags))

2. In the floatbox.js code, find
var el = that.hiddenEls.pop();
el.style.visibility = '';

and change it to
var el = that.hiddenEls.pop();
el.style.visibility = 'visible';


3. Wait for the next release where this will be fixed.

Cheers...
mr_bacan
Guest
I'm having a similar problem. Whenever I click on a FB link my flash dissapears. When I close it everything returns to normal.

How can I fix this?

Here' an example.
http://www.edvstudio.com/tucan/
Administrator
Registered: Aug 2008
Posts: 3382
As described in the Options Reference, the hiding of flash (or not) is controlled by setting the hideFlash option to true or false. Most folks want it set to true because flash from the base page will display over top of the floatbox box if flash is using its default rendering mode of wmode=window.

You can set hideFlash to false and have those flash objects not appear on top of everything by setting the flash param wmode to opaque. I see that on your site you are already using wmode=opaque. I tried hideFlash=false against your site and it behaved just fine.

But you have another problem. As per the install instructions:
Quote
MPORTANT: If you place the floatbox files in a different folder than your site's root folder you need to change the "urlGraphics" and "urlLanguages" paths defined in the options section of the floatbox.js file and also modify the floatbox.js and floatbox.css include paths in your page headers.

In your case urlGraphics should be set to "/tucan/floatbox/graphics/" and urlLanguages should be set to "/tucan/floatbox/languages/".

Cheers...
« Last edit by admin on Wed Mar 18, 2009 12:11 am. »
mr_bacan
Guest
Thank you very much for answering my issue :mrgreen:
The solution you gave me solved the problem perfectly. Now it is working as it should.

Thanks again.

Page: 1