Re: [flexcoders] Embed statement and relative paths

2007-01-17 Thread Keith Peters
you can also go to the project root by starting the path with / Daniel Wabyick wrote: > > > Relative paths, strangely, are relative to the *file* that you are > embedding assets in. So what I assume is that you are embedding in an > MXML or CSS file some ways down in your project hierarchy. > > My

Re: [flexcoders] Embed statement and relative paths

2007-01-17 Thread Daniel Wabyick
Relative paths, strangely, are relative to the *file* that you are embedding assets in. So what I assume is that you are embedding in an MXML or CSS file some ways down in your project hierarchy. My solution to this was to create an EmbedRegistry class which is the sole location of embed state

[flexcoders] Embed statement and relative paths

2007-01-17 Thread Janis Radins
Ignore previous message, accidentally pressed Send button to early So the problem is: I've stumbled upon problem that appears when I try to Embed some assets in class Flex doesnt accept relative paths. Somehow I thought it should threat project root as root path for any embedding but it seems it

[flexcoders] Embed statement and relative paths

2007-01-17 Thread Janis Radins
hye ppl! I've stubled upon problem that appears when I try to Embed some assets in