Feel Flex
Online posts about programming languages like flex and java.
Friday, 30 March 2012
Form Layout in flex
The Form Layout Container
- The Form container lets you:
- Control the layout of a form.
- Mark form fields as required or optional.
- Handle error messages.
- Bind your form data to the Flex data model to perform data checking and validation.
Thursday, 29 March 2012
Event Propagation in Flex
Event Propagation
Terms to know:
|
Event Handling in Flex
Event Listeners
Terms to know:- eventType: Event type broadcast by the object when an event occurs. This is represented as a String data type.
- event listener: The function or class method that you write to respond to specific events. They're also known as event handlers.
Validators and Formatters example with Area Code Lookup in flex
Validators
- Validators can be used to verify that data meets certain criteria on the client before being sent to the server.
- Validation occurs when the field loses focus
- Error message is displayed on mouseover
- Indicate the source and source property, for example, mx:TextInput/text.
External Interface in Flex - Running Javascript in Flex
External Interface
The ExternalInterface class enables communication between
ActionScript and Flash Player containers such as an HTML page containing
JavaScript and an embedded SWF file, or an application that has
the Flash Player embedded in it. The communication is available in both
directions. An HTTP/JavaScript page can call an ActionScript
function which can return data that the JavaScript can use or
ActionScript can call Javascript.
Subscribe to:
Comments (Atom)