This will be fixed in the next update to Flex, since ASDoc will ignore embedded resources. -Brian ________________________________
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simon_janssens Sent: Tuesday, January 02, 2007 10:06 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: ASDoc problems with embeded resources 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 flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Matt Chotin" <[EMAIL PROTECTED]> wrote: > > Try taking out the first / and just start with ../? > > > > Matt > > > > ________________________________ > > From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> ] On > Behalf Of Xavi Beumala > Sent: Monday, October 09, 2006 11:14 PM > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.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] <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: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> <mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > > [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> <mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > ] > On Behalf Of Xavi Beumala > Sent: Friday, October 06, 2006 1:37 AM > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> <mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.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. >