[Flashcoders] trying to get data from list component

2011-05-26 Thread DONALD TALCOTT
I have a list component (multiple selection) on the stage. I am trying to send the selections from the list to sql database via php. I'm using the script below to convert the data selected from the list to a string. The trace works as designed. What do I send in my variables to php script?

Re: [Flashcoders] trying to get data from list component

2011-05-26 Thread Karl DeSaulniers
.selectedIndex ?? On May 26, 2011, at 2:36 PM, DONALD TALCOTT wrote: .selectedIndices Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] trying to get data from list component

2011-05-26 Thread Creighton, Gerry
: Thursday, May 26, 2011 3:37 PM To: Flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] trying to get data from list component I have a list component (multiple selection) on the stage. I am trying to send the selections from the list to sql database via php. I'm using the script below

Re: [Flashcoders] trying to get data from list component

2011-05-26 Thread DONALD TALCOTT
function submitHandler(e:MouseEvent) { var myArr:Array = topskillsfield.selectedIndices; var selectedTopSkills:String = ; for(var i:int = 0; i myArr.length; i++) { var j:int = myArr[i]; if(selectedTopSkills ==

Re: [Flashcoders] trying to get data from list component

2011-05-26 Thread Karl DeSaulniers
Try this... On May 26, 2011, at 3:27 PM, DONALD TALCOTT wrote: function submitHandler(e:MouseEvent) { var myArr:Array = topskillsfield.selectedIndices; var selectedTopSkills:String = ; for(var i:int = 0; i myArr.length; i++) {