;

PDA

Click to See Complete Forum and Search --> : Full Screen on load


stl
09-20-2000, 11:40 AM
I need the flash movie to open fullscreen onload,
I understand that the FS Command will open fullscreen.
I made the swf with the script for it to open full screen.When I click the swf directly to open it opens fullscreen but if I open the same file through a get url
( http://../../my.swf ) it opens in the browser ( not full screen )
I maybe going about doing this totally in a wrong way.Please if somebody could tell me how.Its quite urgent.Thank you.

d_humphrey
09-20-2000, 01:55 PM
Hi,

the fullscreen command is only for use in the standalone player.

to get this working in your browser you need to use Javascript to set the window to fullscreen.

give me a shout if you need a script.

Dan.

stl
09-22-2000, 03:32 AM
Hi Dan,
Please send me the javascript to open the swf/ html fullscreen. I hope you got my mail for the same.

Thankyou.
Stl

d_humphrey
09-23-2000, 06:18 AM
Hi,

You can use something similar to the following :

<Script language="javascript">
<!-- shields up!
/* written by: Daniel Humphrey
* http://www.technomedia.co.uk
*/


function getmain() {
window.open ('main.htm', 'mainwin', 'fullscreen=yes,scrollbars=auto');
}


// down shields
</Script>

you can also specify other parameters for the window by followinf the above syntax.

for instance you can set height and width (if you're not using fullscreen), you can specify whether a status bar or toolbar is visible on the window etc etc.

Hope this helps, Dan.