yes thats correct. typo. regrds bod
--- In [email protected], slangeberg <[EMAIL PROTECTED]> wrote: > > Believe you need to pass the event object: > > <mx:TextInput preinitialize="assignID(event)"/> > > But, that's a pretty good idea! > > -Scott > > On 3/2/07, bhaq1972 <[EMAIL PROTECTED]> wrote: > > > > maybe your trying to do something like this > > > > <mx:TextInput preinitialize="assignID()"/> > > > > private function assignID(event:FlexEvent):void > > { > > //read your xml file and get id > > var sID:String = "assign your id from your xml file here"; > > > > //assign this textinput's id > > event.currentTarget.id = sID; > > } > > > > --- In [email protected] <flexcoders% 40yahoogroups.com>, "Andrew > > Trice" <andrew.trice@> > > wrote: > > > > > > What do you mean? That statement very vague. Can you create > > variables > > > dynamically... yes. Can you use reflection and introspection into > > > classes... yes. Can you create UI components at runtime... yes. > > > > > > > > > > > > Can flex compete with ajax... absolutely. > > > > > > > > > > > > _____________________________________ > > > > > > Andrew Trice > > > > > > Cynergy Systems, Inc. > > > > > > http://www.cynergysystems.com > > > > > > > > > > > > Blog: http://www.cynergysystems.com/blogs/page/andrewtrice > > > > > > Email: andrew.trice@ > > > > > > Office: 866-CYNERGY > > > > > > > > > > > > ________________________________ > > > > > > From: [email protected] <flexcoders%40yahoogroups.com> > > [mailto:[email protected] <flexcoders% 40yahoogroups.com>] On > > > Behalf Of Clint Tredway > > > Sent: Thursday, March 01, 2007 4:19 PM > > > To: [email protected] <flexcoders%40yahoogroups.com> > > > Subject: Re: [flexcoders] Re: Dynamically creating item IDs > > > > > > > > > > > > what do you mean by 'id' > > > > > > On 3/1/07, thetexaspsycho2003 <thetexaspsycho2003@ > > > <mailto:thetexaspsycho2003@> > wrote: > > > > > > --- In [email protected] <flexcoders% 40yahoogroups.com><mailto: > > flexcoders% <flexcoders%25> > > 40yahoogroups.com> > > > , "thetexaspsycho2003" > > > <thetexaspsycho2003@> wrote: > > > > > > > > Is there a way to dynamically create an item's ID? For example > > pulling > > > > it in from a XML file? > > > > > > > > > > I guess from the lack of replies there is no way of doing this. If > > so, > > > this is very disappointing. The ability to create IDs on-the-fly > > is > > > very helpful in other technologies, such as AJAX. > > > > > > > > > > > > > > > -- > > > http://indeegrumpee.spaces.live.com/ > > > <http://indeegrumpee.spaces.live.com/> > > > > > > > > > > > > > -- > > : : ) Scott >

