[flexcoders] Change an image dynamically

2005-12-09 Thread 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

RE: [flexcoders] Change an image dynamically

2005-12-09 Thread Ralf Rottmann
] --- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ralf Rottmann Sent: Freitag, 9. Dezember 2005 18:47 To: flexcoders@yahoogroups.com Subject: [flexcoders] Change an image dynamically I