
430
Data Integration (Flash Professional Only)
Resolving data to a relational database (Flash
Professional only)
The RDBMSResolver component creates an XML packet that can be sent to an external
data source (such as ASP/JSP page, servlet, and so on). The XML packet can easily be
translated into SQL statements that can be used to update any standard SQL relational
database. Your development team must write the server code to parse the XML and generate
SQL statements.
You can use the RDBMSResolver component to send data updates to any external data source
that can parse XML and generate SQL statements against a database—for example, an ASP
page, a Java servlet, or a ColdFusion component.
When an RDBMSResolver component receives a delta packet from a DataSet component, it
converts it into an XML update packet, which can be communicated to an external data
source through a connector component. The converted output is referred to as an update
packet and consists of an optimized set of instructions that describe the inserts, edits, and
deletes performed on the DataSet component. You can view or bind the contents of the
update packet using the
updatePacket
property of the RDBMSResolver component.
The RDBMSResolver component works only with Flash Player 7 or later.
For a typical workflow and information on the methods, properties, and events of the
RDBMSResolver class, see “Using the RDBMSResolver component (Flash Professional
only)” and “RDBMSResolver component (Flash Professional only)” in the
Components
Language Reference
.
In addition to requirements for your Flash application to resolve data, there are requirements
for your server code to fulfill. For more information, see
“Server-side requirements for
resolving data for RDBMS” on page 448
.
For a tutorial that uses the RDBMSResolver component, see the DevNet article “Using the
RDBMSResolver to Update a Database” at
www.macromedia.com/devnet/mx/flash/articles/
delta_packet.html
.
Formatting your results (Flash Professional only)
By default, the resolver components use the schema specified on the connector components to
format values sent to the server. This method ensures that a date value sent from an external
data source using the format “MM/DD/YYYY” is sent back to the external data source using
the same format.
Содержание FLASH 8-USING FLASH
Страница 1: ...Using Flash...
Страница 12: ...12 Contents...
Страница 110: ...110 Using Symbols Instances and Library Assets...
Страница 128: ...128 Working with Color Strokes and Fills...
Страница 156: ...156 Drawing...
Страница 190: ...190 Working with Text...
Страница 224: ...224 Working with Graphic Objects...
Страница 270: ...270 Creating Motion...
Страница 310: ...310 Working with Video...
Страница 362: ...362 Working with Screens Flash Professional Only...
Страница 386: ...386 Creating Multilanguage Text...
Страница 454: ...454 Data Integration Flash Professional Only...
Страница 500: ...500 Publishing...
Страница 534: ...534 Creating Accessible Content...