Flash
  Home arrow Flash arrow Page 3 - Introduction to Flex
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
FLASH

Introduction to Flex
By: Adi Reddy Mora
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 24
    2005-03-07

    Table of Contents:
  • Introduction to Flex
  • Flex Languages: MXML and ActionScript 2.0
  • About ActionScript 2.0 in MXML applications
  • Writing a simple application
  • More Flex features

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Introduction to Flex - About ActionScript 2.0 in MXML applications


    (Page 3 of 5 )

    ActionScript extends the capabilities of Flex application developers. With ActionScript, you can define event listeners and handlers, get or set component properties, handle call-back functions, and create new classes, packages, and components.

    You can use ActionScript in your Flex applications in the following ways:

    • Insert ActionScript code blocks with the <mx:Script> tag. In these code blocks, you can add new functions, handle errors and events, and perform other tasks in your application or its supporting MXML files.

    • Call global ActionScript functions that are stored in the system_classes directory structure.

    • Reference external classes and packages in user_classes to handle more complex tasks. This lets you take advantage of ActionScript support for object-oriented programming concepts such as code reuse and inheritance.

    • Use standard Flex components. The logic of components and helper classes in the Flex application model is based on ActionScript classes.

    • Extend existing components with ActionScript classes.

    • Create new components in ActionScript.

    • Create new components in the Flash authoring environment (SWC files).

    More Flash Articles
    More By Adi Reddy Mora


       · I am Adi Reddy Mora, the author of this article from India. This is my 3rd article...
       · I enjoyed reading this intro to Flex. Any chance of a follow-up or...
       · Thank you for your interest in my article. I will definitely come up with more...
       · Hey do u know how to export a table present in flex to excel ??
       · Your article makes someone think they can create a text file, change it to mxml...
     

    FLASH ARTICLES

    - Decorator Pattern
    - Organizing Frames and Layers for Flash Anima...
    - Organizing Frames and Layers
    - Using XML and ActionScript with Flex Applica...
    - Interfaces and Events with ActionScript and ...
    - Manipulating Data with ActionScript in Flex ...
    - ActionScript Syntax for Flex Applications
    - ActionScript in Flex Applications
    - A Closer Look at Apollo`s File System API
    - Using the File System API
    - ActionScript 101
    - Flash Buttons
    - Advanced Flash Animation
    - Creating Your First Animated Movie with Flas...
    - Flash: Building Blocks






    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
    Stay green...Green IT