SlideShare a Scribd company logo
1 of 37
More Insight in Flex




                4/5/2012   1
Contents
           • Custom Component Development in Flex
              o   About Custom Flex Components
              o   Custom Events
              o   Metadata Tags in Custom Components
           • Introduction to Styling and Skinning
              o Using Styles and Themes
              o Creating Skins
           • Introduction to Data Services For Flex
              o Accessing Server-Side Data with Flex
              o Using HTTPService components
              o Handling result and fault events



                                                                      2
4/5/2012

                                                       4/5/2012   2
Stop and Ponder

                                • What is MXML?
                                • What are namespaces?
                                • What is ActionScript?




           More insights into Flex: Yukti Kaura                  3
4/5/2012

                                                  4/5/2012   3
Custom Component Development in Flex




                          4/5/2012   4
Key Benefits of Custom Component
                     Development



                                Ease of development




                                                          Maintainability
                          Reusability




                   More insights into Flex: Yukti Kaura                         5
4/5/2012
  5                                                                  5-Apr-12
What are 'Components' for Flex?

             Visual                       Non Visual                     •Flex is implemented as
           Components                    Components                      an ActionScript class
                                                                         hierarchy.

             All visual components are
                    derived from
                                               Common examples are
                                              Validator, Formatter and
                                                                         •Components inherit
                 UIComponent class                effect base class
                                                                         the
                                                                         properties, methods, ev
                                                                         ents, styles, and effects
            Visual components can be
            ‘        ’ or ‘Containers’
                                                                         of their superclasses.

                                                                         •To create your own
             Common examples are
                  Container –
                                                                         components, you create
             Group, BorderContainer
                 etc.. Control -                                         subclasses from any
               Button, Label etc…
                                                                         other class in the Flex
                                                                         component hierarchy. 6
4/5/2012                                 More insights into Flex: Yukti Kaura
                                                                                  4/5/2012    6
Why Component?

    Component/module is based on the concept of ‘Loose coupling.’
    A component is like a BlackBox to any other component using it




      Information                                                              Events –
      as properties   IN                                             OUT       user/system/custom
      or methods




                              More insights into Flex: Yukti Kaura                             7
4/5/2012

                                                                           4/5/2012       7
Where does the visual component lie in MVC?


                                                          invokes
                                                          operations
                                                                                   renders
                                                                                   model
                                                                                   state



              initiates      updates
            remote calls   model data




                                 More insights into Flex: Yukti Kaura                            8
4/5/2012

                                                                        4/5/2012             8
Componentization of a Flex App
           In Flex, a module corresponds to a custom component, implemented either in MXML
           or in ActionScript. The following image shows an example of a Flex application divided
           into components:




                                      More insights into Flex: Yukti Kaura                          9
4/5/2012

                                                                             4/5/2012        9
MXML and ActionScript components

                                                                            •To create a custom
                                                                            component in ActionScript,
                                                                            you create a subclass from a
                                                                            class in the Flex class
                                                                            hierarchy.

                                                                            •When you create a custom
                                                                            component in MXML, the
                                                                            Flex compiler automatically
                                                                            creates an ActionScript
                                                                            class.




   Two components based on the Flex Button component, one defined in
                ActionScript and the other in MXML
                                     More insights into Flex: Yukti Kaura                             10
4/5/2012

                                                                               4/5/2012          10
Deciding to create components in MXML or
                          ActionScript
       •   For simple components, such as components
           that add a basic feature to an existing
           component, it is simpler and faster to create them
           in MXML.
       •   When your new component is a composite
           component that contains other components, and
           you can express the positions and sizes of those
           other components using one of the Flex layout
           containers, you should use MXML to define your
           component.
       •   To modify the behavior of the component, such
           as the way a container lays out its children, use
           ActionScript.
       •   To create a visual component by creating a
           subclass from UIComponent, use ActionScript.
       •   To create a nonvisual component, such as a
           formatter, validator, or effect, use ActionScript.
                                  More insights into Flex: Yukti Kaura                   11
4/5/2012

                                                                         4/5/2012   11
Creating our First Custom Visual Component

                           Demo1:The Problem
                 • Create a reusable Employee Information Panel
                           with his photograph and name
                 • Pass the component’s information using a class
                                   property value




                             More insights into Flex: Yukti Kaura                   12
4/5/2012

                                                                    4/5/2012   12
Step By Step Visual Component creation

                                                                      Use the
            • Root Tag                                                component
              specifies               • Declare                       • Declare the
              superclass of             Metadata -                      namespace in
              the MXML                  Styles,Events                   the host file
              component.(Fl             etc…                          • Use the
              ex or Custom)           • Define                          component in
            • Component’s               properties and                  MXML , in this
              filename                  behaviour                       manner
              becomes it’s                                              <namespace:c
              MXML tag                                                  omponentNa
              name                                                      me>



                              More insights into Flex: Yukti Kaura                       13
4/5/2012

                                                                     4/5/2012       13
Creating a class property in MXML



                                                                     Instantiate
                                                                     custom
                                                   Use the           component
                                                   variable in       and pass in
                                                   component         the value
                                Create a           logic
                                variable and
                                define an
                                access modifier
               Create a
               Script Block
               in the
               component
               file




                              More insights into Flex: Yukti Kaura                       14
4/5/2012

                                                                         4/5/2012   14
Deploying components

           Components can be deployed
           as SWC files or as part of a
           Runtime Shared Library (RSL).

           RSL is a way to reduce the
           size of application's SWF file
           by externalizing shared assets
           into stand-alone files that can
           be separately downloaded and
           cached on the client. These
           shared files are known as
           Runtime Shared Libraries or
           RSLs.
                              More insights into Flex: Yukti Kaura                   15
4/5/2012

                                                                     4/5/2012   15
Stop and Ponder

                                • What is a SWC file?
                                • What is the output of a Flex
                                  Application and what is its
                                  expansion?




           More insights into Flex: Yukti Kaura                       16
4/5/2012

                                                  4/5/2012       16
Creating Custom Events



                                   (Optional) Use                           Instantiate
           (Optional) Create a
                                  the [Event] met                          and Dispatch
              subclass from
                                     adata tag to           Populate         the event
           the flash.events.Ev
                                  make the event          properties of        using
            ent class to create
                                    public so that          the event      the dispatchE
           an event class that
                                      the MXML              with data      vent() metho
              describes the
                                       compiler                                  d.
              event object.
                                    recognizes it




                                    More insights into Flex: Yukti Kaura                        17
4/5/2012

                                                                             4/5/2012      17
Metadata tags

       • Metadata tag is the information to
         the Flex compiler that describes           •    [DefaultProperty]
         how components are used in a               •    [Deprecated]
         Flex application                           •    [Effect]
       • The metadata tags define
         component attributes, data binding
         properties, events, and other              •    [Exclude]
         properties of the component. Flex          •    [ExcludeClass]
         interprets these statements during
         compilation; they are never                •    [Inspectable]
         interpreted during run time.               •    [InstanceType]
       • Metadata statements are                    •    [NonCommittingChangeEvent]
         associated with a class                    •    [RemoteClass]
         declaration, an individual data
         field, or a method.                        •    [Transient]
                                                    •    [ArrayElementType]
                               More insights into Flex: Yukti Kaura                        18
4/5/2012

                                                                          4/5/2012    18
Saying it with
       •   [Event] metadata tag is used to define events dispatched by a component so that the Flex
           compiler can recognize them as MXML tag attributes in an MXML file
       •   The Event metadata keyword has the following syntax:

       •   [Event] metadata tag is added in one of the following locations:
            o ActionScript components Above the class definition, but within the package definition, so that the
              events are bound to the class and not a particular member of the class.
            o MXML components In the <fx:Metadata> tag of an MXML file.

       •   The [Style] metadata tag to define the MXML tag attribute for a style property for the
           component .
       •   The Style metadata has the following syntax

           e.g.Definition of the textSelectedColor style property
           [Style(name="textSelectedColor",type="Number",format="Color",inherit="yes")]

       •   The [Embed] metadata tag imports JPEG, GIF, PNG, SVG, and SWF files at compile time.
           Also imports image assets from SWC files.tag attribute for a style property for the component .
       •   The Embed metadata has the following syntax


                                           More insights into Flex: Yukti Kaura                                         19
4/5/2012

                                                                                          4/5/2012                 19
Introduction to Styling and Skinning




                                4/5/2012   20
Topics


       • Applying application
         styles using CSS
       • Skinning the application
       • Using the Theme
         Browser




                       More insights into Flex: Yukti Kaura                   21
4/5/2012

                                                              4/5/2012   21
Styling Or Skinning?




   Styling:- When you want to customize the appearance of a Flex component, you have two
   options. One is to tweak the default appearance of the component using styling. Each Flex
   component has an extensive set of style properties you can set to change its appearance:
   the roundness of corners, the colors used for fill gradients, the font, color, and size of
   text, and so on.

   Skinning:-If you find that you can’t achieve the look that you want purely through
   styling, or if you just want to draw the appearance rather than tweaking a bunch of
   knobs, then skins allow you to completely customize the appearance of a component.

                                  More insights into Flex: Yukti Kaura                          22
4/5/2012

                                                                         4/5/2012       22
What is Skinning?
           Skinning is the process of changing the appearance of a component by modifying or
           replacing its visual elements. These elements can be made up of bitmap images, SWF
           files, or class files that contain drawing methods that define vector images.

       • Button States                                         • Default Skins for a button for
                    State          Skin Property                 up, over and down appear as
                     Down               DownSkin                 follows
                      over              overSkin

                      up                 upSkin                          Up     over       down
                    disabled           disabledSkin

                selectedDisabled   selectedDisabledSkin
                                                               • Other controls have similar
                 selectedDown       selectedDownSkin
                                                                 states with associated skins
                  selectedOver      selectedOverSkin

                  selectedUp         selectedUpSkin




                                         More insights into Flex: Yukti Kaura                          23
4/5/2012

                                                                                       4/5/2012   23
Styling and Skinning the app

                       Demo2:The Problem
                       • Create a custom CSS Style
                          • Skin The Application
           • Change the component theme using theme browser




                      More insights into Flex: Yukti Kaura                   24
4/5/2012

                                                             4/5/2012   24
Understanding Spark Skins




                More insights into Flex: Yukti Kaura                   25
4/5/2012

                                                       4/5/2012   25
Creating a skin for spark components




                      More insights into Flex: Yukti Kaura                   26
4/5/2012

                                                             4/5/2012   26
Skinning a Button

                   Demo3:The Problem
                     • Create a button Skin
                         • Use two icons
           • Apply Glow Filter to the button label text
              • Apply highlight to the whole button




                 More insights into Flex: Yukti Kaura                     27
4/5/2012

                                                          4/5/2012   27
Defining a contract between Skin and
                                component




                                                    Define the
                                                                            Define the
             Extend the      Define the Skin     HostComponent                              Define the Skin
                                                                          Visual graphic
           SparkSkin class       states           with Metadata                                  Parts
                                                                            elements
                                                       Tag




                                        More insights into Flex: Yukti Kaura                                  28
4/5/2012

                                                                                      4/5/2012          28
Introduction to Data Services




                                4/5/2012   29
Accessing Server side data with flex
 Adobe® Flex® data access components use
 remote procedure calls to interact with
 server environments, such as PHP, Adobe
 ColdFusion, and Microsoft ASP.NET

   Depending on the types of interfaces you
   have to a particular server-side
   application, you can connect to a Flex
   application by using one of the following
   methods:
   •HTTP GET or POST by using the HTTPService
   component
   •Simple Object Access Protocol (SOAP)
   compliant web services by using the
   WebService component
   •Adobe Action Message Format (AMF)
   remoting services by using the RemoteObject                                          30
4/5/2012                         More insights into Flex: Yukti Kaura
   component
                                                                        4/5/2012   30
HttpService Component
       • You can use an HTTPService component with any kind of server-
         side technology.


                                     • Can make a GET or POST request to a
                 HTTPRequest           specified URL
                                     • Can use HTTP or HTTPS




                                     • Within declarations tag set create
                                       HTTPService object
                   Making              • No request is made at this time
                HTTPRequests         • Make the HTTP Request using the
                                       send() method

                             More insights into Flex: Yukti Kaura                   31
4/5/2012

                                                                    4/5/2012   31
Creating HttpService Object




                 More insights into Flex: Yukti Kaura   32
4/5/2012
Defining result format property




                   More insights into Flex: Yukti Kaura                   33
4/5/2012

                                                          4/5/2012   33
Handling Result




           More insights into Flex: Yukti Kaura                   34
4/5/2012

                                                  4/5/2012   34
Handling Faults




           More insights into Flex: Yukti Kaura                   35
4/5/2012

                                                  4/5/2012   35
More insights into Flex: Yukti Kaura                   36
4/5/2012

                                                  4/5/2012   36
4/5/2012   37

More Related Content

What's hot

A Deep Dive into the Liberty Buildpack on IBM BlueMix
A Deep Dive into the Liberty Buildpack on IBM BlueMix A Deep Dive into the Liberty Buildpack on IBM BlueMix
A Deep Dive into the Liberty Buildpack on IBM BlueMix Rohit Kelapure
 
Windows Phone 7 Unleashed Session 2
Windows Phone 7 Unleashed Session 2Windows Phone 7 Unleashed Session 2
Windows Phone 7 Unleashed Session 2Wes Yanaga
 
What's new in Portal and WCM 8.5
What's new in Portal and WCM 8.5What's new in Portal and WCM 8.5
What's new in Portal and WCM 8.5Vinayak Tavargeri
 
Lightning Workshop London
Lightning Workshop LondonLightning Workshop London
Lightning Workshop LondonKeir Bowden
 
Introduction to Force.com
Introduction to Force.comIntroduction to Force.com
Introduction to Force.comIMC Institute
 
Extending uBuild and uDeploy with Plugins
Extending uBuild and uDeploy with PluginsExtending uBuild and uDeploy with Plugins
Extending uBuild and uDeploy with PluginsIBM UrbanCode Products
 
WebSphere Portal Business Overview
WebSphere Portal Business OverviewWebSphere Portal Business Overview
WebSphere Portal Business OverviewJoel Demay
 
IBM Portal Web intro
IBM Portal Web introIBM Portal Web intro
IBM Portal Web introdanisman
 
Integrating WebSphere Service Registry and Repository V8 with Process Server
Integrating WebSphere Service Registry and Repository V8 with Process ServerIntegrating WebSphere Service Registry and Repository V8 with Process Server
Integrating WebSphere Service Registry and Repository V8 with Process ServerGaneshNagalingam1
 
WebSphere sMash June Product Review
WebSphere sMash June Product ReviewWebSphere sMash June Product Review
WebSphere sMash June Product ReviewProject Zero
 
The AMIS Report from Oracle Open World and JavaOne 2011
The AMIS Report from Oracle Open World and JavaOne 2011The AMIS Report from Oracle Open World and JavaOne 2011
The AMIS Report from Oracle Open World and JavaOne 2011Lucas Jellema
 
Windows Azure SQL Database Federations
Windows Azure SQL Database FederationsWindows Azure SQL Database Federations
Windows Azure SQL Database FederationsNeil Mackenzie
 
Managing Content In Portal Wcm
Managing Content In Portal WcmManaging Content In Portal Wcm
Managing Content In Portal Wcmtchaitanya
 

What's hot (20)

A Deep Dive into the Liberty Buildpack on IBM BlueMix
A Deep Dive into the Liberty Buildpack on IBM BlueMix A Deep Dive into the Liberty Buildpack on IBM BlueMix
A Deep Dive into the Liberty Buildpack on IBM BlueMix
 
Windows Phone 7 Unleashed Session 2
Windows Phone 7 Unleashed Session 2Windows Phone 7 Unleashed Session 2
Windows Phone 7 Unleashed Session 2
 
What's new in Portal and WCM 8.5
What's new in Portal and WCM 8.5What's new in Portal and WCM 8.5
What's new in Portal and WCM 8.5
 
Lightning Workshop London
Lightning Workshop LondonLightning Workshop London
Lightning Workshop London
 
Introduction to Force.com
Introduction to Force.comIntroduction to Force.com
Introduction to Force.com
 
Force.com Friday - Intro to Visualforce
Force.com Friday - Intro to VisualforceForce.com Friday - Intro to Visualforce
Force.com Friday - Intro to Visualforce
 
Extending uBuild and uDeploy with Plugins
Extending uBuild and uDeploy with PluginsExtending uBuild and uDeploy with Plugins
Extending uBuild and uDeploy with Plugins
 
Intro to Force.com Webinar presentation
Intro to Force.com Webinar presentationIntro to Force.com Webinar presentation
Intro to Force.com Webinar presentation
 
Symantec I3 Presentation
Symantec I3 PresentationSymantec I3 Presentation
Symantec I3 Presentation
 
IBM WebSphere Portal
IBM WebSphere PortalIBM WebSphere Portal
IBM WebSphere Portal
 
WebSphere Portal Business Overview
WebSphere Portal Business OverviewWebSphere Portal Business Overview
WebSphere Portal Business Overview
 
IBM Portal Web intro
IBM Portal Web introIBM Portal Web intro
IBM Portal Web intro
 
Overview
OverviewOverview
Overview
 
Integrating WebSphere Service Registry and Repository V8 with Process Server
Integrating WebSphere Service Registry and Repository V8 with Process ServerIntegrating WebSphere Service Registry and Repository V8 with Process Server
Integrating WebSphere Service Registry and Repository V8 with Process Server
 
WebSphere sMash June Product Review
WebSphere sMash June Product ReviewWebSphere sMash June Product Review
WebSphere sMash June Product Review
 
1812 icap-v1.3 0430
1812 icap-v1.3 04301812 icap-v1.3 0430
1812 icap-v1.3 0430
 
The AMIS Report from Oracle Open World and JavaOne 2011
The AMIS Report from Oracle Open World and JavaOne 2011The AMIS Report from Oracle Open World and JavaOne 2011
The AMIS Report from Oracle Open World and JavaOne 2011
 
Windows Azure SQL Database Federations
Windows Azure SQL Database FederationsWindows Azure SQL Database Federations
Windows Azure SQL Database Federations
 
Managing Content In Portal Wcm
Managing Content In Portal WcmManaging Content In Portal Wcm
Managing Content In Portal Wcm
 
Flex Introduction
Flex IntroductionFlex Introduction
Flex Introduction
 

Similar to More Insights into Custom Component Development in Flex

How to Build Composite Applications with PRISM
How to Build Composite Applications with PRISMHow to Build Composite Applications with PRISM
How to Build Composite Applications with PRISMDataLeader.io
 
"Micro-frontends: Scalable and Modular Frontend in Parimatch Tech", Kyrylo Ai...
"Micro-frontends: Scalable and Modular Frontend in Parimatch Tech", Kyrylo Ai..."Micro-frontends: Scalable and Modular Frontend in Parimatch Tech", Kyrylo Ai...
"Micro-frontends: Scalable and Modular Frontend in Parimatch Tech", Kyrylo Ai...Fwdays
 
Collab net overview_june 30 slide show
Collab net overview_june 30 slide showCollab net overview_june 30 slide show
Collab net overview_june 30 slide showsfelsenthal
 
Flex4 Component Lifecycle
Flex4 Component LifecycleFlex4 Component Lifecycle
Flex4 Component LifecycleEffective
 
Flex4 Component Lifecycle
Flex4 Component LifecycleFlex4 Component Lifecycle
Flex4 Component LifecycleEffectiveUI
 
Building modular applications
Building modular applicationsBuilding modular applications
Building modular applicationsIndicThreads
 
Flex4 component lifecycle
Flex4 component lifecycleFlex4 component lifecycle
Flex4 component lifecycleRJ Owen
 
Mike Taulty DevDays 2010 Silverlight MEF
Mike Taulty DevDays 2010 Silverlight MEFMike Taulty DevDays 2010 Silverlight MEF
Mike Taulty DevDays 2010 Silverlight MEFukdpe
 
Introduction to Spring Framework
Introduction to Spring FrameworkIntroduction to Spring Framework
Introduction to Spring FrameworkASG
 
Anish Karmakar S C A
Anish  Karmakar    S C AAnish  Karmakar    S C A
Anish Karmakar S C ASOA Symposium
 
Adobe Flex - Foundation to Advanced (Bundle) [A-FX-103] Frameworks
Adobe Flex - Foundation to Advanced (Bundle) [A-FX-103] FrameworksAdobe Flex - Foundation to Advanced (Bundle) [A-FX-103] Frameworks
Adobe Flex - Foundation to Advanced (Bundle) [A-FX-103] FrameworksStefano Virgilli
 
ReactJs Training in Hyderabad | ReactJS Training
ReactJs Training in Hyderabad  | ReactJS TrainingReactJs Training in Hyderabad  | ReactJS Training
ReactJs Training in Hyderabad | ReactJS Trainingeshwarvisualpath
 
Java TechTalk "Spring boot made life easier with Kubernetes and Microservices"
Java TechTalk "Spring boot made life easier with Kubernetes and Microservices"Java TechTalk "Spring boot made life easier with Kubernetes and Microservices"
Java TechTalk "Spring boot made life easier with Kubernetes and Microservices"GlobalLogic Ukraine
 
2009 F Star Perl Workshop Beijing
2009 F Star Perl Workshop Beijing2009 F Star Perl Workshop Beijing
2009 F Star Perl Workshop Beijingeelstork
 

Similar to More Insights into Custom Component Development in Flex (20)

Framework
FrameworkFramework
Framework
 
How to Build Composite Applications with PRISM
How to Build Composite Applications with PRISMHow to Build Composite Applications with PRISM
How to Build Composite Applications with PRISM
 
"Micro-frontends: Scalable and Modular Frontend in Parimatch Tech", Kyrylo Ai...
"Micro-frontends: Scalable and Modular Frontend in Parimatch Tech", Kyrylo Ai..."Micro-frontends: Scalable and Modular Frontend in Parimatch Tech", Kyrylo Ai...
"Micro-frontends: Scalable and Modular Frontend in Parimatch Tech", Kyrylo Ai...
 
Collab net overview_june 30 slide show
Collab net overview_june 30 slide showCollab net overview_june 30 slide show
Collab net overview_june 30 slide show
 
WPF Intro
WPF IntroWPF Intro
WPF Intro
 
Flex4 Component Lifecycle
Flex4 Component LifecycleFlex4 Component Lifecycle
Flex4 Component Lifecycle
 
Flex4 Component Lifecycle
Flex4 Component LifecycleFlex4 Component Lifecycle
Flex4 Component Lifecycle
 
Building modular applications
Building modular applicationsBuilding modular applications
Building modular applications
 
Flex4 component lifecycle
Flex4 component lifecycleFlex4 component lifecycle
Flex4 component lifecycle
 
Ozone presentation
Ozone presentationOzone presentation
Ozone presentation
 
Mike Taulty DevDays 2010 Silverlight MEF
Mike Taulty DevDays 2010 Silverlight MEFMike Taulty DevDays 2010 Silverlight MEF
Mike Taulty DevDays 2010 Silverlight MEF
 
Introduction to Spring Framework
Introduction to Spring FrameworkIntroduction to Spring Framework
Introduction to Spring Framework
 
Anish Karmakar S C A
Anish  Karmakar    S C AAnish  Karmakar    S C A
Anish Karmakar S C A
 
Jsf
JsfJsf
Jsf
 
Adobe Flex - Foundation to Advanced (Bundle) [A-FX-103] Frameworks
Adobe Flex - Foundation to Advanced (Bundle) [A-FX-103] FrameworksAdobe Flex - Foundation to Advanced (Bundle) [A-FX-103] Frameworks
Adobe Flex - Foundation to Advanced (Bundle) [A-FX-103] Frameworks
 
Flex and Java
Flex and JavaFlex and Java
Flex and Java
 
ReactJs Training in Hyderabad | ReactJS Training
ReactJs Training in Hyderabad  | ReactJS TrainingReactJs Training in Hyderabad  | ReactJS Training
ReactJs Training in Hyderabad | ReactJS Training
 
Spring 2
Spring 2Spring 2
Spring 2
 
Java TechTalk "Spring boot made life easier with Kubernetes and Microservices"
Java TechTalk "Spring boot made life easier with Kubernetes and Microservices"Java TechTalk "Spring boot made life easier with Kubernetes and Microservices"
Java TechTalk "Spring boot made life easier with Kubernetes and Microservices"
 
2009 F Star Perl Workshop Beijing
2009 F Star Perl Workshop Beijing2009 F Star Perl Workshop Beijing
2009 F Star Perl Workshop Beijing
 

More from Yukti Kaura

Apache spark linkedin
Apache spark linkedinApache spark linkedin
Apache spark linkedinYukti Kaura
 
Cloud computing saas
Cloud computing   saasCloud computing   saas
Cloud computing saasYukti Kaura
 
Cloud computing - Basics and Beyond
Cloud computing - Basics and BeyondCloud computing - Basics and Beyond
Cloud computing - Basics and BeyondYukti Kaura
 
NodeJS ecosystem
NodeJS ecosystemNodeJS ecosystem
NodeJS ecosystemYukti Kaura
 
Hadoop and big data
Hadoop and big dataHadoop and big data
Hadoop and big dataYukti Kaura
 
Web services for Laymen
Web services for LaymenWeb services for Laymen
Web services for LaymenYukti Kaura
 
Clean code - Agile Software Craftsmanship
Clean code - Agile Software CraftsmanshipClean code - Agile Software Craftsmanship
Clean code - Agile Software CraftsmanshipYukti Kaura
 

More from Yukti Kaura (9)

Apache spark linkedin
Apache spark linkedinApache spark linkedin
Apache spark linkedin
 
Cloud computing saas
Cloud computing   saasCloud computing   saas
Cloud computing saas
 
Cloud computing - Basics and Beyond
Cloud computing - Basics and BeyondCloud computing - Basics and Beyond
Cloud computing - Basics and Beyond
 
NodeJS ecosystem
NodeJS ecosystemNodeJS ecosystem
NodeJS ecosystem
 
Hadoop and big data
Hadoop and big dataHadoop and big data
Hadoop and big data
 
Web services for Laymen
Web services for LaymenWeb services for Laymen
Web services for Laymen
 
Spring batch
Spring batch Spring batch
Spring batch
 
Clean code - Agile Software Craftsmanship
Clean code - Agile Software CraftsmanshipClean code - Agile Software Craftsmanship
Clean code - Agile Software Craftsmanship
 
Maven overview
Maven overviewMaven overview
Maven overview
 

Recently uploaded

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 

Recently uploaded (20)

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 

More Insights into Custom Component Development in Flex

  • 1. More Insight in Flex 4/5/2012 1
  • 2. Contents • Custom Component Development in Flex o About Custom Flex Components o Custom Events o Metadata Tags in Custom Components • Introduction to Styling and Skinning o Using Styles and Themes o Creating Skins • Introduction to Data Services For Flex o Accessing Server-Side Data with Flex o Using HTTPService components o Handling result and fault events 2 4/5/2012 4/5/2012 2
  • 3. Stop and Ponder • What is MXML? • What are namespaces? • What is ActionScript? More insights into Flex: Yukti Kaura 3 4/5/2012 4/5/2012 3
  • 4. Custom Component Development in Flex 4/5/2012 4
  • 5. Key Benefits of Custom Component Development Ease of development Maintainability Reusability More insights into Flex: Yukti Kaura 5 4/5/2012 5 5-Apr-12
  • 6. What are 'Components' for Flex? Visual Non Visual •Flex is implemented as Components Components an ActionScript class hierarchy. All visual components are derived from Common examples are Validator, Formatter and •Components inherit UIComponent class effect base class the properties, methods, ev ents, styles, and effects Visual components can be ‘ ’ or ‘Containers’ of their superclasses. •To create your own Common examples are Container – components, you create Group, BorderContainer etc.. Control - subclasses from any Button, Label etc… other class in the Flex component hierarchy. 6 4/5/2012 More insights into Flex: Yukti Kaura 4/5/2012 6
  • 7. Why Component? Component/module is based on the concept of ‘Loose coupling.’ A component is like a BlackBox to any other component using it Information Events – as properties IN OUT user/system/custom or methods More insights into Flex: Yukti Kaura 7 4/5/2012 4/5/2012 7
  • 8. Where does the visual component lie in MVC? invokes operations renders model state initiates updates remote calls model data More insights into Flex: Yukti Kaura 8 4/5/2012 4/5/2012 8
  • 9. Componentization of a Flex App In Flex, a module corresponds to a custom component, implemented either in MXML or in ActionScript. The following image shows an example of a Flex application divided into components: More insights into Flex: Yukti Kaura 9 4/5/2012 4/5/2012 9
  • 10. MXML and ActionScript components •To create a custom component in ActionScript, you create a subclass from a class in the Flex class hierarchy. •When you create a custom component in MXML, the Flex compiler automatically creates an ActionScript class. Two components based on the Flex Button component, one defined in ActionScript and the other in MXML More insights into Flex: Yukti Kaura 10 4/5/2012 4/5/2012 10
  • 11. Deciding to create components in MXML or ActionScript • For simple components, such as components that add a basic feature to an existing component, it is simpler and faster to create them in MXML. • When your new component is a composite component that contains other components, and you can express the positions and sizes of those other components using one of the Flex layout containers, you should use MXML to define your component. • To modify the behavior of the component, such as the way a container lays out its children, use ActionScript. • To create a visual component by creating a subclass from UIComponent, use ActionScript. • To create a nonvisual component, such as a formatter, validator, or effect, use ActionScript. More insights into Flex: Yukti Kaura 11 4/5/2012 4/5/2012 11
  • 12. Creating our First Custom Visual Component Demo1:The Problem • Create a reusable Employee Information Panel with his photograph and name • Pass the component’s information using a class property value More insights into Flex: Yukti Kaura 12 4/5/2012 4/5/2012 12
  • 13. Step By Step Visual Component creation Use the • Root Tag component specifies • Declare • Declare the superclass of Metadata - namespace in the MXML Styles,Events the host file component.(Fl etc… • Use the ex or Custom) • Define component in • Component’s properties and MXML , in this filename behaviour manner becomes it’s <namespace:c MXML tag omponentNa name me> More insights into Flex: Yukti Kaura 13 4/5/2012 4/5/2012 13
  • 14. Creating a class property in MXML Instantiate custom Use the component variable in and pass in component the value Create a logic variable and define an access modifier Create a Script Block in the component file More insights into Flex: Yukti Kaura 14 4/5/2012 4/5/2012 14
  • 15. Deploying components Components can be deployed as SWC files or as part of a Runtime Shared Library (RSL). RSL is a way to reduce the size of application's SWF file by externalizing shared assets into stand-alone files that can be separately downloaded and cached on the client. These shared files are known as Runtime Shared Libraries or RSLs. More insights into Flex: Yukti Kaura 15 4/5/2012 4/5/2012 15
  • 16. Stop and Ponder • What is a SWC file? • What is the output of a Flex Application and what is its expansion? More insights into Flex: Yukti Kaura 16 4/5/2012 4/5/2012 16
  • 17. Creating Custom Events (Optional) Use Instantiate (Optional) Create a the [Event] met and Dispatch subclass from adata tag to Populate the event the flash.events.Ev make the event properties of using ent class to create public so that the event the dispatchE an event class that the MXML with data vent() metho describes the compiler d. event object. recognizes it More insights into Flex: Yukti Kaura 17 4/5/2012 4/5/2012 17
  • 18. Metadata tags • Metadata tag is the information to the Flex compiler that describes • [DefaultProperty] how components are used in a • [Deprecated] Flex application • [Effect] • The metadata tags define component attributes, data binding properties, events, and other • [Exclude] properties of the component. Flex • [ExcludeClass] interprets these statements during compilation; they are never • [Inspectable] interpreted during run time. • [InstanceType] • Metadata statements are • [NonCommittingChangeEvent] associated with a class • [RemoteClass] declaration, an individual data field, or a method. • [Transient] • [ArrayElementType] More insights into Flex: Yukti Kaura 18 4/5/2012 4/5/2012 18
  • 19. Saying it with • [Event] metadata tag is used to define events dispatched by a component so that the Flex compiler can recognize them as MXML tag attributes in an MXML file • The Event metadata keyword has the following syntax: • [Event] metadata tag is added in one of the following locations: o ActionScript components Above the class definition, but within the package definition, so that the events are bound to the class and not a particular member of the class. o MXML components In the <fx:Metadata> tag of an MXML file. • The [Style] metadata tag to define the MXML tag attribute for a style property for the component . • The Style metadata has the following syntax e.g.Definition of the textSelectedColor style property [Style(name="textSelectedColor",type="Number",format="Color",inherit="yes")] • The [Embed] metadata tag imports JPEG, GIF, PNG, SVG, and SWF files at compile time. Also imports image assets from SWC files.tag attribute for a style property for the component . • The Embed metadata has the following syntax More insights into Flex: Yukti Kaura 19 4/5/2012 4/5/2012 19
  • 20. Introduction to Styling and Skinning 4/5/2012 20
  • 21. Topics • Applying application styles using CSS • Skinning the application • Using the Theme Browser More insights into Flex: Yukti Kaura 21 4/5/2012 4/5/2012 21
  • 22. Styling Or Skinning? Styling:- When you want to customize the appearance of a Flex component, you have two options. One is to tweak the default appearance of the component using styling. Each Flex component has an extensive set of style properties you can set to change its appearance: the roundness of corners, the colors used for fill gradients, the font, color, and size of text, and so on. Skinning:-If you find that you can’t achieve the look that you want purely through styling, or if you just want to draw the appearance rather than tweaking a bunch of knobs, then skins allow you to completely customize the appearance of a component. More insights into Flex: Yukti Kaura 22 4/5/2012 4/5/2012 22
  • 23. What is Skinning? Skinning is the process of changing the appearance of a component by modifying or replacing its visual elements. These elements can be made up of bitmap images, SWF files, or class files that contain drawing methods that define vector images. • Button States • Default Skins for a button for State Skin Property up, over and down appear as Down DownSkin follows over overSkin up upSkin Up over down disabled disabledSkin selectedDisabled selectedDisabledSkin • Other controls have similar selectedDown selectedDownSkin states with associated skins selectedOver selectedOverSkin selectedUp selectedUpSkin More insights into Flex: Yukti Kaura 23 4/5/2012 4/5/2012 23
  • 24. Styling and Skinning the app Demo2:The Problem • Create a custom CSS Style • Skin The Application • Change the component theme using theme browser More insights into Flex: Yukti Kaura 24 4/5/2012 4/5/2012 24
  • 25. Understanding Spark Skins More insights into Flex: Yukti Kaura 25 4/5/2012 4/5/2012 25
  • 26. Creating a skin for spark components More insights into Flex: Yukti Kaura 26 4/5/2012 4/5/2012 26
  • 27. Skinning a Button Demo3:The Problem • Create a button Skin • Use two icons • Apply Glow Filter to the button label text • Apply highlight to the whole button More insights into Flex: Yukti Kaura 27 4/5/2012 4/5/2012 27
  • 28. Defining a contract between Skin and component Define the Define the Extend the Define the Skin HostComponent Define the Skin Visual graphic SparkSkin class states with Metadata Parts elements Tag More insights into Flex: Yukti Kaura 28 4/5/2012 4/5/2012 28
  • 29. Introduction to Data Services 4/5/2012 29
  • 30. Accessing Server side data with flex Adobe® Flex® data access components use remote procedure calls to interact with server environments, such as PHP, Adobe ColdFusion, and Microsoft ASP.NET Depending on the types of interfaces you have to a particular server-side application, you can connect to a Flex application by using one of the following methods: •HTTP GET or POST by using the HTTPService component •Simple Object Access Protocol (SOAP) compliant web services by using the WebService component •Adobe Action Message Format (AMF) remoting services by using the RemoteObject 30 4/5/2012 More insights into Flex: Yukti Kaura component 4/5/2012 30
  • 31. HttpService Component • You can use an HTTPService component with any kind of server- side technology. • Can make a GET or POST request to a HTTPRequest specified URL • Can use HTTP or HTTPS • Within declarations tag set create HTTPService object Making • No request is made at this time HTTPRequests • Make the HTTP Request using the send() method More insights into Flex: Yukti Kaura 31 4/5/2012 4/5/2012 31
  • 32. Creating HttpService Object More insights into Flex: Yukti Kaura 32 4/5/2012
  • 33. Defining result format property More insights into Flex: Yukti Kaura 33 4/5/2012 4/5/2012 33
  • 34. Handling Result More insights into Flex: Yukti Kaura 34 4/5/2012 4/5/2012 34
  • 35. Handling Faults More insights into Flex: Yukti Kaura 35 4/5/2012 4/5/2012 35
  • 36. More insights into Flex: Yukti Kaura 36 4/5/2012 4/5/2012 36
  • 37. 4/5/2012 37

Editor's Notes

  1. Content SlideUse Aricentred, bold, or both when emphasizing words, do not italicizeNumber of bullets: 6Title of the slide - No. of words: 5, No. of characters: 40Words in each bullet: Max 10, No. of characters in each bullet: Max 118
  2. Separator SlideSection heading –Max 6 words 50 charactersSub title -left aligned, not more than two lines with three words each – 35 characters in each line
  3. One reason for you to create a component is to customize an existing Flex component for your application requirements. This customization could be as simple as setting the label property of a Button control to Submit to create a custom button for all of your forms.You might also want to modify the behavior of a Flex component. For example, a VBox container lays out its children from the top of the container to the bottom in the order in which you define the children within the container. Instead, you might want to customize the VBox container to lay out its children from bottom to top.Another reason to customize a Flex component is to add logic or behavior to it. For example, you might want to modify the TextInput control so that it supports a key combination to delete all the text entered into the control. Or, you might want to modify a component so that it dispatches a new event type when a user carries out an action.
  4. You define a main MXML file that contains the &lt;mx:Application&gt; tag.In your main MXML file, you define an ActionScript block that uses the &lt;mx:Script&gt; tag. Inside the ActionScript block, you write ActionScript code, or include external logic defined by an ActionScript file. Typically, you use this area to write small amounts of ActionScript code. If you must write large amounts of ActionScript code, you should include an external file.The main MXML file uses MXML and ActionScript to reference components supplied with Flex, and to reference your custom components.Custom components can reference other custom components.
  5. Large Image with content (Image on Right)Guidelines for images - Do not use image border, Do not use transparent or semi-transparent images
  6. Large Image with content (Image on left)Guidelines for images - Do not use image border, Do not use transparent or semi-transparent images
  7. Separator SlideSection heading –Max 6 words 50 charactersSub title -left aligned, not more than two lines with three words each – 35 characters in each line
  8. Separator SlideSection heading –Max 6 words 50 charactersSub title -left aligned, not more than two lines with three words each – 35 characters in each line