![]() | ![]() ![]() ![]() |
![]() | |
![]() | |
![]() |
The next step is to customize your forms. The Query form should contain fields that correspond to the parameters of your service. The Response form should contain the fields that correspond to the results of your service. The Error form displays an error message to the user that something has gone wrong in the process of calling the service. You can display any message you choose on the Error screen.
For example, if your service is a weather service returning temperature, you could use a label component to create a non-editable text display.
Once you've laid out your components, use the Parameters tab in the Component Inspector panel to create bindings between your components and the results of your service connector.
function status (stat) { // Handle status message for errors // If error, // showError(); } function result (res) { // Handle result message for errors // If error, // showError(); }
To learn more about the result and status messages of a service call, see Data Integration (Flash Professional Only).
The Windowed Application template helps you create a windowed application that consists of layered content panes. These panes are draggable, and they rise to the topmost layer when the focus is on them. Each window can contain different content for the user to interact with.
The window components that load the subforms are on the Application form. The contentPath
property of each window component corresponds to the instance name of the form that it will load at runtime.
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |