Found it. Needs to be: [Embed(source="images/pic2.gif")] var _img:String; this.imgPic1.source = _img; Ralf Rottmann | Director Sales & Marketing | VoicInt
Telecommunications GmbH From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ralf Rottmann I have included an image control in my app: <mx:Image id=”imgPic1”
source=”@Embed(“images/pic1.gif”)” /> Next I am trying to programmatically change the image (in an
event handler): [Embed(source="images/pic2.gif")] var _img:String; this.imgPic1 = _img as Image; However, nothing
happens. Any idea?
|