Adobe flex; Failed to grab pixels for image

PuneetKSaxena used Ask the Experts™

I'm adding a new folder and a new image with Image tag. code below.
BUt i'm getting exception :
"exception during transcoding: Failed to grab pixels for image"

Any solution in this will be highly appreciated.

Thanks and Regards

	 <mx:Image id="img" source="@Embed('images/rtl1.jpg')"  width="180" height="135"/>

Open in new window

Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
try this syntax:
<mx:Image id="img" source="@Embed(source='./images/rtl1.jpg')"  width="180" height="135"/>
Image was corrupted, due to which i was facing this issue.
Thanks for the help

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial