Updating movie properties at runtime

I am reading in XML data that describes a kind of linked list tree into Flash 5 and then converting the data into a graphical representation. At design time I don’t know how many nodes there will be in the tree so I don’t really know the dimensions I should make my flash movie object. Is there a way to update my movie’s height and width at runtime? Another thing I’ve noticed is that when I publish the HTML specifies the width and height with tags so it looks like I would need to somehow update those values as well. If you have any ideas about this let me know. Thanks…

as far as I know there is no way to update that at runtime. I would suggest placing all of the nodes into a movie clip (possibly masked) and create a scroll system for viewing the whole tree.

As it is, XML trees are usually pretty large. It is unlikely that you will EVER have enough screen height to view the whole thing at once, unless your node representations are very very small.