• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Problem converting Flex 3 project to Flash 4

New Here ,
Jul 07, 2010 Jul 07, 2010

Copy link to clipboard

Copied

Getting following warning...

3608: 'clearStyleDeclaration' has been deprecated since 4.0.  Please use 'IStyleManager2.clearStyleDeclaration on a style manager instance'. dominoViewUtilities.as /FlexGateQ Demo 2/[source path] src/packages/dominoUtilities line 327 Flex Problem

...for this line of code...
StyleManager.clearStyleDeclaration('.dvColHdr_' + colcnt.toString(),false);
Following the instructions I try to use the IStyleManager2 class, however, the clearStyleDeclaration method seems not to exist in that class. The compiler says...
Multiple markers at this line:
-IStyleManager2
-IStyleManager2
-1061: Call to a possibly undefined method clearStyleDeclaration through a reference with static type Class.
I probably just doing something wrong, but can't figure out what it is.
Any help is appreciated.
Thanks

Views

368

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 07, 2010 Jul 07, 2010

Copy link to clipboard

Copied

LATEST

Hi,

A more relevant forum for this query would be the flex sdk forum (http://forums.adobe.com/community/flex/flex_general_discussion).

-mayank

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines