Quote:
|
Originally Posted by danimal
A project I'm working on requires a textarea ... just changing the _alpha of depthChild0 seems the quickest.
Thanks
|
You can do it globally like this:
_global.styles.TextArea.setStyle("backgroundColor" , "false");
You can also do this:
_global.styles.TextArea.backgroundColor = undefined;
I haven't compared the results of the depthchild hack to the above methods, so I'm not entirely sure if/where the results differ. The main reason I can think of for favouring the above methods is for future compatability. Using the public methods of a class means that we'll still get the same result even if the inner workings of the component are altered by Adobe at a later date.