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
[EMAIL PROTECTED]

 

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff
Sent: quinta-feira, 29 de Junho de 2006 10:27
To: [email protected]
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

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to