LOL, I posted this way before the other guys, why is it taking so long
for my messages to show up?

--- In flexcoders@yahoogroups.com, "kevintuhumury"
<[EMAIL PROTECTED]> wrote:
>
> The @ symbol is basicly a shortcut for attribute().
> 
> var oXML:XML = <xml><element type="text" /></xml>
> 
> [EMAIL PROTECTED] for example will retrieve 'text' and xml.child(
> 'element' ).attribute( 'type' ) is basicly the same.
> 
> 
> --- In flexcoders@yahoogroups.com, "Mark Ingram" <mingram@> wrote:
> >
> > Hi, what does the "@" symbol do when using the xml class? I had the
> > following columns in a datagrid and when the data was bound it
made the
> > correct number of rows, but didn't display anything in the cells:
> > 
> >  
> > 
> > <mx:columns>
> > 
> >  
> > <mx:DataGridColumn headerText="Avatar" dataField="avatarUrl"/>
> > 
> >  
> > <mx:DataGridColumn headerText="ID" dataField="id"/>
> > 
> >  
> > <mx:DataGridColumn headerText="Username" dataField="username"/>
> > 
> >  
> > <mx:DataGridColumn headerText="Site ID" dataField="siteId"/>
> > 
> >  
> > <mx:DataGridColumn headerText="First Name" dataField="firstname"/>
> > 
> >  
> > <mx:DataGridColumn headerText="Last Name" dataField="lastname"/>
> > 
> >  
> > <mx:DataGridColumn headerText="Nickname" dataField="nickname"/>
> > 
> >                                                 </mx:columns>
> > 
> >  
> > 
> > But then I changed all dataField properties to have the "@" symbol at
> > the front and it worked fine. What's the "@" symbol do?
> > 
> >  
> > 
> > Cheers,
> > 
> >  
> > 
> > Mark
> >
>


Reply via email to