Maybe I'm just missing some complexity of the problem, but any reason 
why something like this wouldn't work? (assuming the scrolling ticker 
can accept XML in its dataProvider)

private function resultHandler(evt:ResultEvent):void {
  var result:XML = evt.result;

  datagrid.dataProvider = result;
  scrollingTicker.dataProvider = result.track.notes[0];
}

--- In [email protected], Jimmy Neutron 
<[EMAIL PROTECTED]> wrote:
>
> Humble greetz fellow flexers,
> 
> I'm trying to share data from an HTTPService to two components -  
one is a standard datagrid, the other is a scrolling ticker component
(tried arraycollection,xmllist and object and now thoroughly confused 
myself)
> 
> so the result i'm looking for is to extract one node of the xml 
feeding the DG and send this to the scroller
> 
> eg xml
> 
> <artist>
>  <track>
>    <title></title>
>    <date></date>
>    <notes></notes>
>  </track>
> </artist>
>  
>  
> <notes> does not assign to
>  a datafield on DG and needs
>  to feed scroller component-
> i understand
>  the scroller will
>  need a default text before the feed also.
> 
> Knowing as there's many ways to skin our flex cat, any approaches 
are appreciated.
> 
> will post full code if this isnt an adequate explanation-i was 
using the example at
> 
> http://blog.flexexamples.com/2007/09/19/converting-xml-to-objects-
using-the-flex-httpservice-mxml-tag/
>


Reply via email to