Hey everyone,

Did anyone find an answer to this error with embeded resources and
asdoc? I have com across the exact same thing.

Cheers,

Simon

--- In [email protected], "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> Try taking out the first / and just start with ../?
> 
>  
> 
> Matt
> 
>  
> 
> ________________________________
> 
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of Xavi Beumala
> Sent: Monday, October 09, 2006 11:14 PM
> To: [email protected]
> Subject: Re: [flexcoders] ASDoc problems with embeded resources
> 
>  
> 
> 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
>       /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.
> 
> On 10/10/06, Matt Chotin <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> >
> wrote:
> 
> 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]>
> [mailto:[email protected] <mailto:[email protected]> ]
> On Behalf Of Xavi Beumala
> Sent: Friday, October 06, 2006 1:37 AM
> To: [email protected] <mailto:[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.
>


Reply via email to