[flexcoders] Using @ContextRoot() with Loader

2005-10-20 Thread Kashif Noorani
I am trying to figure out a way to load an image dynamically without coding in relative paths. I tried the following with little luck:mx:Loader source=@ContextRoot()/{object.imagePath} width=40 height=58/ The same code works if I replace the @ContextRoot() with the relative path i.e.

RE: [flexcoders] Using @ContextRoot() with Loader

2005-10-20 Thread Tracy Spratt
: [flexcoders] Using @ContextRoot() with Loader I am trying to figure out a way to load an image dynamically without coding in relative paths. I tried the following with little luck: mx:Loader source=@ContextRoot()/{object.imagePath} width=40 height=58/ The same code works if I replace the @ContextRoot

RE: [flexcoders] Using @ContextRoot() with Loader

2005-10-20 Thread Tracy Spratt
: [flexcoders] Using @ContextRoot() with Loader I am trying to figure out a way to load an image dynamically without coding in relative paths. I tried the following with little luck: mx:Loader source=@ContextRoot()/{object.imagePath} width=40 height=58/ The same code works if I replace

Re: [flexcoders] Using @ContextRoot() with Loader

2005-10-20 Thread JesterXL
If you get this to work, please let us know! - Original Message - From: Tracy Spratt To: flexcoders@yahoogroups.com Sent: Thursday, October 20, 2005 1:13 PM Subject: RE: [flexcoders] Using @ContextRoot() with Loader Oops: source=[EMAIL PROTECTED]() + ‘ /’ + object.imagePath

RE: [flexcoders] Using @ContextRoot() with Loader

2005-10-20 Thread Tracy Spratt
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL Sent: Thursday, October 20, 2005 3:26 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Using @ContextRoot() with Loader If you get this to work, please let us know! - Original

Re: [flexcoders] Using @ContextRoot() with Loader

2005-10-20 Thread JesterXL
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXLSent: Thursday, October 20, 2005 3:26 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Using @ContextRoot() with Loader If you get this to work, please let us know! - Original Message ---