[flexcoders] Re: Generic Function To Set ComboBox Item

2010-05-19 Thread angelo_anolin
Any take on this?

Thanks.

--- In flexcoders@yahoogroups.com, Angelo Anolin angelo_ano...@... wrote:

 Hi FlexCoders,
 
 I would want to create a generic function to be able to set a ComboBox item.
 
 The function I have goes like this:
 
 private function selectComboItem(itemID:String, dataProv:XMLListCollection, 
 cmb:ComboBox, dpID:String) :void
 {
   for (var i:int = 0; i dataProv.length; i++)
   {
 var item:String = dataProv.getItemAt(i).dpID;
 
 if(itemID == item)
 {
   cmb.selectedIndex = i;
   break;
 }
   }
 }
 
 dpID is the data item in the XML List collection which should match the 
 passed itemID.  But I can't seem to get properly the item.
 
 Any suggestions highly appreciated. Thanks.





[flexcoders] New Into Flex

2009-04-26 Thread angelo_anolin
Hi Everyone.

Am new into this flex thing and I really appreciate the way it is evolving for 
developing rich internet applications.

I already have the free ebook Getting Started With Adobe Flex3.

I would like to learn a lot more on developing Flex web data applications.  
Something that connects to an oracle database, perform some CRUD operations and 
other data-intensive operations.

Since I am only beginning to discover the wonders of flex, I hope some of you 
could point me some nice articles and or blog posts that does this.  

Am sure I would have a lot more questions when I delve deeper into the world of 
Flex and I hope I could post some of them here so as to give me better 
understanding of this great development platform.

Thanks a lot