Can i change the stage dimension by XML?

hi,

Say that, I have a basic image galery using xml file as image sources.
After a time I replace images in xml file by a different image group with higher dimensions. At this point I want my swf file to adopt new height and width values. How can this be done ?

I tried but failed :frowning: In Flash help files, it says as read-only properties for Stage.height and Stage.width, but because I’m not an AS guru I thought that there should be a way to do this.

thanks for helps,