Issue with paths
The following throws an error
[Embed(source="nikos/pixelBlender/Twist.pbj", mimeType="application/octet-stream")]
[APP_UITE (Flex Application 1)] unable to resolve 'nikos/pixelBlender/Twist.pbj' for transcoding
whereas this is fine
<mx:Image source="images/cfx.png" right="10" top="10" id="logo"/>
I'm sure the paths are fine.
any advice friends?
请先登录再写评论。
ah, this fixed it:
[Embed(source="/nikos/pixelBlender/Twist.pbj", mimeType="application/octet-stream")]
funny how it worked in FB4
Yes, spec requires leading slash, but FB uses own path resolver and doesn't care about Adobe's own spec.
sheesh, strange world lol