Hi All,
I am using creation complete in my one of the screens where I am
attaching a Dynamic menu to PopUpButton. I am using creationComplete
event of PopUpButton to initialise that menu once the creation is
completed of the popUpButton... but its shows the following error on
run time:
TypeError: Error #1009: Cannot access a property or method of a null
object reference.
at ComboPOS/initVal()
at ComboPOS/__cboAuthorsStatusFilter_creationComplete()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchE
ventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/set initialized()
at mx.managers::LayoutManager/::doPhasedInstantiation()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/::callLaterDispatcher2()
at mx.core::UIComponent/::callLaterDispatcher()
If I use initialize event, it doesnt init my dynamic menu.... Can
anyone tell me the solution for the same?
Appriciate quick response...
Thanks in Advance..
Sanjay sharma