Problem with flash fullscreen

Specific Q&A about the new Flash export
Locked
stevethomas
Posts: 4
Joined: Thu Jul 16, 2009 5:08 am

I have the pano loaded externally into a movieclip in AS3. Problem is the fullscreen button doesn't work. I've changed the Flash embedding code and set the parameter "allowFullScreen" to "true". I have the size set as follows:

function initPanorama(e:Event) {
// check if the panorama object is available and initialize it
if ((vr!=null) && (vr.pano!=null)) {
removeEventListener( Event.ENTER_FRAME , initPanorama);
vr.pano.setWindowSize(425,240); // resize the window
vr.pano.setWindowPos(0,0); // reposition
}
}

Is this the reason it doesn't get bigger: vr.pano.setWindowSize(425,240); -- because it is locked in at 425 by 240?

If I leave that line out, the pano loads in fullscreen automatically at the position on the stage I have the movieClip.

Any help is appreciated.
Thanks,
Steve
Locked