Well, there is an there isn't.  UIComponent actually defines a property of
called "id."  AdvancedDataGridColumn isn't a UIComponent, its a descendant
of CSSStyleDeclaration, which does not define "id", nor does its ancestors.
So I guess I really knew the answer before I asked it in that it's a bit of
a kludge to let you name objects in MXML so you can refer to them later.
Then at runtime, this information just isn't there because it really never
existed.


On Fri, May 8, 2009 at 3:08 PM, Charles Parcell <[email protected]>wrote:

>
>
> I believe there is an 'id' for every element you add via MXML.
>
> http://livedocs.adobe.com/flex/3/html/help.html?content=advdatagrid_10.html
>
> See the second example on this page.
>
> Charles P.
>
>
>
> On Fri, May 8, 2009 at 4:01 PM, Pan Troglodytes <[email protected]>wrote:
>
>>
>>
>> This puzzles me a bit.  There is no such property as "id" on
>> AdvancedDataGridColumn or its ancestors.  So why doesn't the compiler barf
>> and give you an unknown property at compile time (it does at runtime)?  Is
>> this some kind of kludge in FB such that it always allows an element called
>> "id" to be stuck on some components (like CSSStyleDeclaration descendants)?
>>
>> --
>> Jason
>>
>>
>>
>  
>



-- 
Jason

Reply via email to