;

PDA

Click to See Complete Forum and Search --> : Jscript fullscreen Q, from beginner.


zorban
01-04-2001, 04:04 PM
I dont know whether to post this here, or under newbies cos it is about javascript.
I am doing a presentation, and want the page to 'full screen'.
I used swish, which publishes it for you automatically into HTML....i was wondering if someone could add the Jscript stuff in the relevant place...thanks for your time.

<html>
<head>
<title>SWiSH [TEFLONmajormod.swi]</title>
</head>
<body bgcolor="#FFFBF0">
<center>
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0"
ID=TEFLONmajormod WIDTH=800 HEIGHT=600>
<PARAM NAME=movie VALUE="TEFLONmajormod.swf">
<PARAM NAME=quality VALUE=best>
<PARAM NAME=bgcolor VALUE=#FFFBF0>
<EMBED src="TEFLONmajormod.swf" quality=best bgcolor=#FFFBF0
WIDTH=800 HEIGHT=600 TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</EMBED>
</OBJECT>
</center>
</body>
</html>

MoMad
01-04-2001, 04:48 PM
Like this:

http://www.geocities.com/big_mo_mine/graphics.htm

MoMad
01-04-2001, 04:48 PM
click on any of the graphics...

zorban
01-04-2001, 06:38 PM
It might be me being stupid...but i dont see any code...were you just showcasing your stuff?

MoMad
01-04-2001, 07:25 PM
No, is that the kind of fullscreen window u want?

look at the above example and if thats what you want to do, i think there is a tutorial in here somehwere that teaches how to make fullscreen windows...

maybe javascript use:

window.open(,[target/name],[opties])

opties = width, height, addressbar, scrollbar, etc....


[url]http://msdn.microsoft.com/ie/
try going there and see the dhtml refference > look for window, then click open to see all this....

or click here (http://msdn.microsoft.com/workshop/c-frame.htm?/workshop/author/dhtml/reference/methods/open_0.asp) to get straight to that page....

http://msdn.microsoft.com/workshop/c-frame.htm?/workshop/author/dhtml/reference/methods/open_0.asp

zorban
01-04-2001, 09:03 PM
Well thanks for helping....what i meant by fullscreneing was anyway to make the SWF i created to take up the whole browser window, whatever the resolution.... I am sure all the help you posted has the answer somewhere.....but i should emphasize the begginer aspect of myself in that i have no idea what to do with the code...which is why i was hoping someone could put it in for me. I did not think it was that hard. Thanks anyway.

MoMad
01-04-2001, 11:05 PM
Sorry M8...
I thought you mean fullscreen Html Window...

when publishing your flash page, goto file > publish settings
and then click on the html tab and then chose "Percent" where it says Dimentions.

That is all, then press publish. [ahem** duh!].

Now open your flash html file and see how it looks like, test it, test it, and test it some more....

johnie
01-04-2001, 11:11 PM
Yes indeady. Just Change all the Width and Hiehgt tags to 99% (there should be 2 sets of each width and hieght parameters) and that will do it.

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width=99% height=99% codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=5,0,0,0"> <param name="movie" value="~player.swf"> <param name="quality" value="high"> <param name="play" value="true"> <param name="loop" value="true"> <embed src="~player.swf" width=99% height=99% swliveconnect="FALSE" quality="high" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed></object>

zorban
01-04-2001, 11:17 PM
Thanks again...but hehe....
I have swish, so no such option... in the HTML stuff i replaced the pixel number with 100%, and the result was the .swf file getting enlarged, but with black borders filling in the gaps to keep height/width proportionate...result is the bits that fly in from left/right appear outside the movies window, making it look crap, even though i selected the clip objects to window option.....i dont think u will be able to solve this one....if you are really intrigued i would be happy to send the file along with its HTML page...but no pressure, you have been helpful enough already :-)

johnie
01-04-2001, 11:27 PM
It should have worked. Go ahead and send the SWI and HTML Zipped to snider.john@juno.com And I'll look at it.

Your problem may be that Swish 1.5X only supports Raster formats and its pixelating your graphic.

zorban
01-05-2001, 03:37 PM
Thanks - i have sent it