Archive for June 29th, 2009

Adobe Flex: Creating a project – Part 3

Creating a Flex project and your first application
Now that we have seen how Flex builder looks lets start with creating our first flex project

Creating a project
A project is a grouping of resources that make up a flex application

When a Flex project is created a number of files and folders are automatically created as follows:

  • bin-debug folder: where your compiled applications resides
  • html-template folder: where the html wrapper page resides
  • .settings folder: where some configuration file resides
  • .actionScriptProperties, .flexProperties and .project files: project configuration files
  • src folder: All the MXML files, actionscript classes, assets reside inside this folder
  • libs folder: where custom class files reside
  • A main application file
  • Step 1: Select File > new > Flex project

    p1

    Specify output folder. The default is bin-debug folder

    bin

    Choose project build paths

    path

    The main MXML application file looks like this

    mainapp page looks like this

    Using the main application file

    • The main application file contains the container set tag
    • Each application can have only one associated application file
    • The layout property is given the absolute value the first time you create an application
    • Flex builder will retain your last layout selection for future applications if not specified.
    • also If you do not specify the layout property, the layout will be vertical by default

    Running the application file

    Run the application by clicking the Run button. Run button is the green button on the top panel

    run

    What exactly happens when you click the run button?

    output

    back to tutorial part 1 | tutorial part 4 – Learning Flex fundamental

    1 comment June 29, 2009


    Tags

    Accessibility Ajax css Experience HTML personal RIA standard typography Usability User Experience User Interface W3C Web 2.0 web design Web development Web Standards

     

    June 2009
    M T W T F S S
    « May   Jul »
    1234567
    891011121314
    15161718192021
    22232425262728
    2930  

    Archives

    Top Posts

    Meta

    Recent Comments

    Blog Stats

    RSS Shyamala's Blog

    My Tweets