PDA

View Full Version : content of folder on server to combobox?


lsatdown
10-23-2007, 12:24 PM
I want to display the contents of a folder into a combobox in flash?
Any ideas?

Scott Euser
10-23-2007, 01:02 PM
can use the comboBoxInstance.dataProvider API to load them into the combobox...

to get that data, it depends what kind of contents you want to load- if its a file list, you can use php to scan the files in a directory and echo them flash in an array seperated by "," and then use a string split at the "," to create your dataprovider