Try constructing the entire URL in script and
assign it to the image!
var imgSource:String = "http://www.mySite.com/pictures/"+photoID+".jpg"
mx:Image id="myImage"source="{imgSource}"/
Sree
- Original Message -
From:
yaagcur
To: flexcoders@yahoogroups.com
Sent:
Hi -
You can use databinding to plug in your photoID dynamically.
mx:Script
var photoID:Number = 1234;
/mx:Script
mx:Image id=myImage
source=http://www.mySite.com/pictures/{String(photoID)}.jpg /
-deepa
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
2 matches
Mail list logo