If that doesn't work, create a new Image with Builder and browse for the image source.  Flip it over to the xml editor and copy the path out.

On 5/15/06, Clarke Bishop <[EMAIL PROTECTED]> wrote:
Put a "/" in front of the path like this: "/af/images/config.png"
 
That fixed if for me!
 
   Clarke


From: [email protected] [mailto:[email protected]] On Behalf Of thunderstumpgesatwork
Sent: Monday, May 15, 2006 2:14 PM
To: [email protected]
Subject: [flexcoders] Beta3 - Error with @Embed - worked in Beta2


Hi guys,

were there changes to @Embed statement for Beta3? All of my @Embed
statements are now failing. These used to work in Beta2, and I didn't
see any documentation refereces mentioning changes to the syntax...

The images exist in the same place and format as they did previously.
This error is happening for png and gif files.

See the error and the MXML  below:

Thunder
____________________

Error af/controls/CartesianChartGridTile-generated.as:1226
unable to resolve 'af/images/config.png' for transcoding


Error /AppFusion/af/controls/CartesianChartGridTile.mxml:78
Unable to transcode af/images/config.png.

78: <mx:Button icon="@Embed('af/images/config.png')"
click="{doLoadItemConfig(event);}" />








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to