Set size of Pano VR Tour to screen size
Posted: 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
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