What do you mean by just set to source="[url]"? what is the complete syntax?
The compiler does not allow the following syntax: <mx:Button label="myBtn" icon="@Embed(source='http://www.mywebsite.com/image/img.jpg')"/> --- In [email protected], "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > Just set source="[url]" > > Tracy > > > > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of guillaumeracine > Sent: Friday, April 04, 2008 7:20 PM > To: [email protected] > Subject: [flexcoders] How to display a button's icon from a remote > source? > > > > Hi, > i know we can set the icon of a button using this syntax: > <mx:Button label="myBtn" > icon="@Embed(source='assets/slideshow/1.png')"/> > > but my image icon is on a remote server... > How i can set the icon of a button from a remote source? >

