Tips and Tricks using GIS BigData, ArcGIS APIs and other fun stuff :-)

Saturday, March 8, 2008

Unable to resolve '[file]' for transcoding

So I was happy building my project in Flex Builder, till I committed my code and CruiseControl complained that I cannot build it ! See, CC uses compc (the command line compiler) to compile the module and it was returning:unable to resolve 'assets/cross_cursor.png' for transcoding.

Here is what the code looked liked.[Embed(source="assets/cross_cursor.png")]

So I said to my self, "Oh come on! I thought you can handle pngs. Poop !" - Googled the error and found this link. And the solution was to add a "/" in front of "assets":[Embed(source="/assets/cross_cursor.png")]

That's the answer that I'm finding all over the internet, but I can't seem to get it to work. I must be doing something else wrong. I just started using FlashDevelop for the first time today, and I'm using the FlashPunk engine with it. Here's my code:

Twitter Updates

About Me

BigData Advocate - Senior Software Architect at Esri - In addition to being part of the dev team, I travel the globe assisting customers implement BigData solutions with ArcGIS server - Cloudera Certified Hadoop Developer and HBase Specialist - When not coding, you will find me road biking in the middle of winter - went out the other day and was 8F - stay warm :-)