Full Screen Functionality

Q&A about the latest versions
Post Reply
zorro
Posts: 9
Joined: Wed Jul 16, 2008 7:56 pm

We have successfully ironed out all of our obstacles in our project here:

http://www.lynxdesign.com/stlauren/home ... cuzzi.html


The only thing we have left is we are having a difficult time making the pano go full screen. The best we have been able to achieve is to (as it is currently implemented in the example) make the pano movie as big as the stage of the host movie it lives in. We were successful in making the main movie go full screen but then it would not scale. We were able to make the main movie go full screen and scale but only if we removed the pano2vr movie that lived in it. Are we doing something wrong? or is it even possible to make a pano2vr that lives in another flash movie go full screen?

Thanks,
User avatar
360Texas
Moderator
Posts: 3684
Joined: Sat Sep 09, 2006 6:06 pm
Location: Fort Worth, Texas USA
Contact:

If your button actions are "toggle fullscreen"

then in your page Flash object code set I think there needs to be <param name="allowfullscreen" value="true" /> or is this only from QTVR .mov's ? Add it to the embed string too.

Do a pano2vr forum search for allowfullscreen for application

Your images seem to be taken with a wide angle lens or a 1 shot (donut) lens.
Dave
Pano2VR Forum Global Moderator
Image
Visit 360texas.com
User avatar
castillonis
Posts: 39
Joined: Wed May 28, 2008 9:53 pm
Location: Portland, Oregon

Texas360 was referring to this parameter in the body of your html where the flash object is embedded.

Code: Select all

<param value="true" name="allowFullScreen"/>
You are including the javascript file p2q_embed_object.js in the head of your html and the allowFullScreen parameter is not included in your page. When I clicked on the button the pano did become larger, but not full screen. When I clicked the button again it returned to its normal size.
Your embedded code without allowFullScreen

Code: Select all

<div class="main">
<p>
<script type="text/javascript">
</script>
<embed height="750" align="absmiddle" width="1110" type="application/x-shockwave-flash" allowscriptaccess="always" flashvars="id=oceanJacuzzi.swf" wmode="transparent" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" quality="high" src="stlaurenVR.swf"/>
<noscript> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="1110" height="750" align="absmiddle" > <param name="movie" value="stlaurenVR.swf" /> <param name="quality" value="high" /> <param name="wmode" value="transparent" /> <param name="flashVars" value="id=oceanJacuzzi.swf" /> <param name="allowScriptAccess" value="always" /> <embed src="stlaurenVR.swf" width="1110" height="750" align="absmiddle" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" wmode="transparent" flashvars="id=oceanJacuzzi.swf" allowscriptaccess="always"></embed> </object> </noscript>
<br/>
</p>
</div>
Some Firefox plugins that aid with quickly inspecting web pages and objects
You can inspect the html, scripts, CSS more easily by downloading the Firebug plugin for firefox. If you are using a firefox 3.0 or newer you need to download the DOM plugin. Before 3.0 you would choose custom install and check the developer version in order to get the DOM (document object model) inspector. I highly recommend the Firebug plugin as it helps you quickly inspect code you are not familiar with and find out what is wrong.
DOM inspector plugin
https://addons.mozilla.org/en-US/firefo ... om&cat=all
firebug plugin
https://addons.mozilla.org/en-US/firefo ... ug&cat=all
Web developer plugin
https://addons.mozilla.org/en-US/firefo ... er&cat=all

Flash player error
I also was getting this error from the flash player which I dismissed
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at stlaurenVR_fla::MainTimeline/doVrAction()
Post Reply