Expand my Community achievements bar.

Action script error

Avatar

Level 2

I tried to load a module that has a label and combobox I get the following error. If I remove the label I get the same actionscript error. Not sure why the label is not defined..

ReferenceError: Error #1065: Variable mx.controls::Label is not defined.
at <anonymous>()[C:\Documents and Settings\bmani\My Documents\Flex Builder 3\EmailGroup\src\UpdateUser.mxml:0]
at Function/http://adobe.com/AS3/2006/builtin::call()
at mx.core::ComponentDescriptor/get properties()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\ComponentDescriptor.as:241]
at mx.core::Container/initialize()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\Container.as:2510]
at UpdateUser/initialize()[C:\Documents and Settings\bmani\My Documents\Flex Builder 3\EmailGroup\src\UpdateUser.mxml:0]
at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:5267]
at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\Container.as:3305]
at mx.core::Container/addChildAt()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\Container.as:2217]
at mx.core::Container/addChild()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\Container.as:2140]
at mx.modules::ModuleLoader/moduleReadyHandler()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\modules\ModuleLoader.as:360]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at ModuleInfoProxy/moduleEventHandler()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\modules\ModuleManager.as:1097]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at ModuleInfo/readyHandler()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\modules\ModuleManager.as:752]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::FlexModuleFactory/update()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\FlexModuleFactory.as:327]
at mx.core::FlexModuleFactory/docFrameHandler()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\FlexModuleFactory.as:418]

Thanks,

Bharani

2 Replies

Avatar

Level 3

Hi,

          Please check wether you have initialised your label or not

          i.e wethere you created an object or not for that Label.

Avatar

Level 2

I did create a label control inside my module ..