Anybody have a simple script to open an html file to exact size of 526 x 380 with out any toolbars, scrollbars, sizing etc from a flash movie? I am using MX
I have tried a few tutorials and not having any luck. Sorry for being so remedial…but I am ultra-wet when it comes to this stuff!
             
            
              
            
           
          
            
              
                system  
              
                  
                    August 7, 2003,  9:26am
                   
                  2 
               
             
            
              hoi
here 
site = "http://www.master64.nl"
winHeight = 400
winWidth = 550
toolbar = "no"
scrollbars = "no"
getURL("*j*avascript:openNewWindow('"+site+"','thewin','height="+winHeight+",width="+winWidth+",toolbar="+toolbar+",scrollbars="+scrollbars+"') ");
that should work  
edit: thanks fluid_0ne :}
             
            
              
            
           
          
            
              
                system  
              
                  
                    August 7, 2003,  9:27am
                   
                  3 
               
             
            
              pt this into html, where movie is located:
<script type="text/javascript">
<!--
closetime=0;
function Start(URL){
windowprops="directories=no,location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no,width=526,height=380,left=25,screenX=25,top=25,screenY=25";
preview=window.open(URL,"popWin",windowprops);
if (closetime) setTimeout("preview.close();", closetime*1000);
}
function popupWin(){
url="-----URL-GOES-HERE-----"
delay=0;
timer = setTimeout("Start(url)", delay*1000);
window.status="";
}
//-->
</script>
and this AS into button’s actions:
on(release){
getURL("*j*avascript:popupWin();");
}
 
            
              
            
           
          
            
              
                system  
              
                  
                    August 7, 2003,  9:31am
                   
                  4 
               
             
            
              
*Originally posted by Master64 *
 
use [ i ]j[ /i ]avascript (without spaces):beam: :bu:
             
            
              
            
           
          
            
              
                system  
              
                  
                    August 19, 2003,  1:44am
                   
                  5 
               
             
            
              Thanks for this help - I’ve been ‘away’ from the project since about 2 minutes after you gave it to me - which is why I ain’t thanked you yet!
Cheers!