looks like parentApplication.displayDraw.details is a ArrayCollection, so
you can't just access it that way.  If you want the object stored at
position n, try

parentApplication.displayDraw.details.getItemAt(n);

so, for what you are working with
parentApplication.displayDraw.details.getItemAt(0).R_MDO_MNAME;

check out
http://livedocs.adobe.com/flex/201/langref/mx/collections/ArrayCollection.html

DK


On 5/9/07, Ian Skinner <[EMAIL PROTECTED]> wrote:
>
> This is just not the kind of problem I need with my cold fogged brain!
>
> I have this array collection [parentApplication.displayDraw.details]:
>
> (mx.collections::ArrayCollection)#0
>    filterFunction = (null)
>    length = 1
>    list = (mx.collections::ArrayList)#1
>      length = 1
>      source = (Array)#2
>        [0] (Object)#3
>          N_LOC_AREA = "SM"
>          N_LOC_DISTNCE = 20
>          N_LOC_LOCCD = "M009"
>          N_LOC_NAME = "Carmichael Elks"
>          N_LOC_TRVLTME = 30
>          R_MDL_BEDCNT = 0
>          R_MDL_COMMENT = "Bloodmobile"
>          R_MDL_DNRCLUB = "2095"
>          R_MDL_DRAWDTE = 20070504
>          R_MDL_LOCTYP = "C"
>          R_MDL_MEMBERS = 5000
>          R_MDL_MOBLID = "M009"
>          R_MDL_RDATE = 20061009
>          R_MDL_RID = "ER2"
>          R_MDL_STATUS = "C"
>          R_MDL_TYPE = "CM"
>          R_MDO_PROJDRW = 25
>          R_MDO_SCDDNR = 23
>          R_MDO_TOTDRAW = 27
>          R_MDT_DRWFTME = 930
>          R_MDT_DRWTTME = 1430
>          R_MLT_ABBREV = "1C"
>          R_MLT_DESC = "1 Coach"
>          R_MOB_MNAME = "Carmichael Elks"
>          R_RCT_NAME = "Rock, Elaine"
>      uid = "9C88C626-E151-F8C4-8988-72305151BE25"
>    sort = (null)
>    source = (Array)#2
>
> But when I try to output the properties, such as 'R_MDO_MNAME'
> [parentApplication.displayDraw.details.R_MDO_MNAME] I receive an error
> that it can not be found?
>
> Error: Unknown Property: 'R_MDO_MNAME'.
>         at
>
> mx.collections::ListCollectionView/http://www.adobe.com/2006/actionscript/flash/proxy::getProperty
> ()
>         at mx.binding::PropertyWatcher/::updateProperty()
>         at Function/http://adobe.com/AS3/2006/builtin::apply()
>         at mx.binding::Watcher/mx.binding:Watcher::wrapUpdate()
>         at mx.binding::PropertyWatcher/updateParent()
>         at mx.binding::Watcher/updateChildren()
>         at mx.binding::PropertyWatcher/::updateProperty()
>         at Function/http://adobe.com/AS3/2006/builtin::apply()
>         at mx.binding::Watcher/mx.binding:Watcher::wrapUpdate()
>         at mx.binding::PropertyWatcher/updateParent()
>         at mx.binding::Watcher/updateChildren()
>         at mx.binding::PropertyWatcher/::updateProperty()
>         at Function/http://adobe.com/AS3/2006/builtin::apply()
>         at mx.binding::Watcher/mx.binding:Watcher::wrapUpdate()
>         at mx.binding::PropertyWatcher/eventHandler()
>         at
>
> flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction
> ()
>         at flash.events::EventDispatcher/dispatchEvent()
>         at mx.core::UIComponent/dispatchEvent()
>         at MobileCalendar/set displayDraw()
>         at MobileCalendar/MobileCalendar::getDraw_handler()
>         at MobileCalendar/___Operation5_result()
>         at
>
> flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction
> ()
>         at flash.events::EventDispatcher/dispatchEvent()
>         at
>
> mx.rpc::AbstractOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent
> ()
>         at
>
> mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler
> ()
>         at mx.rpc::Responder/result()
>         at mx.rpc::AsyncRequest/acknowledge()
>         at
>
> ::NetConnectionMessageResponder/NetConnectionChannel.as$40:NetConnectionMessageResponder::resultHandler()
>         at mx.messaging::MessageResponder/result()
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:4080
Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37

Reply via email to