ActionScript 2.0 Components Language Reference |
|
|
|
| RDBMSResolver component | |||
Resolver components are used with the DataSet component (part of the data management functionality in the Flash data architecture) to save changes to an external data source. Resolvers include both the RDBMSResolver component and the XUpdateResolver component. Resolvers take a delta packet (returned by DataSet.deltaPacket) and convert it to an update packet in a format appropriate to the type of resolver. The update packet can then be transmitted to the external data source by one of the connector components. Resolver components have no visual appearance at runtime.
|
NOTE |
The RDBMSResolver component is supported only if you are working in a document that specifies ActionScript 2.0 in its Publish Settings. |
The RDBMSResolver component creates an XML update packet that can be easily parsed into SQL statements for updating a relational database. The RDBMSResolver component is connected to the DeltaPacket property of a DataSet component, sends its own update packet to a connector, receives server errors back from the connector, and communicates them back to the DataSet component--all using bindable properties.
For a complete example of an application that updates data using the RDBMSResolver component, see www.adobe.com/devnet/mx/flash/articles/delta_packet.html.
|
TIP |
You can use the RDBMSResolver component to send data updates to any object you write that can parse XML and generate SQL statements against a database--for example, an ASP page, a Java servlet, or a ColdFusion component. |
|
|
|
|