Beginning the embed path with a slash is interpreted as the root of
your project.

[Embed(source='/assets/static_assets.swf', symbol='scene_icon')]

HTH,
Ben


--- In [email protected], "Janis Radins" <[EMAIL PROTECTED]> wrote:
>
> 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 doesnt.
> Guess I tried everything and only full path starting from C:/ worked.
> Is this normal behavior or this is bug?
> 
> Janis
>


Reply via email to