Dynamic resize canvas

Is there a way to resize the canvas via an XML file??

i’m doing a simple banner rotation in flash that reads from an XML file to get the images, the display time and the fade time. is there a way to also define the image size (height x width) to change the empty movieclip (canvas). I currently have the customer make the changes (adding additional images, lengthen the display time…) without having to touch the FLA, but if they want to use images different than the current movie size i need to open the FLA and change the canvas. i’d REALLY would like to give them the capability to adjust this one function.

ANY help would be greatly appreciated.

scott k