Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ACTION CODE

Status
Not open for further replies.

tom356

Technical User
May 1, 2002
37
HI

Im trying to get a full screen to open, can someone tell me how to write this code??

thank you



on (release) {
fscommand ("fullscreen", "true");
}
on (release) {
getURL ("javascript:window.open('http:/window77.html','Welcome_To_FlashKit','width=1800,height=1800,top='+((screen.availHeight/2)-(" add varHeight/2 add "))+',left='+((screen.availWidth/2)-(" add varWidth/2 add "))); void(0);");
}
 
just put it all in one release:
Code:
on (release) {
    fscommand ("fullscreen", "true");
    getURL ("javascript:window.open('http:/window77.html','Welcome_To_FlashKit','width=1800,height=1800,top='+((screen.availHeight/2)-(" add varHeight/2 add "))+',left='+((screen.availWidth/2)-(" add varWidth/2 add "))); void(0);");
}

there :)


Regards,

Martin

Gaming Help And Info:
 
thanks it working but im still not getting a complate full screen, my status bar is still there.

thank you
 
FYI as of Service Pack 2 javascript can no longer open a window in full screen mode. (IE)

Something to be aware of.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top