phberlin
07-21-2008, 11:38 PM
Hi all,
I am currently working on a site that displays the panoramas in a lightbox-like window ("shadowbox", actually). I have to reference directly the pano.swf including it's XML because of mouse event catching trouble if doing it as HTML in a shadowbox. So I do it with a query string like this:
<a href="pano.swf?xml_file=my-xml-file.xml" rel="shadowbox;height=600;width=900">panorama</a>
OK, so everything works fine instead one thing: Flash won't allow me to go fullscreen! Normally, I use SWFObject and "allowFullScreen", "true" which I can't here. So I tried:
<a href="pano.swf?xml_file=my-xml-file.xml&allowFullScreen=true" rel="shadowbox;height=600;width=900">panorama</a>
...but it's not working: Flash would always tell me that fullscreen is not allowed when clicking onto the fullscreen button inside the pano.
Could anyone please tell me how I can allow Flash to go fullscreen via query string?
Any help would be greatly appreciated!
Regards, Ph
I am currently working on a site that displays the panoramas in a lightbox-like window ("shadowbox", actually). I have to reference directly the pano.swf including it's XML because of mouse event catching trouble if doing it as HTML in a shadowbox. So I do it with a query string like this:
<a href="pano.swf?xml_file=my-xml-file.xml" rel="shadowbox;height=600;width=900">panorama</a>
OK, so everything works fine instead one thing: Flash won't allow me to go fullscreen! Normally, I use SWFObject and "allowFullScreen", "true" which I can't here. So I tried:
<a href="pano.swf?xml_file=my-xml-file.xml&allowFullScreen=true" rel="shadowbox;height=600;width=900">panorama</a>
...but it's not working: Flash would always tell me that fullscreen is not allowed when clicking onto the fullscreen button inside the pano.
Could anyone please tell me how I can allow Flash to go fullscreen via query string?
Any help would be greatly appreciated!
Regards, Ph