SlideShare une entreprise Scribd logo
1  sur  17
 
After this training session ,[object Object],[object Object],[object Object],[object Object],[object Object],… you will know
Introduction to Adobe Flex ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],What is Adobe Flex?
Adobe Flex prerequisites ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],What you need?
Adobe Flex Builder interface
How to create an application MXML  is a XML-based user interface markup language.  Application developers use MXML in combination with  ActionScript  to develop Rich Internet applications. Adobe Flex Builder is the  IDE  which allow you to write MXML, use  drag and drop controls , do some action scripting and VOILA ! Your application is ready to be deployed over the web or as desktop application.
DAY 1 Creating rich user interfaces ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Flex UI basics A Flex application's user-interface (UI) is composed of two component types - Containers and Controls.  Containers  define application layout and navigation. Controls  represent a broad category of UI objects required for a fully functional and interactive application. Flex user interface controls are found in the  mx.controls  package of the Flex Class library.  Some Flex controls are not interactive, examples of non-interactive controls include  Label  and  ProgressBar
Purpose of UI containers Flex containers serve as a mechanism for defining application layout and navigation.  Common layout containers include  VBox ,  HBox ,  Canvas ,  Tile  and  Form .  Navigation containers include  Accordion ,  Tab Navigator  and  View Stack .  Each container extends the  Container Class , serves a unique purpose and is available for use at the discretion of the application developer.  Application  is the default container provided at the root of your Flex application. There is no need to define the Application container as it comes part of any Flex application courtesy with the  <mx:Application>  tag.
Basic UI controls in a Flex application Text-based controls are designed to display text and/or receive text input. Examples include  Label ,  Text ,  TextArea ,  TextInput , and  RichTextEditor . Button-based controls receive user input in the form of keyboard or mouse events. Examples include  Button ,  LinkButton ,  CheckBox ,  RadioButton  and  PopUpButton . List-based controls is a subset of data provider controls, visually represent hierarchical or non-hierarchical (flat) data structures. Examples include  ComboBox ,  List ,  HorizontalList ,  DataGrid ,  TileList  and  Tree . Menu-based controls another subset of data provider controls enable user-initiated navigation through use of a static menu or a popup menu. Examples include  Menu ,  MenuBar  and  PopUpMenuButton .
What you can do with controls? Data provider controls display data from a variety of sources, both internal and external to your application. All data provider controls require designation of a &quot;data provider&quot;.  List based controls and Menu based controls are a subset of data provider controls. All Flex controls subclass (or extend) the  UIComponent class , and therefore, inherit the following key behaviors: Resizing capabilities Positioning capabilities Ability to dispatch events Ability to accept keyboard focus and mouse input Ability to control visibility
Creating styles Sometimes for branding or making the application UI unique, styling application becomes essential. Style properties are defined at the component level in one of 4 ways: Inline MXML Embedded Script tag External CSS Stylesheet SetStyle() method Many components have only one state while others have many states. Each state has a unique skin. For example, a button component has 8 states ( up ,  over ,  down ,  disabled ,  selected up ,  selected over ,  selected down ,  selected disabled ). Each button state has a skin referenced by skin name:  upSkin ,  overSkin ,  downSkin ,  disabledSkin ,  selectedUpSkin ,  selectedOverSkin ,  selectedDownSkin ,  selectedDisabledSkin . You can also change color, font color, background border properties of components to provide an unique styling of the application.
Transition and effects Within the Flex framework, the term  View  refers to the User Interface (UI) as a whole and represents an aggregate of all visual permutations of an application. This naming convention mirrors the convention adopted by a popular Flex architecture, MVC (model-view-controller).  Altering the appearance of a component involves the use of overrides via a State. Valid overrides include  AddChild ,  RemoveChild ,  SetEventHandler ,  SetProperty  and  SetStyle . Thus transitions are formed from one state to another state. You can also associate effects to a transition, which includes: Masking effects : Iris, WipeDown, WipeLeft, WipeRight, WipeUp Tween effects : Blur, Dissolve, Fade, Glow, Move, Pause, Resize, Rotate, Zoom
Positioning developed application Most Flex containers use a predefined set of rules to automatically position all child components that you define within them. If you use a Canvas container, or an Application or Panel container with the layout property set to &quot; absolute &quot;, you can specify absolute positions for its children, or use constraint-based layout. There are three ways to position your components in a Flex application: Using automatic positioning  Using absolute positioning  Using constraint-based layout
Navigator containers Accordion  - Displays only one panel at a time. To navigate a container, the user clicks the navigation button that corresponds to the child panel that they want to access. TabNavigator  - A TabNavigator container creates and manages a set of tabs, which you use to navigate among its children. ViewStack  - A ViewStack navigator container is made up of a collection of child containers that are stacked on top of each other, with only one container visible, or active, at a time.
Customizing List based controls  ,[object Object],[object Object],[object Object],[object Object]
More To Learn What to Learn in next part? Flex System Architecture and Design Transfer data between components by using data bindings Handle Framework Using Flex in the Adobe Integrated Runtime (AIR) ** Keep visiting for the next part of presentation

Contenu connexe

Tendances

Xml web services
Xml web servicesXml web services
Xml web services
Raghu nath
 
Advanced Cryptography for Cloud Security
Advanced Cryptography for Cloud SecurityAdvanced Cryptography for Cloud Security
Advanced Cryptography for Cloud Security
Neel Chakraborty
 

Tendances (20)

Xml web services
Xml web servicesXml web services
Xml web services
 
Web Development - Lecture 1
Web Development - Lecture 1Web Development - Lecture 1
Web Development - Lecture 1
 
OSI Security Architecture
OSI Security ArchitectureOSI Security Architecture
OSI Security Architecture
 
Web services
Web servicesWeb services
Web services
 
Web services security
Web services securityWeb services security
Web services security
 
CSS Basics
CSS BasicsCSS Basics
CSS Basics
 
Introduction to cryptography and types of ciphers
Introduction to cryptography and types of ciphersIntroduction to cryptography and types of ciphers
Introduction to cryptography and types of ciphers
 
SaaS Challenges & Security Concerns
SaaS Challenges & Security ConcernsSaaS Challenges & Security Concerns
SaaS Challenges & Security Concerns
 
Introduction to Cloud Computing and Cloud Infrastructure
Introduction to Cloud Computing and Cloud InfrastructureIntroduction to Cloud Computing and Cloud Infrastructure
Introduction to Cloud Computing and Cloud Infrastructure
 
HTML5
HTML5HTML5
HTML5
 
Pretty good privacy
Pretty good privacyPretty good privacy
Pretty good privacy
 
Client server computing
Client server computingClient server computing
Client server computing
 
Introduction to JavaScript
Introduction to JavaScriptIntroduction to JavaScript
Introduction to JavaScript
 
Asp Architecture
Asp ArchitectureAsp Architecture
Asp Architecture
 
CONVENTIONAL ENCRYPTION
CONVENTIONAL ENCRYPTIONCONVENTIONAL ENCRYPTION
CONVENTIONAL ENCRYPTION
 
Chap 1 introduction to cloud computing
Chap 1 introduction to cloud computingChap 1 introduction to cloud computing
Chap 1 introduction to cloud computing
 
Cloud services
Cloud servicesCloud services
Cloud services
 
Advanced Cryptography for Cloud Security
Advanced Cryptography for Cloud SecurityAdvanced Cryptography for Cloud Security
Advanced Cryptography for Cloud Security
 
Aneka platform
Aneka platformAneka platform
Aneka platform
 
Object Oriented Modeling and Design with UML
Object Oriented Modeling and Design with UMLObject Oriented Modeling and Design with UML
Object Oriented Modeling and Design with UML
 

Similaire à Adobe Flex Introduction

Mobile application
Mobile applicationMobile application
Mobile application
aspnet123
 
Sybase sup hybrid_web_container_article_wp
Sybase sup hybrid_web_container_article_wpSybase sup hybrid_web_container_article_wp
Sybase sup hybrid_web_container_article_wp
Prabhakar Manthena
 

Similaire à Adobe Flex Introduction (20)

Exploring Adobe Flex
Exploring Adobe Flex Exploring Adobe Flex
Exploring Adobe Flex
 
Introduction to flex
Introduction to flexIntroduction to flex
Introduction to flex
 
Chpater1
Chpater1Chpater1
Chpater1
 
Mobile application
Mobile applicationMobile application
Mobile application
 
Palm WebOS Overview
Palm WebOS OverviewPalm WebOS Overview
Palm WebOS Overview
 
Metamorphosis from Forms to Java: A technical lead's perspective, part II
Metamorphosis from Forms to Java:  A technical lead's perspective, part IIMetamorphosis from Forms to Java:  A technical lead's perspective, part II
Metamorphosis from Forms to Java: A technical lead's perspective, part II
 
.Net framework
.Net framework.Net framework
.Net framework
 
MyMobileWeb Certification Part II
MyMobileWeb Certification Part IIMyMobileWeb Certification Part II
MyMobileWeb Certification Part II
 
Sybase sup hybrid_web_container_article_wp
Sybase sup hybrid_web_container_article_wpSybase sup hybrid_web_container_article_wp
Sybase sup hybrid_web_container_article_wp
 
Overview of WPF in light of Ribbon UI Control
Overview of WPF in light of Ribbon UI ControlOverview of WPF in light of Ribbon UI Control
Overview of WPF in light of Ribbon UI Control
 
Adobe Flex4
Adobe Flex4 Adobe Flex4
Adobe Flex4
 
Flex 3 - Introduction
Flex 3 - IntroductionFlex 3 - Introduction
Flex 3 - Introduction
 
An isas presentation on .net framework 2.0 by vikash chandra das
An isas presentation on .net framework 2.0 by vikash chandra dasAn isas presentation on .net framework 2.0 by vikash chandra das
An isas presentation on .net framework 2.0 by vikash chandra das
 
An Oracle ADF Introduction
An Oracle ADF IntroductionAn Oracle ADF Introduction
An Oracle ADF Introduction
 
Jsf
JsfJsf
Jsf
 
Android Tutorial
Android TutorialAndroid Tutorial
Android Tutorial
 
WPF Windows Presentation Foundation A detailed overview Version1.2
WPF Windows Presentation Foundation A detailed overview Version1.2WPF Windows Presentation Foundation A detailed overview Version1.2
WPF Windows Presentation Foundation A detailed overview Version1.2
 
From Flexbox to Hooks
From Flexbox to HooksFrom Flexbox to Hooks
From Flexbox to Hooks
 
MVC Pattern. Flex implementation of MVC
MVC Pattern. Flex implementation of MVCMVC Pattern. Flex implementation of MVC
MVC Pattern. Flex implementation of MVC
 
Test
TestTest
Test
 

Dernier

Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
ssuserdda66b
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Dernier (20)

Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 

Adobe Flex Introduction

  • 1.  
  • 2.
  • 3.
  • 4.
  • 5. Adobe Flex Builder interface
  • 6. How to create an application MXML is a XML-based user interface markup language. Application developers use MXML in combination with ActionScript to develop Rich Internet applications. Adobe Flex Builder is the IDE which allow you to write MXML, use drag and drop controls , do some action scripting and VOILA ! Your application is ready to be deployed over the web or as desktop application.
  • 7.
  • 8. Flex UI basics A Flex application's user-interface (UI) is composed of two component types - Containers and Controls. Containers define application layout and navigation. Controls represent a broad category of UI objects required for a fully functional and interactive application. Flex user interface controls are found in the mx.controls package of the Flex Class library. Some Flex controls are not interactive, examples of non-interactive controls include Label and ProgressBar
  • 9. Purpose of UI containers Flex containers serve as a mechanism for defining application layout and navigation. Common layout containers include VBox , HBox , Canvas , Tile and Form . Navigation containers include Accordion , Tab Navigator and View Stack . Each container extends the Container Class , serves a unique purpose and is available for use at the discretion of the application developer. Application is the default container provided at the root of your Flex application. There is no need to define the Application container as it comes part of any Flex application courtesy with the <mx:Application> tag.
  • 10. Basic UI controls in a Flex application Text-based controls are designed to display text and/or receive text input. Examples include Label , Text , TextArea , TextInput , and RichTextEditor . Button-based controls receive user input in the form of keyboard or mouse events. Examples include Button , LinkButton , CheckBox , RadioButton and PopUpButton . List-based controls is a subset of data provider controls, visually represent hierarchical or non-hierarchical (flat) data structures. Examples include ComboBox , List , HorizontalList , DataGrid , TileList and Tree . Menu-based controls another subset of data provider controls enable user-initiated navigation through use of a static menu or a popup menu. Examples include Menu , MenuBar and PopUpMenuButton .
  • 11. What you can do with controls? Data provider controls display data from a variety of sources, both internal and external to your application. All data provider controls require designation of a &quot;data provider&quot;. List based controls and Menu based controls are a subset of data provider controls. All Flex controls subclass (or extend) the UIComponent class , and therefore, inherit the following key behaviors: Resizing capabilities Positioning capabilities Ability to dispatch events Ability to accept keyboard focus and mouse input Ability to control visibility
  • 12. Creating styles Sometimes for branding or making the application UI unique, styling application becomes essential. Style properties are defined at the component level in one of 4 ways: Inline MXML Embedded Script tag External CSS Stylesheet SetStyle() method Many components have only one state while others have many states. Each state has a unique skin. For example, a button component has 8 states ( up , over , down , disabled , selected up , selected over , selected down , selected disabled ). Each button state has a skin referenced by skin name: upSkin , overSkin , downSkin , disabledSkin , selectedUpSkin , selectedOverSkin , selectedDownSkin , selectedDisabledSkin . You can also change color, font color, background border properties of components to provide an unique styling of the application.
  • 13. Transition and effects Within the Flex framework, the term View refers to the User Interface (UI) as a whole and represents an aggregate of all visual permutations of an application. This naming convention mirrors the convention adopted by a popular Flex architecture, MVC (model-view-controller). Altering the appearance of a component involves the use of overrides via a State. Valid overrides include AddChild , RemoveChild , SetEventHandler , SetProperty and SetStyle . Thus transitions are formed from one state to another state. You can also associate effects to a transition, which includes: Masking effects : Iris, WipeDown, WipeLeft, WipeRight, WipeUp Tween effects : Blur, Dissolve, Fade, Glow, Move, Pause, Resize, Rotate, Zoom
  • 14. Positioning developed application Most Flex containers use a predefined set of rules to automatically position all child components that you define within them. If you use a Canvas container, or an Application or Panel container with the layout property set to &quot; absolute &quot;, you can specify absolute positions for its children, or use constraint-based layout. There are three ways to position your components in a Flex application: Using automatic positioning Using absolute positioning Using constraint-based layout
  • 15. Navigator containers Accordion - Displays only one panel at a time. To navigate a container, the user clicks the navigation button that corresponds to the child panel that they want to access. TabNavigator - A TabNavigator container creates and manages a set of tabs, which you use to navigate among its children. ViewStack - A ViewStack navigator container is made up of a collection of child containers that are stacked on top of each other, with only one container visible, or active, at a time.
  • 16.
  • 17. More To Learn What to Learn in next part? Flex System Architecture and Design Transfer data between components by using data bindings Handle Framework Using Flex in the Adobe Integrated Runtime (AIR) ** Keep visiting for the next part of presentation