Yes thanks, Tracy.  

 

I notice you on the list offering help a lot.  Appreciated always! 

 

I should have known this, d'oh!

 

Thanks,
Patrick

 

  _____  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tracy Spratt
Sent: Wednesday, May 30, 2007 10:46 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] quick object question

 

Do you mean:

var sPanelId:String = "myPanelId";

var pnl:Panel = this[sPanelId];                 //bracket notation evaluates
to Panel reference.

pnl.title = "MyPanelTitle";

 

Tracy

 

  _____  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of patricklemiuex
Sent: Wednesday, May 30, 2007 12:31 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] quick object question

 

I have string, which is the id of my object. How do I convert my
string name into the id property of my object?\

Why am I doing this you ask, because it's flashvars default that I
want to access a certain panel when my app loads.

Thanks,
Patrick

 

Reply via email to