Re: [flexcoders] Re: Dynamic combobox

2006-08-13 Thread Jeremy Rottman



I ahve already traced and debugged them, and they are perfectly fine. The records I am returning to my objects are returned as query objects from my cfc.On 8/13/06, 
Bjorn Schultheiss <[EMAIL PROTECTED]> wrote:













  






Try trace and debug 
branchID.dataProvider = 
result.FLD_BRANCH_NAME as ArrayCollection;and see what it 
is.
 
Are 
the values of the dp strings or objects?
 
Regards,
 
Bjorn Schultheiss
Senior Flash Developer
QDC Technologies
 


From: [EMAIL PROTECTED]ups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Jeremy 
RottmanSent: Monday, 14 August 2006 3:12 PMTo: 
[EMAIL PROTECTED]ups.comSubject: [flexcoders] Re: Dynamic 
combobox


Yes I am returng several records in the result object. I re-wrote thisand 
tried to use a for loop over the results, and that didnt get meanywhere 
either.--- In flexcoders@yahoogroups.com, 
"Jeremy Lu" <[EMAIL PROTECTED]> wrote:>> The red line seems 
very suspecious, I guess this has something to dowith> the data 
structure of the result object, are there many rows (items)inside> 
the result object ?> > > > Here is my current 
code.> >> > // INTALIZE FUNCTIONS> > private 
function initComplete(){> > 
BranchManager_Display_Branch()> > }> >> 
> // CALL DISPLAY BRANCH METHOD> > private function 
BranchManager_Display_Branch(){> > 
BranchManager.Display_Branch()> > }> > // HANDLE 
DISPLAY BRANCH RESULTS> > private function> > 
BranchManager_Display_Branch_Result(result):void{> > 
branchDG.dataProvider = result;> > branchID.dataProvider = 
result.FLD_BRANCH_NAME as> > ArrayCollection;> > 
}> > // HANDLE DISPLAY BRANCH FAULT> > private 
function> > 
BranchManager_Display_Branch_Fault(event:FaultEvent):void{> 
> Alert.show("Test Error","Program Error")> > }> 
>> > Recent Activity> >> > - 93> > 
NewMembers<
http://groups.yahoo.com/group/flexcoders/members;_ylc=X3oDMTJnMmYzdHE2BF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTYwMDAwNzIwNwRzZWMDdnRsBHNsawN2bWJycwRzdGltZQMxMTU1MzI2MDU1>> 
>> > Visit Your Group> ><
http://groups.yahoo.com/group/flexcoders;_ylc=X3oDMTJmbzltdWQzBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTYwMDAwNzIwNwRzZWMDdnRsBHNsawN2Z2hwBHN0aW1lAzExNTUzMjYwNTU->> 
> SPONSORED LINKS> >> > - Web site 
designdevelopment<
http://groups.yahoo.com/gads;_ylc=X3oDMTJkaW9oaTdsBF9TAzk3MzU5NzE0BF9wAzEEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNjAwMDA3MjA3BHNlYwNzbG1vZARzdGltZQMxMTU1MzI2MDU1?t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&g=2&.sig=2wF7dD6PXwQzIHbemU7vXg
>> > - Computer softwaredevelopment<
http://groups.yahoo.com/gads;_ylc=X3oDMTJkdjh1MTVtBF9TAzk3MzU5NzE0BF9wAzIEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNjAwMDA3MjA3BHNlYwNzbG1vZARzdGltZQMxMTU1MzI2MDU1?t=ms&k=Computer+software+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&g=2&.sig=uLaz1tBhWqpUhJRTJ5lZMg
>> > - Software design anddevelopment<
http://groups.yahoo.com/gads;_ylc=X3oDMTJkb2hrNm1rBF9TAzk3MzU5NzE0BF9wAzMEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNjAwMDA3MjA3BHNlYwNzbG1vZARzdGltZQMxMTU1MzI2MDU1?t=ms&k=Software+design+and+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&g=2&.sig=Gd8k7lGZrSI5_34Yjou5cw
>> > - Macromediaflex<
http://groups.yahoo.com/gads;_ylc=X3oDMTJkaGRra3JiBF9TAzk3MzU5NzE0BF9wAzQEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNjAwMDA3MjA3BHNlYwNzbG1vZARzdGltZQMxMTU1MzI2MDU1?t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&g=2&.sig=UDP2wDc9dZjNemRjm7s9lg
>> 
> - Software development bestpractice<
http://groups.yahoo.com/gads;_ylc=X3oDMTJkcDNqNGlpBF9TAzk3MzU5NzE0BF9wAzUEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNjAwMDA3MjA3BHNlYwNzbG1vZARzdGltZQMxMTU1MzI2MDU1?t=ms&k=Software+development+best+practice&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&g=2&.sig=1-0Tdq2ldjHvCo46S-Snuw
>> >> > Search Ads> >> > Get 
newcustomers.<
http://us.ard.yahoo.com/SIG=12hj4em3s/M=493064.8985663.9760769.8674578/D=groups/S=1705007207:NC/Y=YAHOO/EXP=1155333255/A=3848641/R=0/SIG=1312g85fq/*http://searchmarketing.yahoo.com/arp/srchv2.php?o=US2003&cmp=Yahoo&ctv=Groups2&s=Y&s2=&s3=&b=50
>> 
>> > List your web site> >> > in Yahoo! 
Search.> > Y! Toolbar> >> > Get itFree!<
http://us.lrd.yahoo.com/_ylc=X3oDMTJwOG4wN2EyBF9TAzk3MzU5NzE0BF9wAzIEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNjAwMDA3MjA3BHNlYwNuY21vZARzbGsDdG9vbGJhcgRzdGltZQMxMTU1MzI2MDU1;_ylg=1/SIG=11c6dvmk9/**http%3a//toolbar.yahoo.com/%3f.cpdl=ygrps
>> 
>> > easy 1-click access> >> > to your 
groups.> > Yahoo! Gr

RE: [flexcoders] Re: Dynamic combobox

2006-08-13 Thread Bjorn Schultheiss





Try trace and debug 
branchID.dataProvider = 
result.FLD_BRANCH_NAME as ArrayCollection;and see what it 
is.
 
Are 
the values of the dp strings or objects?
 
Regards,
 
Bjorn Schultheiss
Senior Flash Developer
QDC Technologies
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Jeremy 
RottmanSent: Monday, 14 August 2006 3:12 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: Dynamic 
combobox


Yes I am returng several records in the result object. I re-wrote thisand 
tried to use a for loop over the results, and that didnt get meanywhere 
either.--- In [EMAIL PROTECTED]ups.com, 
"Jeremy Lu" <[EMAIL PROTECTED]> wrote:>> The red line seems 
very suspecious, I guess this has something to dowith> the data 
structure of the result object, are there many rows (items)inside> 
the result object ?> > > > Here is my current 
code.> >> > // INTALIZE FUNCTIONS> > private 
function initComplete(){> > 
BranchManager_Display_Branch()> > }> >> 
> // CALL DISPLAY BRANCH METHOD> > private function 
BranchManager_Display_Branch(){> > 
BranchManager.Display_Branch()> > }> > // HANDLE 
DISPLAY BRANCH RESULTS> > private function> > 
BranchManager_Display_Branch_Result(result):void{> > 
branchDG.dataProvider = result;> > branchID.dataProvider = 
result.FLD_BRANCH_NAME as> > ArrayCollection;> > 
}> > // HANDLE DISPLAY BRANCH FAULT> > private 
function> > 
BranchManager_Display_Branch_Fault(event:FaultEvent):void{> 
> Alert.show("Test Error","Program Error")> > }> 
>> > Recent Activity> >> > - 93> > 
NewMembers> 
>> > Visit Your Group> >> 
> SPONSORED LINKS> >> > - Web site 
designdevelopment> > - Computer softwaredevelopment> > - Software design anddevelopment> > - Macromediaflex> 
> - Software development bestpractice> >> > Search Ads> >> > Get 
newcustomers.> 
>> > List your web site> >> > in Yahoo! 
Search.> > Y! Toolbar> >> > Get itFree!> 
>> > easy 1-click access> >> > to your 
groups.> > Yahoo! Groups> >> > Start 
agroup> 
>> > in 3 easy steps.> >> > Connect with 
others.> > .> >> > > 
>>
__._