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], João Fernandes <[EMAIL PROTECTED]> 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 > [EMAIL PROTECTED] <mailto:[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 > ------------------------ Yahoo! Groups Sponsor --------------------~--> See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

