1 Reply Latest reply on Jan 25, 2011 11:30 AM by Flex harUI

    FTETextField Error

    sewalita

      Am using Flash Builder 4 and Flex 4,0 SDK

      Can anybody help me on this error?

       

      ArgumentError: Error #2004: One of the parameters is invalid.

      at flash.text.engine::ElementFormat/set fontSize()

      at mx.core::FTETextField/createElementFormat()[E:\dev\4.x\frameworks\projects\spark\src\mx\c ore\FTETextField.as:2704]

      at mx.core::FTETextField/validateNow()[E:\dev\4.x\frameworks\projects\spark\src\mx\core\FTET extField.as:2565]

      at mx.core::FTETextField/setTextFormat()[E:\dev\4.x\frameworks\projects\spark\src\mx\core\FT ETextField.as:2439]

      at mx.core::UIFTETextField/validateNow()[E:\dev\4.x\frameworks\projects\spark\src\mx\core\UI FTETextField.as:2215]

      at mx.core::UIFTETextField/set nestLevel()[E:\dev\4.x\frameworks\projects\spark\src\mx\core\UIFTETextField.as:1496]

      at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::addingChild()[E:\dev\4.x\frameworks\projects\f ramework\src\mx\core\UIComponent.as:7202]

      at mx.core::UIComponent/addChild()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UICo mponent.as:6910]

      at mx.controls::Label/http://www.adobe.com/2006/flex/mx/internal::createTextField()[E:\dev\4.x\frameworks\projec ts\framework\src\mx\controls\Label.as:1518]

      at mx.controls::Label/createChildren()[E:\dev\4.x\frameworks\projects\framework\src\mx\contr ols\Label.as:1318]

      at mx.core::UIComponent/initialize()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UI Component.as:7349]

      at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\4.x\frameworks\projects\fr amework\src\mx\core\UIComponent.as:7241]

      at mx.core::UIComponent/addChildAt()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UI Component.as:6947]

      at spark.components::Group/addDisplayObjectToDisplayList()[E:\dev\4.x\frameworks\projects\sp ark\src\spark\components\Group.as:1825]

      at spark.components::Group/http://www.adobe.com/2006/flex/mx/internal::elementAdded()[E:\dev\4.x\frameworks\projects\ spark\src\spark\components\Group.as:1416]

      at spark.components::Group/setMXMLContent()[E:\dev\4.x\frameworks\projects\spark\src\spark\c omponents\Group.as:512]

      at spark.components::Group/set mxmlContent()[E:\dev\4.x\frameworks\projects\spark\src\spark\components\Group.as:452]

      at spark.components::SkinnableContainer/set mxmlContent()[E:\dev\4.x\frameworks\projects\spark\src\spark\components\SkinnableContaine r.as:604]

      at spark.components::SkinnableContainer/createDeferredContent()[E:\dev\4.x\frameworks\projec ts\spark\src\spark\components\SkinnableContainer.as:986]

      at spark.components::SkinnableContainer/createContentIfNeeded()[E:\dev\4.x\frameworks\projec ts\spark\src\spark\components\SkinnableContainer.as:1014]

      at spark.components::SkinnableContainer/createChildren()[E:\dev\4.x\frameworks\projects\spar k\src\spark\components\SkinnableContainer.as:827]

      at mx.core::UIComponent/initialize()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UI Component.as:7349]

      at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\4.x\frameworks\projects\fr amework\src\mx\core\UIComponent.as:7241]

      at mx.core::UIComponent/addChildAt()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UI Component.as:6947]

      at spark.components::Group/addDisplayObjectToDisplayList()[E:\dev\4.x\frameworks\projects\sp ark\src\spark\components\Group.as:1825]

      at spark.components::Group/http://www.adobe.com/2006/flex/mx/internal::elementAdded()[E:\dev\4.x\frameworks\projects\ spark\src\spark\components\Group.as:1416]

      at spark.components::Group/setMXMLContent()[E:\dev\4.x\frameworks\projects\spark\src\spark\c omponents\Group.as:512]

      at spark.components::Group/createChildren()[E:\dev\4.x\frameworks\projects\spark\src\spark\c omponents\Group.as:734]

      at mx.core::UIComponent/initialize()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UI Component.as:7349]

      at com.zaloni.components::ZaloniDateComponent/initialize()

      at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\4.x\frameworks\projects\fr amework\src\mx\core\UIComponent.as:7241]

      at mx.core::UIComponent/addChildAt()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UI Component.as:6947]

      at spark.components::Group/addDisplayObjectToDisplayList()[E:\dev\4.x\frameworks\projects\sp ark\src\spark\components\Group.as:1825]

      at spark.components::Group/http://www.adobe.com/2006/flex/mx/internal::elementAdded()[E:\dev\4.x\frameworks\projects\ spark\src\spark\components\Group.as:1416]

      at spark.components::Group/setMXMLContent()[E:\dev\4.x\frameworks\projects\spark\src\spark\c omponents\Group.as:512]

      at spark.components::Group/createChildren()[E:\dev\4.x\frameworks\projects\spark\src\spark\c omponents\Group.as:734]

      at mx.core::UIComponent/initialize()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UI Component.as:7349]

      at com.cisco.cisco3.components::DateListItem/initialize()

      at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\4.x\frameworks\projects\fr amework\src\mx\core\UIComponent.as:7241]

      at mx.core::UIComponent/addChildAt()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UI Component.as:6947]

      at spark.components::Group/addDisplayObjectToDisplayList()[E:\dev\4.x\frameworks\projects\sp ark\src\spark\components\Group.as:1825]

      at spark.components::Group/http://www.adobe.com/2006/flex/mx/internal::elementAdded()[E:\dev\4.x\frameworks\projects\ spark\src\spark\components\Group.as:1416]

      at spark.components::Group/setMXMLContent()[E:\dev\4.x\frameworks\projects\spark\src\spark\c omponents\Group.as:512]

      at spark.components::Group/createChildren()[E:\dev\4.x\frameworks\projects\spark\src\spark\c omponents\Group.as:734]

      at mx.core::UIComponent/initialize()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UI Component.as:7349]

      at com.cisco.cisco3.renderers::UpcomingDateListRenderer/initialize()

      at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\4.x\frameworks\projects\fr amework\src\mx\core\UIComponent.as:7241]

      at mx.core::UIComponent/addChild()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UICo mponent.as:6924]

      at spark.components::DataGroup/initializeTypicalItem()[E:\dev\4.x\frameworks\projects\spark\ src\spark\components\DataGroup.as:288]

      at spark.components::DataGroup/ensureTypicalLayoutElement()[E:\dev\4.x\frameworks\projects\s park\src\spark\components\DataGroup.as:346]

      at spark.components::DataGroup/measure()[E:\dev\4.x\frameworks\projects\spark\src\spark\comp onents\DataGroup.as:1297]

      at mx.core::UIComponent/measureSizes()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\ UIComponent.as:8216]

      at mx.core::UIComponent/validateSize()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\ UIComponent.as:8140]

      at mx.managers::LayoutManager/validateSize()[E:\dev\4.x\frameworks\projects\framework\src\mx \managers\LayoutManager.as:617]

      at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.x\frameworks\projects\framewo rk\src\mx\managers\LayoutManager.as:733]

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