How do I display the results returned from a service function using Macromedia Flash MX UI components?
When working with Macromedia Flash MX UI components, you can display recordsets using the setDataProvider method of the ListBox and ComboBox components. You can also use the DataGlue functions, including bindFormatStrings and bindFormatFunction. The DataGlue function binds a data provider, such as a RecordSet object created on the server, to a data consumer, such as a ComboBox component. The data appear as standard label/data pairs. The DataGlue functions do not make a copy of the original data provider’s data. However, the data is fetched from the original data provider as needed by the data consumer. The data consumer can use the data like any other parameter. The label of each record is the text that is displayed for the record. The data of each record is the value that is returned by the data consumer’s getValue function. The bindFormatStrings function lets you format the data in the function call. For example: DataGlue.bindFormatStrings(myComboBox, myRecordSet, “#parkname# ¬ (#par
Related Questions
- How does Authorware compare to other Macromedia products—such as Director MX, Dreamweaver MX, or Macromedia Flash MX—for creating e-learning applications?
- How do I display the results returned from a service function using Macromedia Flash MX UI components?
- How do I handle the results returned from a service function?