PDA

View Full Version : popup window to display variable


stephenF
10-14-2001, 01:15 AM
Does anyone know if it's possible to combine a pop-up menu (that appears in the flash file, not as a separate new window) with headings retrieved as variables from a text file? I know this can be done, but can it be done in such a way that if the number of headings varies, then so does the length of the pop-up window, so that no blank spaces occur?

What I want to do is to retrieve headings which can then be clicked on to go to other pages. These headings will be varied dynamically, though. I don't want to use a scroll box - I'd much rather have them as a pop-up menu. Any help would be great.

Jesse
10-14-2001, 02:35 AM
Not really. We've discussed stuff like this often enough. The problem is that you can't make a field of dynamic length in Flash so you'd have to have 10 different fields of varying length and attach the correct one dynamically. What a pain. See the Text Manipulation (Advanced) tutorial which is the best we've come up with to date.

stephenF
10-14-2001, 03:03 AM
That sounds good enough for my purposes, though I don't even know how to attach different length boxes dynamically (I'm new at this). I'll go and have a look at the text manipulation tutorial - thanks for your help...

Jesse
10-14-2001, 04:12 AM
see the attachMovie tutorial. it woudl havet o be a font field within a movie clip but it's prolly not worth it.