Error loading image with Assets.getBitmapData

I have one project which use source from other project . For that reason I set in project.xml the followin options:

<source path="../CommonLib/src"/>
<assets path="../CommonLib/src/com/larry/assets/textures" rename="textures"/>

When I try to get the asset with:

 var bd = Assets.getBitmapData("textures/win.png");

I received the error:

  [Assets] There is no Image asset with an ID of "textures/win.png"

Is it possible to load resources ( images) from other project ?

Please put your xml code inside a code block. Otherwise, it’ll be deleted.



My mistake. Assets works just fine