A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: DB and ComboBox

  1. #1
    Junior Member
    Join Date
    Dec 2007
    Posts
    25

    DB and ComboBox

    ciao,

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

  2. #2
    Senior Member
    Join Date
    Dec 2002
    Location
    Netherlands
    Posts
    1,632
    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.

  3. #3
    Junior Member
    Join Date
    Dec 2007
    Posts
    25
    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...

  4. #4
    Senior Member
    Join Date
    Dec 2002
    Location
    Netherlands
    Posts
    1,632
    It's possible. How you can achieve this depends on what ActionScript version you are using (AS1 or AS3).

  5. #5
    Junior Member
    Join Date
    Dec 2007
    Posts
    25
    i have koolMoves 7 and i use component of flash 8. I think AS1... thank you

  6. #6
    Senior Member
    Join Date
    Dec 2002
    Location
    Netherlands
    Posts
    1,632
    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 .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center