For example:
[Embed(source="/../assets/icons/control_play_blue.png")]
public static var playIcon:Class;
And the project structure is:
/root
/bin
/src
/assets
/flex
/java
The class is an a package inside flex folder. This folder is configured as a source folder, so to access assets I have to use the path /../assets.
Thx.
X.
Unfortunately there's no asset path so you'll need to make sure that the thing which you are embedding is in the same directory or a relative directory to the source. It can't handle the full filepath I think.
Matt
From: [email protected] [mailto:[email protected]] On Behalf Of Xavi Beumala
Sent: Friday, October 06, 2006 1:37 AM
To: [email protected]
Subject: [flexcoders] ASDoc problems with embeded resources
Hi there,
I'm experiencing some annoying problems with ASDoc. The problem is in classes which use Embed metadata tag, when asdoc parses these classes it throws an error complaining about it is unable to resolve the path for transcoding.
When compiling with compc.exe we have a compiler parameter (-include-file) which allow to set up the resources to take in mind but this parameter is not available on asdoc.exe. If in compc I don't use -include-file I get the same error as in asdoc.
How could I solve this?
Help much appreciated!
Best
X.
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
| Software development tool | Software development | Software development services |
| Home design software | Software development company |
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
__,_._,___

