oops, read "event.result.getItemAt(0)" instead of "lastResult[0]"...
I think you should keep one data holder (<mx:Model> or arrayCollection)
which would be bound to gallery and whatever has to get images path and
label.
You may keep <mx:Model> (because easier to read than AS)  to store data
usefull for gallery component :

> <mx:Model id="homeImages">
>    <gallery>

      <title>title</title>
>       <label>{home_tiles.selectedItem.data.imgId_home}</label>
>       <images>
>
> <img><label>img1</label><fullImage>{dataAr1.getItemAt(0).img1}</fullImage></img>
>
> <img><label>img2</label><fullImage>{dataAr1.getItemAt(0).img2}</fullImage></img>
>
> <img><label>img3</label><fullImage>{dataAr1.getItemAt(0).img3}</fullImage></img>
>
> <img><label>img4</label><fullImage>{dataAr1.getItemAt(0).img4}</fullImage></img>
>
>       </images>

   </gallery>
> </mx:Model>
>
then use "parentDocument.homeImages.images.img" as data provider for
gallery's horizontalList, and "parentDocument.homeImages.label" for
gallery's label.

thomas
---
http://www.web-attitude.fr/
msn : [email protected]
softphone : sip:[email protected] <sip%[email protected]>
téléphone portable : +33601 822 056


2009/7/10 stinasius <[email protected]>

>
>
> Hi you were not being offensive, sorry if i gave you the idea you were, as
> a matter of fact you are trying to help and i am grateful for it. now i cant
> use lastResult because i am using a remote object and there is no
> resultFormat property on RemoteObject methods. so am still stuck, plus where
> you suggesting i do away with the <mx:Model> completely?
>
>  
>

Reply via email to