# Dynamic resize canvas

**URL:** https://forum.kirupa.com/t/dynamic-resize-canvas/239667
**Category:** flash
**Created:** [September 24, 2007, 5:30pm UTC](https://forum.kirupa.com/t/dynamic-resize-canvas/239667 "2007-09-24T17:30:51Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![scottk](https://avatars.discourse-cdn.com/v4/letter/s/db5fbb/32.png) [@scottk](https://forum.kirupa.com/u/scottk)
#### Post date: [September 24, 2007, 5:30pm UTC](https://forum.kirupa.com/t/dynamic-resize-canvas/239667/1 "2007-09-24T17:30:51Z")

</div>

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
