The
onReveal()
the event handler for the
onCustCat_Change()
The
onCustCat_Change()
Category ComboBox component changes. It calls the
retrieve the customers for the selected category.
The
onCategoryData()
function as the event handler for the
onCategoryData()
The
onCategoryData()
getCategories()
result handler for the
This function first calls the
Then it calls the
appears in the ComboBox component and make the ID field the data field for the record. The
call to
addEventListener()
change occurs to the selection in the
the
refreshCustomerData()
onCustomerData()
The
onCustomerData()
getCustomers()
of the call to the
, which means that the server will deliver records for this record set in groups of up to
onDemand
25 records for each call to the
the returned record set into
interface. Then it sets
for the grid. Finally, it calls the
section for the selected customer.
onCustomerFault()
The
onCustomerDataFault()
It calls
Alert()
to display a message and report the status as specified by the
object that is passed to the function in a FaultEvent object.
onCategoryFault()
The
onCategoryDataFault()
It calls
Alert()
to display a message and report the status as specified by the
object that is passed to the function in a FaultEvent object.
52
Chapter 2: Using Flash Remoting ActionScript
function calls the
addEventListener()
customers_grd
function is the event handler that is called when the selection in the
function calls the
cust_Cat_cmbo
function handles the result of a call to the
function. The
CustomerInfoFormAPI()
getCategories()
NetDebug.trace()
DataGlue.bindFormatStrings()
makes the
custCat_cmbo
function to display the customers in the current category.
function handles the results of the call to the
function in the
refreshCustomer()
function to the
getCustomers()
getCustomers()
totalRec_txt.text
customers_grd.dataProvider
updateDetails()
function handles the fault outcome of a request for customer data.
to notify the user of the problem and then calls the
function handles the fault outcome of a request for Category data.
to notify the user of the problem and then calls the
function to establish this function as
DataGrid component
refreshCustomerData()
addEventListener()
ComboBox component.
function named this function as the
function.
function to document the call to this function.
function to make the
onCustCat_Change()
ComboBox component. This function calls
function. This function assigns the result
record set. It sets the delivery mode to
rs
function. Next, this function loads the length of
variable for display in the Total field of the user
to
to specify that
rs
function to update the Customer Details
faultstring
faultstring
.
function to
function to register this
custService.
field the label that
Name
function the event handler when a
custService.
provides the data
rs
NetDebug.trace()
property of the Fault
NetDebug.trace()
property of the Fault
function
function
Need help?
Do you have a question about the FLASH REMOTING MX-USING FLASH REMOTING FOR FLASH MX 2004 ACTIONSCRIPT 2.0 and is the answer not in the manual?