I was reading through one of my Flash books on Actionscript and it said you could do gradients programmatically. I was wondering if you can specify a linear gradient for a FStyleFormat value. For example:
formStyleFormat.face = 0xFFFFFF;
If you can, can you also specify whether the linear gradient goes side/side or up/down.
Bringing out the big dogs for this question. I like it. Where would Kirupa be without you guys.
I was trying to be able to skin the comboBox component with a gradient face. Sounds like I challenge. I will probably be back with some more questions.
ilyaslamasse,
I didn’t understand what you meant by “gradient shaped masked”. Would you give me an example code?
basically, have a gradient shape as a movieclip where your text is and set the mask of that gradient to be the text. Then the text has a gradient color.