Hi Tracy

Thanks for your reply - I actually think I understod that. Thanks for
your answer.

Best regards,
Mark

--- In [email protected], "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> Setting the id this way is not the same as setting an id="myId"  in an
> mxml tag.  In that case the generator/compiler creates an instance
> variable with the name specified in the id property containing a
> reference to the component.
> 
>  
> 
> When creating children yourself, you need to build your own list of
> references.  One way is using an object (associative array)
> 
>  
> 
> _oTBArray['tabnav'+ dp[i].id] = newTB;
> 
>  
> 
> Then access it:
> 
> var tbCurrent:TabNavigator = _oTBArray['tabnav'+ dp[i].id];
> 
>  
> 
> Tracy
> 

Reply via email to