A Flash Developer Resource Site

Results 1 to 12 of 12

Thread: Launching .swf as fullscreen website

  1. #1
    Junior Member
    Join Date
    Aug 2003
    Location
    Zwijndrecht, NL
    Posts
    3

    Launching .swf as fullscreen website

    I am trying to get my first project up and running, experiencing some problems:

    I have set some FS commands to lauch fullscreen without scaling.
    This works when I use 'play in stand-alone-player'

    What do I have to do in the HTML part to get the same result. (or is this the html basics course I should attend)

    Also the swf is I think a bit to large to load (1.4M), but I couldn't get it to work splitting it into smaller parts.

  2. #2
    undead creature necromanthus's Avatar
    Join Date
    Feb 2002
    Location
    ROM
    Posts
    1,890
    <OBJECT
    CLASSID="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
    WIDTH="100%"
    HEIGHT="100%"
    CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab"
    ID=index>
    <PARAM NAME="MOVIE" VALUE="index.swf">
    <PARAM NAME="QUALITY" VALUE="high">
    <PARAM NAME="SCALE" VALUE="SHOWALL">

    <EMBED
    NAME="index"
    SRC="index.swf"
    WIDTH="100%"
    HEIGHT="100%"
    QUALITY="high"
    SCALE="SHOWALL"
    swLiveConnect="true"
    PLUGINSPAGE="http://www.macromedia.com/go/flashplayer">
    </EMBED>
    </OBJECT>

  3. #3
    Junior Member
    Join Date
    Aug 2003
    Location
    Zwijndrecht, NL
    Posts
    3
    This works to load in a browser window, but not fullscreen without the browser window or with just a flashplayer window.

    I also wanted to use a FS command (Quit) to close the window at the end. This also works with the stand-alone player, but not in a browser.

  4. #4
    Degenerate and baise art thou. docree's Avatar
    Join Date
    Feb 2001
    Location
    USA
    Posts
    390
    Ok, blah blah blah blah...
    There are two or three types of fullscreen.
    The first being the screen within the browser window. This is the area that is not the navigation bar and displays content.
    You use Necro's code to acomplish this.
    The second fullscreen is the fullscreen browser option (first seen in IE).
    In order to use this you must pop-up a fullscreen window using javascript. To close this window you need the flash FScommand to "speak" to a javascript that closes the browser window.

    The final, and third, fullscreen is where the viewer downloads your projector file to watch in fullscreen.

    To find scripts for full screen windows and closing windows go to http://www.dynamicdrive.com/ .
    Doc

    By the way the FScommand for quit only works in a projector (otherwise known as stand alone player).

  5. #5
    Senior Member
    Join Date
    Jul 2000
    Posts
    5,087
    Actually no FS Command is needed to close a window. You simply need Javascript:window.close;void(0); in a get URL statement. KoolMoves has a Javascript input area that you could use also.

    You can not achieve a true fullscreen mode inside of browsers except IE. Netscape, Mozilla, K-Meleon, Safari, Ect Ect- pretty much all of them but IE for PC will retain a close button even if closed. Likewise popup killer apps will prevent javascript from launching a fullscreen browser window on load. So even if they have IE a certain number of users may be using software to block pop-ups.

  6. #6
    undead creature necromanthus's Avatar
    Join Date
    Feb 2002
    Location
    ROM
    Posts
    1,890
    and anyhow, gkorf ...
    1) several FS commands are not working on a lot of systems
    2) you'll lose a lot of visitors with this annoying (hypothetically) "full-screen".
    Last edited by necromanthus; 08-30-2003 at 06:34 PM.

  7. #7
    Senior Member Fingermonkey's Avatar
    Join Date
    Jun 2002
    Location
    Michigan
    Posts
    222

    He already lost me.....

    He already lost me with that 1.4 MB file size. I don't have 45 min to download a web site with my dial up modem. Is he catering only to high speed viewers?

  8. #8
    undead creature necromanthus's Avatar
    Join Date
    Feb 2002
    Location
    ROM
    Posts
    1,890

    Re: He already lost me.....

    Originally posted by Fingermonkey
    He already lost me with that 1.4 MB file size. I don't have 45 min to download a web site with my dial up modem. Is he catering only to high speed viewers?
    I agree with you.
    However, with 33.6 Kbit/sec you should download that file in about 7 minutes.

  9. #9
    Senior Member FLASHPULSE's Avatar
    Join Date
    Nov 2002
    Location
    USA
    Posts
    1,356

    Re: He already lost me.....

    Originally posted by Fingermonkey
    He already lost me with that 1.4 MB file size. I don't have 45 min to download a web site with my dial up modem. Is he catering only to high speed viewers?
    I agree as well, but in a year or two, highspeed will be a must. Even though flash is great at small file sizes. People are importing more raster graphics in there flash animations or making huge (as in long in time) animations. I try to stick with vector only myself. I think if people are going to use raster images they should use multiple pre-loaders for people who still have dial-up. Load one as one is playing that is.

  10. #10
    Senior Member
    Join Date
    Jul 2000
    Posts
    5,087
    They've been saying that broadband will be a must for years but it simply isn't happening. More and more people are comming online with a narrowband connection for various reasons;

    1. Price. Dial Up is as low as $6.00 a month. The lowest DSL is 29.99 and that is if DSL is available in your area. Cable where I live is $39.99 and you must subscribe to at least basic cable $14.50.

    2. Availability. Many places can not get Broadband still. Where I live now, DSL is not available and I know people who live where neither DSL nor Cable is avaialable.

    3. Precieved need. Text can be compresed at the server side. Also many ISps cache pages and compress them for their customers. The broadband content out right now is not that compelling. This is especially true becuse most of the net radio broadcatsers have gone of the Air becuase of CARP and most NET TV broadcasters have been shut down or have stopped broadcasting.

    4. Most people only use the internet to check email or look up recipes, pay bills, buy books/cds/hardware/check prices of retail stores, or do general research on products. None of these activities require broadband.

  11. #11
    Senior Member FLASHPULSE's Avatar
    Join Date
    Nov 2002
    Location
    USA
    Posts
    1,356
    Originally posted by johnie
    They've been saying that broadband will be a must for years but it simply isn't happening. More and more people are comming online with a narrowband connection for various reasons;

    1. Price. Dial Up is as low as $6.00 a month. The lowest DSL is 29.99 and that is if DSL is available in your area. Cable where I live is $39.99 and you must subscribe to at least basic cable $14.50.

    2. Availability. Many places can not get Broadband still. Where I live now, DSL is not available and I know people who live where neither DSL nor Cable is avaialable.

    3. Precieved need. Text can be compresed at the server side. Also many ISps cache pages and compress them for their customers. The broadband content out right now is not that compelling. This is especially true becuse most of the net radio broadcatsers have gone of the Air becuase of CARP and most NET TV broadcasters have been shut down or have stopped broadcasting.

    4. Most people only use the internet to check email or look up recipes, pay bills, buy books/cds/hardware/check prices of retail stores, or do general research on products. None of these activities require broadband.
    I couldn't agree with you more. I should have stated that, broadband is a must for animators who wish to view other animations weather it be swf, avi or quicktime. I just couldn't find myself using dial-up to view some of the animations that are made today. Although most are short and don't take as long to download.

  12. #12
    Junior Member
    Join Date
    Aug 2003
    Location
    Zwijndrecht, NL
    Posts
    3
    Thanks all of you. I already realised that a 1.4M file was too big, but I didn't calculate it would take so long even on 64k line.
    I'am splitting the file up in smaller bits now, hope it works.

    Everybody learns best from his mistakes. I learn a lot

    Gert.

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