changing size of swf according to html page size

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default changing size of swf according to html page size

    hi experts
    I want to change size of my swf according to the size of html page in which it
    opens
    such that if page size is 1024 by 768 then swf should scale to that size
    if its 700 by 500 also sw should change its size is this possible
    i want this so that my animation start fro m edge to edge of page

    i basically dont know how to do this has been trying various options for last
    week no luck
    there is 100% option for swf which scales swf size to 100% of page but it does
    not give edge toedge of page

    can anybody help

    Darr_darshan Guest

  2. Similar Questions and Discussions

    1. Changing The Size of A Page
      I've been having problems with changing the size of a page in Adobe Acrobat. Can it actually do that and how can I solve that problem?
    2. Changing Page Size within Acrobat.
      I have a PDF file that was sent to me at 7.99" x 10.49". All I want to do is resize the page to 8" x 10.5" so I can publish it in our magazine. There...
    3. Setting page size to artboard size?
      I'm trying to layout a presentation folder with pocket flaps etc. The dimensions of the die template I'm using are at their outtermost, 60cm by...
    4. Fixed Size html page in Dreamweaver
      I've created an html page in Dreamweaver that is linked from a Flash page. My desire is for the link to open in a separate, fixed-size window. It's...
    5. changing the size without antialiasing
      In the Property inspector, change the Edge type from Anti-Alias to Hard. Best regards, Linda Rathgeber ---------------- Victoriana |...
  3. #2

    Default Re: changing size of swf according to html page size

    Hello Darr_darshan,

    I am brand new to Dreamweaver and I was having a similar problem. So, I
    placed my swf in a table and made the table's width 100%. That made the swf
    scale the whole width and it did use the entire width. However, when I made
    the table's height 100% and tested the page, the swf wouldn't even show up.

    theClownship Guest

  4. #3

    Default Re: changing size of swf according to html page size

    Height is invalid markup, so don't worry about it. Height should expand as
    width does as long as you don't specify. Also, make sure you set margins to
    0 in your body section of css to remove default padding (which differs in
    various browsers), and set the cell spacing, cell padding and borders to 0.
    That should remove any space around the edges of your swf.


    "theClownship" <webforumsuser@macromedia.com> wrote in message
    news:eo3q41$v7$1@forums.macromedia.com...
    > Hello Darr_darshan,
    >
    > I am brand new to Dreamweaver and I was having a similar problem. So, I
    > placed my swf in a table and made the table's width 100%. That made the
    > swf
    > scale the whole width and it did use the entire width. However, when I
    > made
    > the table's height 100% and tested the page, the swf wouldn't even show
    > up.
    >

    Michael Hager Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139