MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 640

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

Advertisement

Parameters
String; provides the name of the field that this information object describes.
fieldName
String; provides the name of the table that owns this field. If this name is the same
ownerName
as the RDBMSResolver instance's
Boolean; indicates whether this field is a key field.
isKey
Returns
Nothing.
Description
Method; adds a new item to the XML
method if you must set up an RDBMSResolver component dynamically at runtime, rather than
using the Component inspector in the authoring environment.
Example
The following example creates an RDBMSResolver component and provides the name of the
table, provides the name of the key field, and prevents the
updated:
var myResolver:RDBMSResolver = new RDBMSResolver();
myResolver.tableName = "Customers";
// Sets up the id field as a key field
// and the personTypeName field so it won't be updated.
myResolver.addFieldInfo("id", "", true);
myResolver.addFieldInfo("personTypeName", "JoinedField", false);
// Sets up the data bindings
//...
RDBMSResolver.beforeApplyUpdates
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
resolveData.beforeApplyUpdates(eventObject)
Parameters
eventObject
update is sent though the connector to the database. This event object should contain the
following properties:
Property
target
640
Chapter 6: Components Dictionary
tableName
Resolver event object; describes the customizations to the XML packet before the
Description
Object; the resolver producing this event.
property, you can leave this parameter blank (
collection in the update packet. Use this
fieldInfo
personTypeName
).
""
field from being

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?

This manual is also suitable for:

Flash mx

Table of Contents