mantra
09-26-2007, 01:49 PM
I've been trying to do this for a bit now and can't figure it out. I'll bet it's no doubt simple though ......
I'm using flx2 and cf - pulling image names and imageID from a database, returning them back as a returntype="query" from a CFC.
Whenever i try and put it within <mx:Image>, <mx:Tile> inside a <mx:Repeater> etc i can't specify which field to use for reference. ( as in the column holding the image name ). For a label and things like that you have either a labelField or a dataField ... How do you do it with an image ? and then repeat it
I'm using the following on the flx end to handle the returned data:
public function handleCfImgResult(event:ResultEvent):void {
sCfArticle = event.result as ArrayCollection;
}
Thx
I'm using flx2 and cf - pulling image names and imageID from a database, returning them back as a returntype="query" from a CFC.
Whenever i try and put it within <mx:Image>, <mx:Tile> inside a <mx:Repeater> etc i can't specify which field to use for reference. ( as in the column holding the image name ). For a label and things like that you have either a labelField or a dataField ... How do you do it with an image ? and then repeat it
I'm using the following on the flx end to handle the returned data:
public function handleCfImgResult(event:ResultEvent):void {
sCfArticle = event.result as ArrayCollection;
}
Thx