A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Fullscreen and aligning SWF in browser

  1. #1
    Member
    Join Date
    Jun 2001
    Posts
    95

    Fullscreen and aligning SWF in browser

    I am trying to replicate this in flash:

    http://72.3.156.185/ai/template.htm

    I have figured out to make a flash .swf fullscreen in a browser by stretching the size of the stage to fill the window. However I want all the objects to be within one .swf, so that flash controls the alignment of the black bar and menu at left as well as the centered main site.

    How can this be done? At the very least, I would like the menu and site to be one .swf and the black bar at left could be another .swf or just be generated via html like it is in template.htm.

    Thanks in advance!
    -Chris
    Chris Grose

  2. #2
    Beyond the Sea
    Join Date
    Mar 2000
    Posts
    997
    look up the Stage object in the help files:

    Stage.allowScale = "noScale";
    Stage.align = "TL";
    sobj = {};
    sobj.onResize = function() {
    //put your resize code here
    }
    Stage.addListener(sobj);
    The Coolest Website EVER!
    Do you live in Kansas City? Come join us at KCWebCore

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