all groups > flash actionscript > november 2004 >
You're in the

flash actionscript

group:

Dynamic Content/Textfields and Masks


Dynamic Content/Textfields and Masks stilldrunk
11/21/2004 8:03:21 PM
flash actionscript:
I'm building a menu (trying) that on rollover will hopefully display links I
parse from XML. I'm able to parse the XML and create the textfields with the
content, but that's on the first frame or onload. But I don't want to show
these links until you rollover the menu. So what's the trick? Do you ... 1)
store the content in an array and build the textfields on the fly everytime you
rollover the menu and unload them on rollout 2) are they always there, but the
alpha is all the way down to almost zero 3) A mask. I know how to you use
setMask in AS, but conceptually I don't know how I would use a mask since I
don't know what would be masked in this case. What's the best method?
Thanks in advance.
Dynamic Content/Textfields and Masks stilldrunk
11/22/2004 12:45:01 PM
Sorry I needed to bounce this, but time is running out for me.

I'm building a menu (trying) that on rollover will hopefully display
links I
parse from XML. I'm able to parse the XML and create the textfields with
the
content, but that's on the first frame or onload. But I don't want to show
these links until you rollover the menu. So what's the trick? Do you ... 1)
store the content in an array and build the textfields on the fly
everytime you
rollover the menu and unload them on rollout 2) are they always there,
but the
alpha is all the way down to almost zero 3) A mask. I know how to you use
setMask in AS, but conceptually I don't know how I would use a mask
since I don't know what would be masked in this case. What's the best
method?
Thanks in advance.
AddThis Social Bookmark Button