Could you please write a part of our code using flash.events.Event.ADDED on
this purpose ?


Josh McDonald-4 wrote:
> 
> I'd attach an event listener to systemManager which listens for bubbling
> flash.events.Event.ADDED and flash.events.Event.REMOVED events and keeps a
> list. You will of course have to attach said event listener on
> Application.preinitialize or something like that.
> 
> I'm interested into why you'd want to do this though?
> 
> -Josh
> 
> On Wed, Jul 2, 2008 at 1:37 PM, pbrendanc <pbrend...@yahoo.com> wrote:
> 
>> In windows apps there is a control array collection that can be used
>> to find controls and return a handle to the appropriate object.
>>
>> What is the recommended Flex approach to finding controls and are
>> there any  performance tradeoffs here - recursion is slow and
>> potentially error prone (stack overflows anyone?)??
>>
>> (I'm seeing the use of recursive GetChildByName calls in some examples
>> and wonder if there is a more direct way to find a control given the
>> name/ID - regardless of the nesting level). Am I correct in thinking
>> that GetChildByName only searches the current node for an item, rather
>> than subordinate, nested items?
>>
>> TIA,
>> Patrick
>>
>>
>>
> 
> -- 
> "Therefore, send not to know For whom the bell tolls. It tolls for thee."
> 
> :: Josh 'G-Funk' McDonald
> :: 0437 221 380 :: j...@gfunk007.com
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Enumerating-throug-container-control-arrays-in-Flex-Actionscript--tp18229675p22401033.html
Sent from the FlexCoders mailing list archive at Nabble.com.

Reply via email to