1 Reply Latest reply on Apr 11, 2012 1:42 AM by Ricky Mi

    Use HTML text in mobile controls

    community help Level 1

      This question was posted in response to the following article: http://help.adobe.com/en_US/flex/mobileapps/WS19f279b149e7481c-3c2dbaa612bb06a5ea2-8000.ht ml

        • 1. Re:  Use HTML text in mobile controls
          Ricky Mi

          The second example with deploying CSS style fails with error report as below:

          -


          Error: Error #2009: This method cannot be used on a text field with a style sheet.

               at flash.text::TextField/replaceText()

               at spark.skins.mobile::TextAreaSkin/layoutContents()[E:\dev\hero_private\frameworks\projects \mobiletheme\src\spark\skins\mobile\TextAreaSkin.as:369]

               at spark.skins.mobile.supportClasses::MobileSkin/updateDisplayList()[E:\dev\hero_private\fra meworks\projects\mobiletheme\src\spark\skins\mobile\supportClasses\MobileSkin.as:298]

               at mx.core::UIComponent/validateDisplayList()[E:\dev\hero_private\frameworks\projects\framew ork\src\mx\core\UIComponent.as:8989]

               at mx.managers::LayoutManager/validateDisplayList()[E:\dev\hero_private\frameworks\projects\ framework\src\mx\managers\LayoutManager.as:736]

               at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\hero_private\frameworks\project s\framework\src\mx\managers\LayoutManager.as:801]

               at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\hero_private\frameworks \projects\framework\src\mx\managers\LayoutManager.as:1180]