RE: [flexcoders] ASDoc problems with embeded resources

2006-10-09 Thread Matt Chotin
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: flexcoders@yahoogroups.com [mailto:flexcoders@yah

Re: [flexcoders] ASDoc problems with embeded resources

2006-10-09 Thread Xavi Beumala
The fact is that the path is relative to the project: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  /javaThe class is an a package inside flex folder. This folder

RE: [flexcoders] ASDoc problems with embeded resources

2006-10-10 Thread Matt Chotin
Try taking out the first / and just start with ../?   Matt   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Xavi Beumala Sent: Monday, October 09, 2006 11:14 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] ASDoc problems with