all groups > flash (macromedia) > february 2007 >
You're in the

flash (macromedia)

group:

Data on comboBox


Data on comboBox pcst88
2/26/2007 6:20:24 PM
flash (macromedia): I need to know how to change the value of a comboBox clicking a button. This is
the code I used to declare all the data for the comboBox. And I have 2 buttons
on stage that I want to use for navigating back and forward in the imageCb.

imageCb.dataProvider = [ {label: "Foto 1", data:
"http://www.freewebs.com/oxbowc/Fisica/Fotos/foto0.jpg"},
{label: "Foto 2", data:
"http://www.freewebs.com/oxbowc/Fisica/Fotos/foto1.jpg"},
{label: "Foto 3", data:
"http://www.freewebs.com/oxbowc/Fisica/Fotos/foto2.jpg"},
{label: "Foto 4", data:
"http://www.freewebs.com/oxbowc/Fisica/Fotos/foto3.jpg"},
{label: "Foto 5", data:
"http://www.freewebs.com/oxbowc/Fisica/Fotos/foto4.jpg"},
{label: "Foto 6", data:
"http://www.freewebs.com/oxbowc/Fisica/Fotos/foto5.jpg"} ];
imageCb.rowCount = 11;

(I know the rowCount is 2 high, but I'm still adding content ;) )
Re: Data on comboBox pcst88
2/27/2007 12:00:00 AM
AddThis Social Bookmark Button