Set size of Pano VR Tour to screen size

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

Set size of Pano VR Tour to screen size

Post by gerardjuarez » 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.

http://panomotionstudio.com/flash/Touri ... 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
vr.window_width=1024;
vr.window_height=512;
vr.window_x=0;
vr.window_y=0;

Any ideas? Thanks.
-G

User avatar
Brian
Posts: 36
Joined: Thu Mar 08, 2007 7:19 pm
Location: Glasgow, Scotland
Contact:

Re: Set size of Pano VR Tour to screen size

Post by Brian » Sun Feb 03, 2008 12:31 pm

Gerad,

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. http://www.briansutton.net 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.

Brian

Locked

Who is online

Users browsing this forum: No registered users and 3 guests