The snippet "UIComponent('b0')" is attempting to cast the string 'b0' to a
UIComponent.
I'm not really sure what you're trying to do, but you may be looking for:
UIComponent(b0);
or:
UIComponent(this['b0']);
Could you post some more information on what you're trying to achieve?
-Josh
On Wed, Jul 16, 2008 at 1:50 PM, grimmwerks <[EMAIL PROTECTED]> wrote:
> Ok, so I've got this Text component, k? Let's say it's name is b0.
>
> Whereas something like Alert.show(b0.toString()); works --
> Alert.show(UIComponent('b0').toString()) does not -- can anyone point
> out what I'm missing (and yes, I'm importing UIComponent).
>
> Thanks all
>
> ------------------------------------
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
> Links
>
>
>
>
--
"Therefore, send not to know For whom the bell tolls. It tolls for thee."
:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]