MACROMEDIA FLASH 8-USING FLASH Use Manual page 410

Using flash
Table of Contents

Advertisement

If a binding is created for any of these items, an
Binding Attributes pane, so that an index can be specified for the row array. Flash uses the [n]
schema field to identify this type of relationship. Therefore, you might need to duplicate this
entry if you are manually creating a schema. To do this, you add a new schema field under the
node and set Field Name for the schema field to
row : Array
value and creates an
index for
About debugging data binding and web services
(Flash Professional only)
Data binding is a series of actions that occur in response to events, such as the following:
The data of a component property changes.
A web service call is completed.
An XML document is fetched.
You can create a log of all actions that are performed by data binding or web services. To
create the log, create a new Log object by adding the following code to the first frame in your
Flash document:
_global.__dataLogger=new mx.data.binding.Log();
To turn the trace log off, use the following code:
_global.__dataLogger=null; //disable trace for binding
When you run an application that turns the trace on, a detailed log of data binding and web
services events and actions appears in the Output window. The following image shows the log
for the application created in
enable the trace log is added to the first frame of the application:
410
Data Integration (Flash Professional Only)
index for 'row'
property if it is used within a binding.
"Creating a simple application" on page
property appears in the
. The compiler reads this
[n]
//to enable trace log
391, when the code to

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF