Thanks, below is the relavent AS code:

function resizeToggle():Void {
   if(vidSize == 1){
       with(vidWrapper){
       _x = 72;
       _y = 38;
       _width = 600;
       _height = 440;
       }
       vidWrapper.vidDisplayPlate._visible = true;
       wrapper1._y = 488;
       wrapper1._x = 70;
       wrapper1._alpha = 80;
       //wrapper1.playlistIcon._visible = false;
       interfaceBackground.gotoAndStop(2);
       vidSize = 2;


   }else if(vidSize == 2){
       vidWrapper.gotoAndStop(1);
       with(vidWrapper){
       _x = -30;
       _y = -6;
       _width = 800;
       _height = 600;
       }
       vidWrapper.vidDisplayPlate._visible = false;
       vidWrapper.screenMask._visible = true;
       wrapper1._y = 488;
       wrapper1._x = 70;
       wrapper1._alpha = 100;
       //wrapper1.playlistIcon._visible = false;
       interfaceBackground.gotoAndStop(2);
       filmStrip.scrollTracker.scrollButton.gotoAndStop(8);
       vidSize = 3;

       //filmstripToLarge();

   }else if(vidSize == 3){
       playPauseFunction();
getURL("javascript:MakeItSo()");
with(vidWrapper){
       _x = -30;
       _y = -6;
       _width = 800;
       _height = 600;
interfaceBackground._visible = false;
       }

       vidSize = 1;
   }
}
and the relevant html/JS:

JS function in main html page:
function MakeItSo(){
if((detectOS() == 'Windows') && (detectBrowser() == 'IE')) {
window.open('vidPlayerFullScreen.html
','LargePorn..Beeotch','fullscreen=yes');
} else {
onload=FullScreen();
}

code of full screen html page:

<div aligm="center">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0";
width="100%" height="100%" id="vidPlayerAlpha" align="center">
<param name="allowFullScreen" value="true" />
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="vidPlayerAlpha.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#250000" />
<param name="flashvars" value="interfaceBackground._visible = false" />
<embed src="vidPlayerAlpha.swf" quality="high" bgcolor="#250000"
width="100%" height="100%" name="vidPlayerAlpha"
flashvars="interfaceBackground._visible = false" align="left"
allowFullScreen="true" allowScriptAccess="sameDomain"
type="application/x-shockwave-flash" pluginspage="
http://www.macromedia.com/go/getflashplayer"; />
</object>
</div>
**********************************************
The full-screen content initializes exactly as the main content does, and
with an interface object I'd like to see off during full screen viewing.

These are the parameters that need to be passed into full screen mode:

with(vidWrapper){
       _x = -30;
       _y = -6;
       _width = 800;
       _height = 600;
interfaceBackground._visible = false;

Again, much obliged for your help.

- Kelly
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to