SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Was ist angesagt?

Big Data & Analytics 101: How Customer Lifetime Value Enhances Predictive Mar...
Big Data & Analytics 101: How Customer Lifetime Value Enhances Predictive Mar...Big Data & Analytics 101: How Customer Lifetime Value Enhances Predictive Mar...
Big Data & Analytics 101: How Customer Lifetime Value Enhances Predictive Mar...Big Cloud Analytics, Inc.
 
Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)Chris Poteet
 
Introduction to HTML5
Introduction to HTML5Introduction to HTML5
Introduction to HTML5Gil Fink
 
HTML, CSS And JAVASCRIPT!
HTML, CSS And JAVASCRIPT!HTML, CSS And JAVASCRIPT!
HTML, CSS And JAVASCRIPT!Syahmi RH
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSSdanpaquette
 
144 Rest Web Services
144 Rest Web Services144 Rest Web Services
144 Rest Web ServicesGeneXus
 
Intro to HTML and CSS basics
Intro to HTML and CSS basicsIntro to HTML and CSS basics
Intro to HTML and CSS basicsEliran Eliassy
 
Digital Marketing: University of Illinois at Urbana-Champaign (Coursera Speci...
Digital Marketing: University of Illinois at Urbana-Champaign (Coursera Speci...Digital Marketing: University of Illinois at Urbana-Champaign (Coursera Speci...
Digital Marketing: University of Illinois at Urbana-Champaign (Coursera Speci...Ahmed S. Elsheikh, MBA
 
Joomla-Content Management System
Joomla-Content Management SystemJoomla-Content Management System
Joomla-Content Management SystemsilenceIT Inc.
 
Maintainable CSS
Maintainable CSSMaintainable CSS
Maintainable CSSStephen Hay
 
1-01: Introduction To Web Development
1-01: Introduction To  Web  Development1-01: Introduction To  Web  Development
1-01: Introduction To Web Developmentapnwebdev
 
Html, CSS & Web Designing
Html, CSS & Web DesigningHtml, CSS & Web Designing
Html, CSS & Web DesigningLeslie Steele
 

Was ist angesagt? (20)

Big Data & Analytics 101: How Customer Lifetime Value Enhances Predictive Mar...
Big Data & Analytics 101: How Customer Lifetime Value Enhances Predictive Mar...Big Data & Analytics 101: How Customer Lifetime Value Enhances Predictive Mar...
Big Data & Analytics 101: How Customer Lifetime Value Enhances Predictive Mar...
 
Xhtml
XhtmlXhtml
Xhtml
 
Navigation and Link
Navigation and LinkNavigation and Link
Navigation and Link
 
Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)
 
0X0D - Responsive
0X0D - Responsive0X0D - Responsive
0X0D - Responsive
 
Introduction to HTML5
Introduction to HTML5Introduction to HTML5
Introduction to HTML5
 
HTML, CSS And JAVASCRIPT!
HTML, CSS And JAVASCRIPT!HTML, CSS And JAVASCRIPT!
HTML, CSS And JAVASCRIPT!
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
 
144 Rest Web Services
144 Rest Web Services144 Rest Web Services
144 Rest Web Services
 
Intro to HTML and CSS basics
Intro to HTML and CSS basicsIntro to HTML and CSS basics
Intro to HTML and CSS basics
 
CSS notes
CSS notesCSS notes
CSS notes
 
Digital Marketing: University of Illinois at Urbana-Champaign (Coursera Speci...
Digital Marketing: University of Illinois at Urbana-Champaign (Coursera Speci...Digital Marketing: University of Illinois at Urbana-Champaign (Coursera Speci...
Digital Marketing: University of Illinois at Urbana-Champaign (Coursera Speci...
 
Joomla-Content Management System
Joomla-Content Management SystemJoomla-Content Management System
Joomla-Content Management System
 
A Guide to Customer Journey Mapping
A Guide to Customer Journey MappingA Guide to Customer Journey Mapping
A Guide to Customer Journey Mapping
 
Lab#9 graphic and color
Lab#9 graphic and colorLab#9 graphic and color
Lab#9 graphic and color
 
CSS
CSSCSS
CSS
 
Maintainable CSS
Maintainable CSSMaintainable CSS
Maintainable CSS
 
1-01: Introduction To Web Development
1-01: Introduction To  Web  Development1-01: Introduction To  Web  Development
1-01: Introduction To Web Development
 
Html5 Basics
Html5 BasicsHtml5 Basics
Html5 Basics
 
Html, CSS & Web Designing
Html, CSS & Web DesigningHtml, CSS & Web Designing
Html, CSS & Web Designing
 

Ähnlich wie Adobe Flex Introduction

Exploring Adobe Flex
Exploring Adobe Flex Exploring Adobe Flex
Exploring Adobe Flex senthil0809
 
Mobile application
Mobile applicationMobile application
Mobile applicationaspnet123
 
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 IIMichael Fons
 
MyMobileWeb Certification Part II
MyMobileWeb Certification Part IIMyMobileWeb Certification Part II
MyMobileWeb Certification Part IIcrdlc
 
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_wpPrabhakar Manthena
 
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 ControlAbhishek Sur
 
Flex 3 - Introduction
Flex 3 - IntroductionFlex 3 - Introduction
Flex 3 - Introductionrakhtar
 
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 dasVikash Chandra Das
 
Android Tutorial
Android TutorialAndroid Tutorial
Android TutorialFun2Do Labs
 
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.2Shahzad
 
From Flexbox to Hooks
From Flexbox to HooksFrom Flexbox to Hooks
From Flexbox to HooksElewayte
 
MVC Pattern. Flex implementation of MVC
MVC Pattern. Flex implementation of MVCMVC Pattern. Flex implementation of MVC
MVC Pattern. Flex implementation of MVCAnton Krasnoshchok
 

Ähnlich wie 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
 

Kürzlich hochgeladen

18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 

Kürzlich hochgeladen (20)

18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 

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