View Full Version : Fullscreen strait from HTML link
Panorado
09-18-2007, 03:06 AM
I've searched this whole board, read the manuals, and all the Blog input... but still can't figure out how to: Go to a "Full Screen" Pano, strait from a click on a html page. For Example: Have a page with a link "View Pano Here" and when you click it, it pops open (on LOAD, not by clicking another hotspot in that window) a new window into FullScreen. This is the .xml code (file) I'm trying to get to work... >
<?xml version='1.0'?>
<panorama>
<parameters>
panoName = images/fp04
layer_1 = files/autorotator.swf
layer_2 = files/hotspots.swf
</parameters>
<autorotator>
speed = -0.3
interval = 30
pause = 1000
quality = low
</autorotator>
<hotspots>
Fullscreen()
</hotspots>
</panorama>
by the way... there is a hotspots.swf and a hot_spots.swf... which is newer? which should I be using? I am pretty sure all my files are in the right places... just the coding in the .xml is wrong I think (I have tried... many... different coding but can't get it to work). Please, any help would be appriciated.
phberlin
09-18-2007, 12:20 PM
Hi Panorado,
there is a solution or that here (http://flashpanoramas.com/forum/showthread.php?t=368).
Regards, Ph.
Panorado
09-18-2007, 04:25 PM
Thanks for your input phberlin (I reviewed your link) but, not "Full Screen" of the explorer window... I want it to go "Full Screen" of the monitor,
like this site >
http://www.360degreeviews.com/sample/index.html
and click the button "Fullscreen".
I am pretty sure this is a .xml code problem... I have read Denis tutorial < http://flashpanoramas.com/blog/2006/12/27/hotspot-example-review/ > on how to use all the functions with hotspots.swf (or is it hot_spots.swf... confused on that one) and their is an example of going "Full Screen" from a button within the already loaded Panorama but, I want to go full screen directly from HTML link (or button) to "FullScreen" (monitor full screen).
zleifr
09-18-2007, 08:02 PM
I don't think it is possible:
The ActionScript that initiates full-screen mode can be called only in response to a mouse click or keypress. If it is called in other situations, it will be ignored (in ActionScript 2.0) or throw an exception (in ActionScript 3.0)
That is a quote from Adobe:
http://www.adobe.com/devnet/flashplayer/articles/full_screen_mode.html
It is a security concern.
zleifr
09-18-2007, 08:07 PM
This might be a bit of a hack, and may be wholly impractical, but I suppose you could shrink the panorama player to flow inline with your html (basically make it be 10 pixels high) and then rig up a hotspot that has the text you want for your link to open the pano fullscreen, but the hotspot would in reality be a call fullscreen(-) and to hide itself.
Panorado
09-19-2007, 04:57 AM
I see... no "real" function/code to do that... Hmmm... maybe somthing to put in the "Items Wanted" section. I did manage to make a Psuedo "Full Screen" with a Java Fullscreen and then a 100% table in that Pop Up window.
360DegreeViews
10-15-2007, 08:49 PM
I just noticed that the samples on my site (360DegreeViews.com) were referenced as doing what you want to do. However, I'm not sure that they *are* doing exactly what you want to do.
The 'fullscreen' buttons on my pages just use javascript to launch a fullscreen browser window and then open the panorama. That is, it doesn't do the 'flash' version of fullscreening, just a fullscreen browser window. I know that certain older versions of IE will launch the new browser window with no borders, etc.--perhaps that's what you're seeing. I believe it's the the "fullscreen" option to window.open that is only recognized by the older IE versions (as far as I can tell) that's doing the trick, but it doesn't work on the latest versions of IE, Firefox or Opera.
Bob S.
http://www.360DegreeViews.com
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.