dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: swf window size when web publishing

  1. #1
    Junior Member
    Join Date
    Jun 2004
    Posts
    15

    swf window size when web publishing

    hi!

    i am wanting to publish a flash movie on the web but when i do it the window on which the movie appears is maximised to the size of my screen so the flash file is distorted. is there any way in which i can lock the size of the window to the size of my original flash file?

    many thanks!!!

  2. #2
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Yep! The html (in which the Flash movie is embedded) could have an onLoad javascript function call that would resize the browser window to match your Flash movie's dimensions...

    But that's javascript and not Flash.

    You're probably scaling the width and height of your movie to 100% in your object & embed tags, and you shouldn't. Just set it so that it matches the movie in pixels instead, because I hate people that force resize my browsing window.

  3. #3
    Junior Member
    Join Date
    Jun 2004
    Posts
    15
    hey thanks very much!!!

    so do you know javascript or where i could go to find about that? that's exactly what i want to do!

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