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 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]com> 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]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Xavi Beumala
Sent: Friday, October 06, 2006 1:37 AM
To: [EMAIL PROTECTED]ups.com
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





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
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

__,_._,___

Reply via email to