Flex SDK: Embedding Assets Same as Eclipse Fails in IDEA

Using IDEA 10.0.1 and Flex SDK 4.1, the embedding of assets is failing.

For example:
[Embed( source="/org/gcmm/instantlesson/audio/tweet.mp3" )]
private var Tweet:Class;

Produces an error: [Fault] exception, information=VerifyError: Error #1014: Class mx.core::SoundAsset could not be found.

This works fine in Eclipse.  Am I missing something here?

1 comment
Comment actions Permalink

I tried to compile similar code and had no compilation errors. Please paste content of Messages tool window (you can use 'Export to Text File' action to copy/paste it).

0

Please sign in to leave a comment.