Dataprovider.geteditingdata(); Dataprovider.getitemat() - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

DataProvider.getEditingData()

Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
myDP.getEditingData(index, fieldName)
Parameters
A number greater than or equal to 0 and less than
. This
index
DataProvider.length
number is the index of the item to retrieve.
A string indicating the name of the field being edited.
fieldName
Returns
The editable formatted data to be used.
Description
Method; retrieves data for editing from a data provider. This lets the data model provide
different formats of data for editing and displaying.
Example
The following code gets an editable string for the price field:
trace(myDP.getEditingData(4, "price");

DataProvider.getItemAt()

Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
myDP.getItemAt(index)
DataProvider.getItemAt()
321

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents