Tutorial Details
- Judul: DataGrid Component as3 Part1
- Difficulty: Beginner
- Platform: Flash (Flash Player 10)
- Bahasa Scripth: AS3
- Software : Flash Professional CS4/Flash Professional CS5
- Estimated Completion Time: 15 minutes
- Created:Ricko Nada (Pustaka Flash)
live demo :
Scripth yang digunakan :
import fl.data.DataProvider; myGrid.move(10,10); myGrid.setSize(300, 100); myGrid.columns = ["Nama","Umur","Pekerjaan"]; myGrid.columns[0].width = 100; myGrid.columns[1].width = 50; myGrid.columns[2].width = 150; var myData:Array = [{Nama: "John Jenkins", Umur: "31", Pekerjaan: "Programer"}, {Nama: "Anna Watson", Umur: "28", Pekerjaan: "Docter"}, {Nama: "Susan McCallister", Umur: "29", Pekerjaan: "koki"}, {Nama: "Joe Thompson", Umur:"32", Pekerjaan: "Jaksa"}, {Nama: "Bob Anderson", Umur:"31", Pekerjaan: "sales"}]; myGrid.dataProvider = new DataProvider(myData);
5 Halaman yang sering dikunjungi:
0 komentar:
Post a Comment