A Flash Developer Resource Site

Results 1 to 10 of 10

Thread: Full Sized Browser Website in Flash 8

  1. #1
    Member
    Join Date
    Mar 2006
    Posts
    35

    Full Sized Browser Website in Flash 8

    Hi everybody,

    I'm creating a website entirely in Flash 8. I've set the percent to 100 and the scale to "no scale". If fills the screen perfectly except when I test it on a monitor of 1024 X 768 and then cuts off information with no scrollbars. How do I correct this effectively??? Please, if anyone has a quick and dirty solution, I would be very much apprectiated.

  2. #2
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,448
    You may have to resize your movie:

    http://flashscript.biz/utilities/scr...en_change.html
    - The right of the People to create Flash movies shall not be infringed. -

  3. #3
    Smile
    Join Date
    May 2006
    Location
    Sydney, Australia
    Posts
    91
    Use actionscript to place the movieclip objects on the screen so they are always in the same place regardless of the size of the browser.

    Code:
    // top left
    yourMC._x = 0;
    yourMC._y = 0;
    
    // top right
    yourMC._x = Stage.width;
    yourMC._y = 0;
    
    //center screen
    yourMC._x = Stage.width / 2;
    yourMC._y = Stage.height / 2;
    I think this answers your question, you wern't too specific.

  4. #4
    Member
    Join Date
    Mar 2006
    Posts
    35
    sorry if I was a little cryptic...here's the issue. Whenever someone looks at the site with 1024 X 768 screen resolution or lower, the webpage is centered in their browser window but too big. It fills their entire browser with no scroll bars. How can I make IE, Moz, Netscape bring up scrollbars once the flash file exceeds the size of the browser window? Check out what I mean.
    Go to: www.pittsburghbrownsbackers.com It's really meant to be viewed at anything higher than 1024 X 768. I've found a few posts on this topic but with no real help. Please help if you can...

  5. #5
    Member
    Join Date
    Mar 2006
    Posts
    35
    Oh I forgot, when I was looking into this issue "Div Overflow" seemed to be the proper code to correct this but was never very clear how to use / implement it in the HTML. Am I right on this???

  6. #6
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,448
    If that is what you mean you can try putting this in the body tag:
    STYLE="overflow: auto;"

    or include
    overflow: auto;

    in a stylesheet. I don't know it will work in all browsers though.
    - The right of the People to create Flash movies shall not be infringed. -

  7. #7
    Member
    Join Date
    Mar 2006
    Posts
    35
    Great, thanks a lot. I'll try that later tonight after work.

  8. #8
    Member
    Join Date
    Mar 2006
    Posts
    35
    Unfortunately, it didn't work. I put the code into the HTML and nothing changed...any other suggestions??

  9. #9
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,448
    Have you tried a css script? This is a style property.

    http://www.w3schools.com/css/pr_pos_overflow.asp
    - The right of the People to create Flash movies shall not be infringed. -

  10. #10
    Member
    Join Date
    Mar 2006
    Posts
    35
    well, I got something to work. When publishing the movie, I selected "Percent" and made it both to 100 values. Then selected Default (show all) for the scale in the window. Now if someone has a smaller resolution, it will fit in the window or scale down if someone makes their browser window smaller. Thanks for all the help and suggestions...I will check out that link.

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