Set size of Pano VR Tour to screen size

Specific Q&A about the new Flash export
Posts: 7
Joined: Wed Sep 26, 2007 2:57 pm
Location: Dallas, TX

Wed Oct 10, 2007 10:34 pm

Hello, not much the flash expert buy i've been using Thomas' code for the virtual tour of the park (pavilian & fountain). The problem I'm having is that I use the fullscreen html mode to go 100% x 91% of the users webpage, thus leaving a little room at the bottom for my logo etc. ... arden.html

How do I code my flash to do the same...take the dimensions of the users screen and go 100% x 91% so it fits fullscreen? The following piece of code from his demo virtual tour keeps it locked in at my original swf size (1024x512), thus not really 'fullscreen'.

myListener.onLoadStart = function () {
var filename:String;
// Set the dimentions and position of the pano

Any ideas? Thanks.
User avatar
Posts: 36
Joined: Thu Mar 08, 2007 7:19 pm
Location: Glasgow, Scotland

Sun Feb 03, 2008 12:31 pm


I might be missing the point, but isn't this more to do with how you export you final Flash movie to html. I use the % method in the publishing definition so that if the user resizes their browser window, the whole movie resizes to follow that and nothing is clipped or lost. shows you that...

or did I miss the point?

I use the same park pano originally to render my panos, but with a lot of changes to use xml to find the panos for each tour and to define the hotspot locations and actions.