Sorry, of course you're correct Alex. I had my Image on the second child of a TabNavigator and forgot to set the creation policy to all... so the Image wasn't getting created if I never actually hit that second tab. The debug message made it sound like the "source" property was null, when, in fact, it was the image component itself.
DOH! Thanks for your help, as always. -Carl --- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Source is typed as Object, but if you give it a string you can read back > that string. > > > > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of carl_steinhilber > Sent: Thursday, November 15, 2007 3:26 PM > To: [email protected] > Subject: [flexcoders] Retrieving file path from mx:Image? > > > > Hello all. > > Is there a way to retrieve the path of the source file for an mx:Image > component? > > I'm setting the source as a URL, but any attempts to retrieve the > current source results in an Object (as expected, I think). But I need > to retrieve the URL/filepath, if possible. > > Anyone have any pointers? > > Thanks in advance! > -Carl >

