You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by Eugene Ramirez <ra...@gmail.com> on 2014/04/10 01:48:50 UTC
StyleManager.getColorName deprecated. Suitable replacement?
I have the following line which gives me a deprecated warning:
selectedColor= StyleManager.getColorName(setting.value);
It asks me to use IStyleManager2.getColorName on a style manager instance.
My question is how do I get a style manager instance to use this interface?
Thanks,
Ruben
Re: StyleManager.getColorName deprecated. Suitable replacement?
Posted by Alex Harui <ah...@adobe.com>.
The application should have a "styleManager" property (lower-case 's')
On 4/9/14 4:48 PM, "Eugene Ramirez" <ra...@gmail.com> wrote:
>I have the following line which gives me a deprecated warning:
>selectedColor= StyleManager.getColorName(setting.value);
>
>It asks me to use IStyleManager2.getColorName on a style manager instance.
>
>My question is how do I get a style manager instance to use this
>interface?
>
>Thanks,
>Ruben
RE: StyleManager.getColorName deprecated. Suitable replacement?
Posted by Maurice Amsellem <ma...@systar.com>.
StyleManager. getStyleManager(..)
RTFM ;-)
Maurice
-----Message d'origine-----
De : Eugene Ramirez [mailto:ramirez.eugene@gmail.com]
Envoyé : jeudi 10 avril 2014 01:49
À : users@flex.apache.org
Objet : StyleManager.getColorName deprecated. Suitable replacement?
I have the following line which gives me a deprecated warning:
selectedColor= StyleManager.getColorName(setting.value);
It asks me to use IStyleManager2.getColorName on a style manager instance.
My question is how do I get a style manager instance to use this interface?
Thanks,
Ruben