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

flash actionscript

group:

Fading +text+ content of MX2004 components



Fading +text+ content of MX2004 components Ken Fine
12/26/2004 11:34:09 AM
flash actionscript: I've successfully faded the DataGrid component by assigning an alpha to my
instance. Curiously, this only fades the UI elements, and not the actual
text that populates it.

Can this be done "directly", or will I need to write function fadeDataGrid
to adjust the alpha of the UI and assign a different color to the text? I
can do this, but it seems like a hack.

-KF

Re: Fading +text+ content of MX2004 components David Stiller
12/28/2004 4:01:01 PM
Ken,

Interesting. I haven't tried to fade any of the components yet, but
your discovery doesn't surprise me. The v2 components are fairly complex
creatures and rely heavily on inheritance, so it's not always immediately
apparent what you're tinkering with.

You might just consider *fading in* a graphic symbol that matches the
background, fading it over top of these components. It's also a hack, but a
visual one and therefore less code intensive.


David
stiller (at) quip (dot) net
"Luck is the residue of good design."

AddThis Social Bookmark Button