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/
An Address Book using Flash MX components, XML and PHP.
A small Address book componet that reads in data from an XML data source. Shows how to extend the components beyond just the regular label/data.
<?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""Amy""Bob","Jimmy","Steve");
$DataArr = array("Some Notes on Jeff.""Info on Amy""Facts on Bob.""Some more info on Jimmy","Some gossip about Steve.");
$PhoneArr = array("321-3455""123-6544""345-1234","432-1234","432-2345");
$AddyArr  = array("123 Rock Str. \nBoulder Co, 80305""432 Here Lane. \nRockville, NH""4342 nuLane  \nDenver, Co 80305""978 Yale Street \nColorado Springs, CO""321 Steve Steet  \n Longmont CO, 1234");
$EmailArr = array("Jeff@Flash-db.com""Amy@Here.com""Bob@Nowhere.com","Jimmy@eatworld.com","Steve@myEmail.com");
$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 
"<phoneNum>".$PhoneArr[$i]."</phoneNum>";    
        print 
"<address>".$AddyArr[$i]."</address>";
        print 
"<email>".$EmailArr[$i]."</email>";    
        print 
"</data>";
        
$i++;
    }
print 
"</dataSet>";
?>
   download component source files (zip)


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