for (var i = 0; i<data.length; i++) {
cl = data[i].getChangeList();
for (var j = 0; j<cl.length; j++) {
di = cl[j];
msg = di.getMessage();
if (msg.length>0) {
trace("The following problem occurred '"+msg+"' while performing a
'"+ops[di.kind]+"' modification on/with '"+di.name+"' current server value
["+di.curValue+"], value sent ["+di.newValue+"] Please fix!");
}
}
}
}
DataSet.saveToSharedObj()
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
dataSet.saveToSharedObj(objName, [localPath])
Parameters
A string that specifies the name of the shared object to create. 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 will be stored on
the user's computer. The default value is the SWF file's full path.
Returns
Nothing.
Description
Method; saves all of the relevant data needed to restore this DataSet collection to a shared object.
This allows users to work when disconnected from the source data, if it is a network resource.
This method overwrites any data that might exist within the specified shared object for this
DataSet collection. To restore a DataSet collection from a shared object, use
DataSet.loadFromSharedObj()
to identify the data within the specified shared object.
If the shared object can't be created or there is a problem flushing the data to it, this method
throws a
DataSetError
344
Chapter 6: Components Dictionary
. Note that the instance name of the DataSet collection is used
exception.
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?