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
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
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
3 matches
Mail list logo