Professional Web Applications Themes

changing size of swf according to html page size - Macromedia Dynamic HTML

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

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

  3. #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" <webforumsusermacromedia.com> wrote in message
    news:eo3q41$v7$1forums.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

Similar Threads

  1. Changing Page Size within Acrobat.
    By Ethan_A_Smith@adobeforums.com in forum Adobe Acrobat Macintosh
    Replies: 6
    Last Post: July 13th, 07:50 PM
  2. Question changing font size in a form field that auto-selects text size
    By Unregistered in forum Brainstorming Area
    Replies: 0
    Last Post: June 19th, 04:18 PM
  3. Changing The Size of A Page
    By Ramon_Lo@adobeforums.com in forum Adobe Acrobat Macintosh
    Replies: 4
    Last Post: August 17th, 06:44 PM
  4. Setting page size to artboard size?
    By bongoman@adobeforums.com in forum Adobe Illustrator Macintosh
    Replies: 4
    Last Post: February 10th, 10:05 PM
  5. Fixed Size html page in Dreamweaver
    By ScottySD webforumsuser@macromedia.com in forum Adobe Dreamweaver & Contribute
    Replies: 3
    Last Post: July 12th, 07:29 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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