A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Fitting the .swf to fit the screen

  1. #1
    Junior Member
    Join Date
    Apr 2000
    Posts
    1

    Talking

    I am a newby at flash you may say, but I have come pretty far so far! I have figured a lot out on my own but am curious on how to get perhaps an "autofit" type occurance when your swf file is viewed in a browser. I know how to make the movie a certain size, but is it possible to get it to fit directly in the screen no matter what size? Thanks for your help and suggestions!
    Kelvar

  2. #2
    FK founder & general loiterer Flashkit's Avatar
    Join Date
    Feb 2000
    Location
    Sydney
    Posts
    1,149

    Post

    Wrong forum. Moved to general help.


    <EMBED src="/cgi-bin/ubb/Members/sigs/00000011.swf" quality=high WIDTH=360 HEIGHT=40 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED>

  3. #3

    Post

    Set the parameters WIDTH="100%" and HEIGHT="100%" in the code. Also, you can put the following in the BODY tag to remove the page borders:

    marginwidth=0 marginheight=0 topmargin=0 leftmargin=0


    <EMBED src="/cgi-bin/ubb/Members/sigs/00000302.swf" quality=high WIDTH=400 HEIGHT=80 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED>

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