[flexcoders] Re: cf query, xml & flex

2006-09-13 Thread bhaq1972
--- In flexcoders@yahoogroups.com, "Paul Hastings" <[EMAIL PROTECTED]> wrote: > > On 9/13/06, bhaq1972 <[EMAIL PROTECTED]> wrote: > > > try this > > > > var xml1:XML = new XML( > > yes that works, at least it reports the 2 "root" nodes but as i said > before, this stuff works inline fine. it's

Re: [flexcoders] Re: cf query, xml & flex

2006-09-13 Thread Paul Hastings
On 9/13/06, bhaq1972 <[EMAIL PROTECTED]> wrote: > try this > > var xml1:XML = new XML( yes that works, at least it reports the 2 "root" nodes but as i said before, this stuff works inline fine. it's coming over from cf that's killing me. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/

[flexcoders] Re: cf query, xml & flex t

2006-09-13 Thread bhaq1972
try this var xml1:XML = new XML(

Re: [flexcoders] Re: cf query, xml & flex t

2006-09-13 Thread Paul Hastings
On 9/13/06, bhaq1972 <[EMAIL PROTECTED]> wrote: > the 'layers' property is the bit you're interested in. Its well > formed xml correct? so what happens when you do yup. i can dump it out in cf & use that xml inline w/the Tree as > var xml1:XML = new XML(yourReturnedObject.layers); more or les

[flexcoders] Re: cf query, xml & flex tr

2006-09-13 Thread bhaq1972
the 'layers' property is the bit you're interested in. Its well formed xml correct? so what happens when you do var xml1:XML = new XML(yourReturnedObject.layers); can u show a brief structure of this xml. --- In flexcoders@yahoogroups.com, "Paul Hastings" <[EMAIL PROTECTED]> wrote: > > On 9/1

Re: [flexcoders] Re: cf query, xml & flex tr

2006-09-12 Thread Paul Hastings
On 9/12/06, bhaq1972 <[EMAIL PROTECTED]> wrote: > can you show us a dump (trace) of your cfquery returned object. sure. [object Object] ;-) the debugger is a bit more informative. thisMap = Object (@8fb2101) layers = Object (@8fb20e1) mapScale = "1:73,441" mapScaleFactor

[flexcoders] Re: cf query, xml & flex tre

2006-09-12 Thread bhaq1972
can you show us a dump (trace) of your cfquery returned object. ...doesn't have to be the whole thing just the main bits. --- In flexcoders@yahoogroups.com, "Paul Hastings" <[EMAIL PROTECTED]> wrote: > > On 9/12/06, bhaq1972 <[EMAIL PROTECTED]> wrote: > > thanks for the reply. > > > eg > >

Re: [flexcoders] Re: cf query, xml & flex tre

2006-09-12 Thread Paul Hastings
On 9/12/06, bhaq1972 <[EMAIL PROTECTED]> wrote: thanks for the reply. > eg > var xml1:XML = new XML(yourcfquery_returnedobject); > then do > var xc3:XMLListCollection = new XMLListCollection(xml1.children()); unfortunately xc3.length() is showing 0. i *know* the data's there. i wonder if the

[flexcoders] Re: cf query, xml & flex tree

2006-09-12 Thread bhaq1972
just an idea. take the object returned from your cfquery and make an XML object out of it. eg var xml1:XML = new XML(yourcfquery_returnedobject); then do var xc3:XMLListCollection = new XMLListCollection(xml1.children()); (n.b. in your case the xmllistcollection data might not be based on the c