# Modify the canvas size dynamically

**URL:** <https://forum.kirupa.com/t/modify-the-canvas-size-dynamically/232479>\
**Category:** Uncategorized\
**Created:** [July 14, 2007, 8:07am UTC](https://forum.kirupa.com/t/modify-the-canvas-size-dynamically/232479 "2007-07-14T08:07:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamna](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@jamna](https://forum.kirupa.com/u/jamna)\
**Post date:** [July 14, 2007, 8:07am UTC](https://forum.kirupa.com/t/modify-the-canvas-size-dynamically/232479/1 "2007-07-14T08:07:25Z")

</div>

Hi guys,  
I want to resize the canvas of my flash page ,depending on the content of the movie  
the content will be a text coming from a XML file will be change always so  
[FONT=verdana][SIZE=2][COLOR=#000000]the question:  
how can i modify the canvas size dynamically?  
thanks[/COLOR][/SIZE][/FONT]
