Thanks João,
Yes, it was just a typo in the example. Adding the
extra slash
worked. I thought that I had tried that, but I guess not.
Strange,
I have other images that are embeded for icons in CSS that work
without the slash.
Anyways Muchas Gracias,
Tim
--- In [EMAIL PROTECTED]ups.com,
João Fernandes
<joaofernandes@...> wrote:
>
> Tim,
>
>
>
> First , in your code is missing a ' just
after the = (don't know
if it's just a typo in your message)
>
> <mx:Image
source="@Embed
(source=org/ets/main/code/view/assets/images/logo.swf')"/>
>
> But did you try this?
>
> <mx:Image
source="@Embed
(source='/org/ets/main/code/view/assets/images/logo.swf')"/>
>
>
>
>
>
> João Fernandes
> Dep.
Informática - Área de Desenvolvimento
> Cofina media
>
>
Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL
> Tel (+351)
213 185 200 . Fax (+351) 213 540 370
> joaofernandes@...
<mailto:joaofernand[EMAIL PROTECTED]>
>
>
>
>
From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of Tim Hoff
> Sent: quinta-feira, 29 de Junho de 2006
10:27
> To: [EMAIL PROTECTED]ups.com
>
Subject: [flexcoders] Flex2: Embed Source path
>
>
>
> Noticed something interesting. This works:
>
>
<mx:Image
source="org/ets/main/code/view/assets/images/logo.swf"/>
>
> When I embed the swf, like this, I get an unable to resolve ...
for transcoding error:
>
> <mx:Image
source="@Embed
(source=org/ets/main/code/view/assets/images/logo.swf')"/>
>
> However, if I add the full path to the swf, it works:
>
> <mx:Image source="@Embed(source='c:/Documents and
Settings/Tim/My
Documents/Flex/ets/org/ets/main/code/view/assets/images/logo.swf')"/>
>
> The same thing happened when I tried the class method and CSS.
It's not a big deal, but a little confusing.
>
>
-TH
>