5 Most Recent (5)
    Text Editor (1)
    File System (2)
    List Box (5)
    Color Palette (1)
    Combo Box (8)
    Custom (3)
    Scroll Bar (1)
    Radio (1)
    Tree (1)
    Bar Chart (2)
    Ticker (2)
    Pie Chart (1)
Publisher:  Macromedia Component Set 1
Implemented By:  flash-db http://www.flash-db.com/Components/
Popultes Combo box with XML - then sets the change Handler to display selected items in text box's.
Use's XML to populate a Combo Box with item Names and display's a short description of each item when clicked.
<?php
// This array would normally be coming from a database
// We just simplified it by putting it in an Array for now.
$NameArr = array("Jeff""Jim""Bob","Amy");
$DataArr = array("Some info about Jeff - Lots of info here..""Some info About Jim, and some more nonsense on Jim""Some info About Bob, what about Bob","And last but not least some info on Amy");

$numReturn count($NameArr);
$i 0;

// Prints out the necessary XML
print "<dataSet>";
    while (
$i $numReturn) {
        print 
"<data>";
        print 
"<name>".$NameArr[$i]."</name>";
        print 
"<dataRow>".$DataArr[$i]."</dataRow>";
        print 
"</data>";
        
$i++;
    }
print 
"</dataSet>";
?>
   download component source files (zip)


Area Map: Home | About | Extend | Links | Commercial | Submit Component    
< / form > < !-- Google analitycs -->