MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 331

Using components
Hide thumbs Also See for FLASH MX 2004-USING COMPONENTS:
Table of Contents

Advertisement

See also
DataSet.first()
DataSet.length
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
dataSet.length
Description
Property (read-only); specifies the number of items in the current view of the collection. The
viewable number of items is based on the current filter and range settings.
Example
The following example alerts users if they haven't made enough entries in the data set, perhaps
using an editable DataGrid component.
if(myDataSet.length < MIN_REQUIRED) {
alert("You need at least "+MIN_REQUIRED);
}
DataSet.loadFromSharedObj()
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
dataSet.loadFromSharedObj(objName, [localPath])
Parameters
A string specifying the name of the shared object to retrieve. The name can include
objName
forward slashes (for example, "work/addresses"). Spaces and the following characters are not
allowed in the specified name:
~ % & \ ; : " ' , < > ? #
An optional string parameter that specifies the full or partial path to the SWF file
localPath
that created the shared object. This string is used to determine where the object is stored on the
user's computer. The default value is the SWF file's full path.
DataSet component (Flash Professional only)
331

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx

Table of Contents