I am currently working on my app and I have run into a problem. I have a custom component that I am using to search for files with in my database. The search works fine. However, when I try to pass the var fld_fileNum into my edit state, I get the error below.
ReferenceError: Error #1069: Property aal not found on hs2f and there is no default value at custom.components.sv::adminFileSearch/custom.components.sv$internal::ListState() at custom.components.sv::adminFileSearch/__FSDG_click() Here is the code I am using. Can someone offer me some insight. <?xml version="1.0" encoding="utf-8"?> <mx:Canvas xmlns:mx="http://www.macromedia.com/2005/mxml" xmlns="*" width="100%" height="100%"> <mx:WebService id="srv" useProxy="false" wsdl="http://flex.homesmartagent.com/cfc/adminHS2F.cfc?wsdl" showBusyCursor="true" /> <mx:Panel x="0" panelAlpha="1.0" height="100%" width="100%" y="03" title="View Transaction: Search"> <mx:Script> <![CDATA[ function qpListSearch(fld_fileNum){ srv.qpListSearch(fld_fileNum);} function ListState() { parentApplication.currentState = 'ntcl'; var app:Object = mx.core.Application.application; app.aal.fld_fileNum.text = FSDG.selectedItem.FLD_FILENUM; } ]]> </mx:Script> <mx:Canvas height="100%" width="100%"> <mx:TextInput x="6" y="22" id="fld_fileNum"/> <mx:Button x="184" y="22" click="qpListSearch(fld_fileNum.text)" label="Button"/> <mx:DataGrid x="6" id="FSDG" click="ListState();" dataProvider="{srv.qpListSearch.result}" y="71" width="100%" height="80%"> <mx:columns> <mx:DataGridColumn headerText="File Number" columnName="FLD_FILENUM"/> <mx:DataGridColumn headerText="Address" columnName="FLD_PROPNUM FLD_PROPDIR FLD_PROPSTREET"/> </mx:columns> </mx:DataGrid> </mx:Canvas> </mx:Panel> </mx:Canvas> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/