Value of the enabled property is true, the validator is enabled;
when the value is false, the validator is disabled.
When a validator is disabled, it dispatches no events, and the validate() method returns null.
E.g: Validator.enabled
Thursday, May 14, 2009
Friday, May 8, 2009
Layout Container
A Box container lays out its children in a single vertical column or a single horizontal row. The direction property determines whether to use vertical (default) or horizontal layout.
The Box class is the base class for the VBox and HBox classes. You use the mx:Box, mx:VBox, and mx:HBox tags to define Box containers.
Properties :
Direction=Horizontal |Vertical
*The direction in which this Box container lays out its children. MXML values are "horizontal" and "vertical". Possible values in ActionScript are *BoxDirection.HORIZONTAL and BoxDirection.VERTICAL.
The default value is BoxDirection.VERTICAL
The Box class is the base class for the VBox and HBox classes. You use the mx:Box, mx:VBox, and mx:HBox tags to define Box containers.
Properties :
Direction=Horizontal |Vertical
*The direction in which this Box container lays out its children. MXML values are "horizontal" and "vertical". Possible values in ActionScript are *BoxDirection.HORIZONTAL and BoxDirection.VERTICAL.
The default value is BoxDirection.VERTICAL
Thursday, May 7, 2009
Setting the size of a media component
The appearance of any video media playing in a VideoDisplay control is affected by the following properties…
MaintainAspectRatio
Height
Width
MaintainAspectRatio property is false, the size of the playing media determines the value of the other property.
MaintainAspectRatio property is true, the media retains its aspect ratio when resizing.
MaintainAspectRatio
Height
Width
MaintainAspectRatio property is false, the size of the playing media determines the value of the other property.
MaintainAspectRatio property is true, the media retains its aspect ratio when resizing.
About the Video Display control
Video Display control with no visible user interface. It is simply a control to hold and play media.
Video Display control also supports the volume property. This property takes a value from 0.0 to 1.00.
Mute 0.0
Maximum Volume 1.00
Default Value 0.75
Using methods of the VideoDisplay control
close().
load().
pause().
play().
stop().
Video Display control also supports the volume property. This property takes a value from 0.0 to 1.00.
Mute 0.0
Maximum Volume 1.00
Default Value 0.75
Using methods of the VideoDisplay control
close().
load().
pause().
play().
stop().
Using media in Flex
Media, such as movie and audio clips, are used more and more to provide information to web users.
*Showing a video message.
*Streaming movies or movie previews.
*Streaming songs or song snippets .
*Providing learning material in the form of media.
*Showing a video message.
*Streaming movies or movie previews.
*Streaming songs or song snippets .
*Providing learning material in the form of media.
VideoDisplay
Flex supports the Video Display control to incorporate streaming media into Flex applications. Flex supports the Flash Video File (FLV) file format with this control.
The Video Display control does not support scan forward and scan backward functionality.
Video Display control does not support accessibility or styles.
User cannot see anything unless some video media is playing.
The Video Display control does not support scan forward and scan backward functionality.
Video Display control does not support accessibility or styles.
User cannot see anything unless some video media is playing.
Wednesday, May 6, 2009
RadioButtonControl
Creating a RadioButton control
Radio Button control is a single choice in a set of mutually exclusive choices. A RadioButton group is composed of two or more RadioButton controls with the same group name. Only one member of the group can be selected at any given time.
RadioButton User Interaction
* RadioButton control is enabled, when the user moves the mouse pointer over an unselected RadioButton control, the button displays its rollover appearance.
* RadioButton control is not enabled, the RadioButton control and RadioButton group display the disabled appearance, regardless of user interaction.
In the disabled state, all mouse or keyboard interaction is ignored.
THANK YOU …
Radio Button control is a single choice in a set of mutually exclusive choices. A RadioButton group is composed of two or more RadioButton controls with the same group name. Only one member of the group can be selected at any given time.
RadioButton User Interaction
* RadioButton control is enabled, when the user moves the mouse pointer over an unselected RadioButton control, the button displays its rollover appearance.
* RadioButton control is not enabled, the RadioButton control and RadioButton group display the disabled appearance, regardless of user interaction.
In the disabled state, all mouse or keyboard interaction is ignored.
THANK YOU …
Subscribe to:
Posts (Atom)