;

PDA

Click to See Complete Forum and Search --> : DB and ComboBox


alfonso77italy
04-09-2009, 08:41 AM
ciao,

is there an example for lern to run a MS Access table in a ComboBox with ActionScript ?

w.brants
04-09-2009, 08:58 AM
As far as I know there's no direct way to connect to MS Access.
You need a PHP or ASP bridge or as an alternative you can export the data from Access to a XML file and use the XML file using ActionScript.

alfonso77italy
04-10-2009, 08:58 AM
ok, now i see the example "KM_MediaChooser" that use XML, and is good. There are a ListBox and view the results of selection in a MediaPlayer and run very good.
But I wish view the results of selection in another ListBox or ComboBox. Is Possible? I try there but i don't understand...

w.brants
04-10-2009, 10:04 AM
It's possible. How you can achieve this depends on what ActionScript version you are using (AS1 or AS3).

alfonso77italy
04-10-2009, 02:48 PM
i have koolMoves 7 and i use component of flash 8. I think AS1... thank you

w.brants
04-10-2009, 03:14 PM
It depends on the structure of the XML file what the easiest approach would be. In my opinion AS3 is better suitable for handling XML data. The functions it offers are more powerful and the AS3 combobox and list components are better equiped to handle XML data compared to the AS1 versions. But maybe there's a reason for you to stick to AS1.

There are some AS1 based XML examples on www.koolexchange.com . Chris also has several good examples in the source code section on www.km-codex.com .