Naveen M. Reddy is welcoming U.

Naveen M. Reddy is welcoming U.
Welcome to My Small World.

Sunday, March 14, 2010

Flex:--> Writing the code in Flex

Write the code in .MXML, .AS files.
When we open MXML, It can be seen in two ways, design and source. On left top corner of editor, we can switch from design view to source view and vice versa.
In designing mode we can drag and drop the components from the Components view, on to the editor. The respective code will be generated in the source.
Source view is to add the functions, to add the properties, to add the binding between the components. These can be done through the design view also. Its our choice to choose the way we want to design and write the code.
Scripting basically is added from the source view.
In the design mode, to adjust the components size or to add any other property, open Appearance view. From here the component can be modified. Click on the component on which you want to edit and change the properties in the Appearance view.

No comments:

Post a Comment