ok i have a tilelist loaded with data from a database though a cfc ro. plus i 
have a gallery that i would like to populate with images of a particular item 
from the tilelist when someone clicks on an item in the tilelist. so i was 
reading through arrayutil class and parameter binding and i tried it out.

<mx:RemoteObject id="img" destination="ColdFusion" showBusyCursor="true" 
fault="Alert.show(event.fault.faultString, 'Error');">
                <mx:method name="getImages">
                        <mx:arguments>
                                
<mx:String>assets/homeprofile_pics/extra_pics/{home_tiles.selectedItem.img1}</mx:String>
                                
<mx:String>assets/homeprofile_pics/extra_pics/{home_tiles.selectedItem.img2}</mx:String>
                                
<mx:String>assets/homeprofile_pics/extra_pics/{home_tiles.selectedItem.img3}</mx:String>
                                
<mx:String>assets/homeprofile_pics/extra_pics/{home_tiles.selectedItem.img4}</mx:String>
                        </mx:arguments>
                </mx:method>
        </mx:RemoteObject>

<mx:ArrayCollection id="home_img" 
source="{ArrayUtil.toArray(img.getImages.lastResult)}"/>

then in my custom component the dataprovider of the gallery is "home_img"

<local:DisplayShelf id="shelf"  horizontalCenter="0" verticalCenter="0" 
borderThickness="5" borderColor="#FFFFFF" 
dataProvider="{parentDocument.home_img}" enableHistory="false" width="100%"/>

this still does not work. am in the right direction here, what could i be 
missing?

Reply via email to