A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Browser window resizing

  1. #1
    Junior Member
    Join Date
    Nov 2007
    Posts
    27

    Browser window resizing

    I have an entirely flash app, a swf menu that calls 3 swf games, that I publish using iframes as I know NO html, I'm embarrassed to admit ....

    Up to now all has worked OK, but now I want my application's stage to resize when the browser window is resized.

    I tried to follow the O'Reilly tutorial, but found that hitTestObject (very important in the app) did not work, so I made it work with mode showAll instead of mode noScale (see my prior post http://board.flashkit.com/board/show....php?t=785960).

    All four swfs work perfectly locally, they resize and hitTestObject works.

    However, when I upload them and try to run them in the browser (still using iframes) they don't resize.

    Can somebody help me to get the right html code to put around my swfs?

    Thanks!!!

    Mariana

  2. #2
    Flash Developer
    Join Date
    Jul 2008
    Location
    Scotland
    Posts
    106
    You need to learn how to use css man. Put it in a layer that resizes according to the browser, and then implement a liquid layout system inside of flash. I have used that method a good few times. Works well.

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