A Flash Developer Resource Site

Results 1 to 11 of 11

Thread: Jscript fullscreen Q, from beginner.

  1. #1
    Member
    Join Date
    Dec 2000
    Posts
    30
    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="clsid27CDB6E-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>



  2. #2

  3. #3
    Senior Member
    Join Date
    Nov 2000
    Posts
    318
    click on any of the graphics...

  4. #4
    Member
    Join Date
    Dec 2000
    Posts
    30
    It might be me being stupid...but i dont see any code...were you just showcasing your stuff?

  5. #5
    Senior Member
    Join Date
    Nov 2000
    Posts
    318

    Chuka-Laka!!

    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([url],[target/name],[opties])

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


    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 to get straight to that page....

    http://msdn.microsoft.com/workshop/c...ods/open_0.asp

  6. #6
    Member
    Join Date
    Dec 2000
    Posts
    30
    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.

  7. #7
    Senior Member
    Join Date
    Nov 2000
    Posts
    318

    Chuka-Laka!!

    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....

  8. #8
    Senior Member
    Join Date
    Jul 2000
    Posts
    5,087
    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>



  9. #9
    Member
    Join Date
    Dec 2000
    Posts
    30
    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 :-)

  10. #10
    Senior Member
    Join Date
    Jul 2000
    Posts
    5,087
    It should have worked. Go ahead and send the SWI and HTML Zipped to [email protected] And I'll look at it.

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


  11. #11
    Member
    Join Date
    Dec 2000
    Posts
    30
    Thanks - i have sent it

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center