[flexcoders] Passing Dates to DateChooser via XML Problem

2008-07-11 Thread tspyro2002
Hi guys, The problem I'm having is as follows : I have a combobox that holds information on different countries and when this is updated by the user (ie they pick a new country) a region combo box is then automatically updated. The countries XML file holds information for the combobox with th

[flexcoders] Re: Flex & Credit Card Processing

2008-06-13 Thread tspyro2002
hip the product. However, this makes your company feel > "small" and you lose orders because people get scared off. > > Anyway, use the server technology to do the processing, and never leave > anything dangerous in your Flex app. Just my 2 cents. > > Thanks &g

[flexcoders] Flex & Credit Card Processing

2008-06-12 Thread tspyro2002
Hi, Can anyone point me in the direction on how to process Credit Card payments with Flex, Im I right in thinking that it will use an API, HTTPS and a Merchant Account with a bank? Would it be possible to create a custom script to post variables to a WorldPay or similar vendor. Cheers, Dav

[flexcoders] Re: Conditional Statement Problem

2008-06-11 Thread tspyro2002
oop (hard > to read without indenting). If you go ahead and add another break into the > for loop, right below the overbooked = true line, then you will save a few > loop cylces. > > Doug > > On Wed, Jun 11, 2008 at 10:37 AM, tspyro2002 <[EMAIL PROTECTED]> > wrote: > &

[flexcoders] Re: Conditional Statement Problem

2008-06-11 Thread tspyro2002
{ > >> > >> for (var a:int = 0; a <= disabledDates.length; a++) { > >> > >> stayLength[i] = year.toString() + "," + month.toString() + "," + > >> startDate.toString(); > >> > >>

[flexcoders] Conditional Statement Problem

2008-06-11 Thread tspyro2002
Hi, I have a problem where I am processing dates and cross checking them across two Arrays. One array holds user selected dates, the other holds dates which are disabled. The loop I have at the minute checks them OK but outputs an Alert box for every date which is the same. How can I adjust th

[flexcoders] Re: HTTPService Bug

2008-06-11 Thread tspyro2002
All XML attribute values, names, and text values are String data types, and you may need to convert these to other data types. For example, the following code uses the Number() function to convert text values to numbers: var myXML:XML =

[flexcoders] Re: form label text align

2008-06-10 Thread tspyro2002
Hi, You could try using padding to shift the components over to the left hand side. Are you using Flex 2 or 3? I was having a look there if you select a form item in Flex3 you have the option of aligning it? Design wise, there's a reason that all the text labels are aligned to the right, it loo

[flexcoders] Working with Dates & Double Bookings

2008-06-10 Thread tspyro2002
Hi, I'm currently developing a Villa Reservation system for a client using Flex and at the moment I'm a prototype side bar which holds the search function. What I'm stuck on is how to reference the disabled dates and check them against the date range that the user has chosen. At the moment I hav