Flex tag error again
Two errors bothers me all day, there is no error in FlashBuilder but I prefer to complete my work with IDEA
One here, I created a screencast.
http://www.screencast.com/t/FKkH9Q4w
IDEA 107.322
another Question is, how can I embed an image in flex code? code is like this,
<s:BitmapImage smooth="true" source="@Embed('assets/images/Map/Layer 14.png')" d:userLabel="Layer 14" x="-81" y="-95"/>
IDEA can't find the resource path, add, the assets is under the src folder.
Thx
请先登录再写评论。
Unresolved DesignLayer is a bug - please open request at http://youtrack.jetbrains.net.
As for embedding assets: Spec requires leading slash, but Flash Builder uses own path resolver and doesn't care about Adobe's own spec. So to make code clean please write @Embed('/assets/images/Map/Layer 14.png')
useless with or without slash.
Attachment(s):
屏幕快照 2011-07-29 下午2.54.50.png
Sorry, what does the screenshot demonstrate? I don't see red code in it.
Oh, sry, it's my miss. It's OK
I've opened an issue myself: http://youtrack.jetbrains.net/issue/IDEA-72600
It is fixed now.
fixed now? so what can I do to make it run correctly?
Wait for the next IDEA EAP or update release.
Thx, Alexander:D
I have updated to the lastest 107.509.
but the tag is still red...
Sorry, haven't integrated the fix into IDEA 10.5 branch. Thank you for reminder. Please wait for the next EAP.
Is it ok now with 10.5.2 release candidate? http://confluence.jetbrains.net/display/IDEADEV/IDEA+10.5+EAP