# Best way to show expanding tree text / images?

**URL:** <https://forum.kirupa.com/t/best-way-to-show-expanding-tree-text-images/329526>\
**Category:** Uncategorized\
**Created:** [September 10, 2012, 1:42pm UTC](https://forum.kirupa.com/t/best-way-to-show-expanding-tree-text-images/329526 "2012-09-10T13:42:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mickyjune26](https://avatars.discourse-cdn.com/v4/letter/m/f14d63/32.png) [@mickyjune26](https://forum.kirupa.com/u/mickyjune26)\
**Post date:** [September 10, 2012, 1:42pm UTC](https://forum.kirupa.com/t/best-way-to-show-expanding-tree-text-images/329526/1 "2012-09-10T13:42:00Z")

</div>

Hi everyone! I’m creating my 2nd flash interface. It will display the graphic below:

When someone clicks a phase in the cycle, the graphic with fade out and a new window displays.

I know how to do that much in flash. What I don’t know is how to best organize the text in the pop-up. Specifically, when someone clicks the plus sign (look closely in the 2nd image to see an example of an expanded section), I want the space below the text to expand, showing more text and/or an image. When the user is done, they click the “X” to close the expanded section.  
It’s basically a tree menu format. However, instead of just expanding a small phrase, it will expand to show an entire paragraph and/or images.  
\*\*  
Questions:

\*\*  
[LIST=1]  
[_]What code should I use to do this? I’m guessing I can’t just insert CSS / Javascript into flash, lol.  
[_]Do I need to make my flash player window big enough to fit all the items, in case the user expands all sections and wants to see it all from a bird’s-eye view?Or is there a way to dynamically increase the vertical size of the flash player to fit the expanded text? I like how HTML allows you to dynamically expand the vertical cell height, as more text is added.  
[/LIST]

My due date is September 24th. If I can’t have the ability to expand / hide sections, I’ll just show the window with everything already expanded…or I’ll just show it in a separate window inside the player. ☹
