dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: -> Scalable movies in HTML pages?

  1. #1
    Member
    Join Date
    Mar 2001
    Posts
    77
    I know how to put an .swf in a HTML movie and I also know that if you set the size of the movie to W:xxx% and H:xxx%
    that the swf will scale according to the users screen size.
    However.. is there a way of scaling the movie while still keeping the proportion intact?
    I have been mustering over this for some time now..so any help would be duly appreciated.
    thanks

  2. #2
    Modding with Class JabezStone's Avatar
    Join Date
    Aug 2000
    Location
    Grand Rapids, MI
    Posts
    2,008
    To keep the proper proportion (i.e. the width scales in proportion to the text) just set the height and width both to 100% in the HTML.

    Whatever the browser is scaled to, the H&W will always be proportionate.

    Here's an example... I just finished this intro for a company in Texas...
    http://www.worththewait.com and used this same method.

  3. #3
    Member
    Join Date
    Mar 2001
    Posts
    77
    could you go to
    http://www.westnet.com.au/itchyfella/sea
    and enter the "calendar" section..
    here.. I have set the w and h to 100% and it doesn't scale in proportion..
    hmmm.. very interesting...
    maybe something to do with frames.

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