1 Reply Latest reply on Apr 21, 2006 3:12 PM by flextnet

    Stage resizing

    codescodescodes
      Hi everyone. I'm trying to create a photo gallery where an image gets loaded from an xml file and I want the stage to resize to the size of the image because the images are all going to be different sizes. I've looked into the Stage class, but I couldn't find anything that I could use to accomplish what I'm trying to do. The Stage.onResize function only triggers after the Stage has been resized. The Stage.width and Stage.height properties are read-only, so I can't use those to adjust the size of the Stage. Is there anyway to change the size of the Stage dynamically?