PayPal country list component for Flex
If you're implementing PayPal Website Payments Pro Direct Payment in Flex, you're most likely going to need a ComboBox of country names and their ISO codes as expected by the PayPal API.
There's some freely available code for HTML but I couldn't find anything for Flex. It only took three find and replaces, however, to transform the HTML code into a lovely little Flex component. Here it is in hopes that it will save someone else the trouble in the future.
To use the PayPalCountryComboBox component, download and unzip it into the source folder of your Flex project. Then, just include it in your MXML as shown below.
Download the PayPalCountryComboBox (.zip, 8kb).
Comments
by Aral on 2008-01-10 19:28:21
by Peter on 2008-01-10 19:23:15
by Tink on 2008-01-11 00:33:40
by Aral on 2008-01-11 16:33:11
by paddy on 2008-01-15 12:00:06
by Björn on 2009-07-17 07:41:05
by Melw on 2010-07-23 23:43:36