That's why God invented ObjectProxy. Google it...
--- In [email protected], "mark.embrey" <mark.c.emb...@...> wrote:
>
> I'm wanting to retrieve the "name" property of a file object that is in
> an ArrayCollection that is acting as my data provider .
>
> I'm trying to write a function to do this, as well as cast the "name" to
> a string for further manipulation. The function does not throw any
> errors, but the Flash Builder console displays the following output:
>
> warning: unable to bind to property 'name' on class
> 'flash.filesystem::File'
>
> Any ideas of how I can create a bindable variable from the "name" from
> this object? ...especially since I can't make a variable in a function
> [Bindable] ?
>
> many thanks,
>
> MCE
>