hi. i'm building a scheduler application. a user chooses the first date of their infusion and then how many they want and how frequently.
a user can choose between 1-3 infusions every 1, 2, 3, or 4 weeks. these values are stored in comboboxes where the user makes their selection. what i want to do is calculate on what days there will be infusions and then push them into an array. i capture the starting date and injections like this: startingMonth = month_cb.selectedItem.data; startingDay = day_cb.selectedItem.label; startingYear = year_cb.selectedItem.label; infusions = infusions_cb.selectedItem.label; weeks = weeks_cb.selectedItem.label; how would i go about pushing them into an array? this is what i've begun with. var infusionDates:Array = new Array(); infusionDates.push( startingDay + " " + startingMonth + " " + startingYear ); // how would i increment it? any tips on getting started are greatly appreciated. thanks. -- matt. _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com