Change Selected Property of a Checkbox


i'm trying set selected property of checkbox generated repeater component. checkbox has id of ccb. know can access them using index notation ie. ccb[1].selected = true; - works fine. however, when put in loop , set selected property value stored in array error. ideas? anybody?? please????


typeerror: error #1009: cannot access property or method of null object reference.
@ filter/intfiltercomp()
@ main/loginclickhandler()
@ main/___login1_loginclick()
@ flash.events::eventdispatcher/dispatcheventfunction()
@ flash.events::eventdispatcher/dispatchevent()
@ mx.core::uicomponent/dispatchevent()
@ login/wshandler()
@ login/___operation2_result()
@ flash.events::eventdispatcher/dispatcheventfunction()
@ flash.events::eventdispatcher/dispatchevent()
@ mx.rpc::abstractoperation/ http://www.adobe.com/2006/flex/mx/internal::dispatchrpcevent()
@ mx.rpc::abstractinvoker/ http://www.adobe.com/2006/flex/mx/internal::resulthandler()
@ mx.rpc::responder/result()
@ mx.rpc::asyncrequest/acknowledge()
@ directhttpmessageresponder/completehandler()
@ flash.events::eventdispatcher/dispatcheventfunction()
@ flash.events::eventdispatcher/dispatchevent()
@ flash.net::urlloader/oncomplete()

the error means says: trying read or write value non-existing destination.

debug find out line erroring, , reference null.

tracy


More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support