Flex 4
Upcoming SlideShare
Loading in...5
×
 

Flex 4

on

  • 999 views

New features of Flex 4. Differences between Flex 3 and Flex 4

New features of Flex 4. Differences between Flex 3 and Flex 4

Statistics

Views

Total Views
999
Views on SlideShare
980
Embed Views
19

Actions

Likes
1
Downloads
8
Comments
0

1 Embed 19

http://imatrof.blogspot.com 19

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • Create simple design in AI.Create new project from AI design in Catalyst.Save as FXP project.Open save projectin Flash Builder 4.
  • Speak about FXG format.
  • In the new Spark component model, core logic, skinning, and layout have been broken out so that they are handled independently of one another. The Spark component model is built on top of the Halo component model. Basically, that means that it extends from Halo's core base class UIComponent, allowing Flex4 to be adopted incrementally and Flex 3 components to be used in Flex 4 applications.http://flexstuff.co.uk/wp-content/uploads/examples/coverflowlayout/Coverflow_Flex4.swfhttp://flexstuff.co.uk/wp-content/uploads/examples/timemachinelayout/TimeMachine_Flex4.swf
  • Speak about new methods: addElement(), addElementAt(). Now addChild() method throws exception.Declaration without adding on a stage in MXML.
  • Applying skinsAttach skin; Skin parts. Base classes for skin. Meta tags. How define skin and aplly it on component.
  • Show states on demo.
  • A major pain point most everyone developing Flex 3 applications has encountered is poor compiler performance. Thus, one of the published goals for Gumbo was to improve compiler performance in Flex 4. At this point, there are not any official benchmarks published from this work. However, Adobe's Peter Donovan did publish some notes on his early efforts, stating that he believed a 25% improvement would be reached without significant restructuring. He also said that to achieve a 3-4 times improvement, a redesign will be required.
  • Show TLF graphic.Some features.

Flex 4 Flex 4 Presentation Transcript

  • Flex 4
    Ihor Matrofaylo
  • Adobe Flash Catalyst
    Adobe Flash Builder 4
    Work flow with Flash Catalyst and Flash Builder
    FXG Support
    Updated Layout Model
    Spark Component Architecture
    Skinning Enhancements
    Improvements of View States
    Compiler Performance
    New Text Capabilities
    Agenda
  • Adobe Flash Catalyst
    Adobe® Flash® Catalyst™ is a new professional interaction design tool for rapidly creating expressive interfaces and interactive content without writing code. Create interactive portfolios, product guides, microsites, site navigation, interfaces for RIAs and more.
    When is Flash Catalyst shipping?
    The final product will ship in the first half of 2010.
    http://labs.adobe.com/technologies/flashcatalyst/
  • Adobe Flash Builder 4
    Flash Builder 4, formerly known as Flex Builder, is the latest version of the Eclipse based IDE for application developers. The new version comes with a handful of updates including: conditional debug break points, more refactoring tools, and FlexUnit 4 support. As always, it includes MXML, ActionScript 3, CSS editors, a visual designer, and the Flex performance and memory profiler (profiler only in the Professional version).
    When will the final version of Flash Builder 4 be available?
    We expect it to be in the first half of 2010.
    http://labs.adobe.com/technologies/flashbuilder4/
  • Work flow with Flash Catalyst and Flash Builder 4
  • Work flow with Flash Catalyst and Flash Builder 4
    Demo. Adobe Flash Catalyst for design.
    Demo. Adobe Flash Builder 4 for development.
  • FXG Support
    FXG (Flash XML Graphics) is an xml graphics file format being developed by Adobe Systems, which enables portability of assets between tools.
    PSD
    AI
    PNG
    FXG
    MXML
    FXG
    http://opensource.adobe.com/wiki/display/flexsdk/FXG+1.0+Specification
  • Updated Layout Model
    Spark component
    Halo component
    Canvas
    Group
    vscrollbars
    vscrollbars
    layout
    layout
    h scrollbars
    h scrollbars
    http://blog.digitalbackcountry.com/2009/05/flex-4-layouts-on-tech-talk-with-ryan-stewart/
  • Spark Component Architecture
    Flex 4 Component Lifecycle Methods
    Overriding UIComponent methods
    createChildren()
    commitProperties()
    invalidateProperties()
    measure()
    invalidateSize()
    updateDisplayList()
    invalidateDisplayList()
    Overriding SkinnableComponent methods
    attachSkin(), detachSkin()
    addElement()
    partAdded(), partRemoved()
    getCurrentSkinState()
    invalidateSkinState()
  • Skinning Enhancements
    Spark component
    Spark Skin
    [HostComponent] –
    points to the component you're skinning, and it is required to access the component from the skin.
    [SkinPart]–
    defines part of the host component.
    [SkinState]–
    defines state of the host component.
    http://opensource.adobe.com/wiki/display/flexsdk/Gumbo+Skinning
    https://www.adobe.com/devnet/flex/articles/flex4_skinning.html
  • Skinning Enhancements
    Demo. Skinning.
    spark.components.Button & spark.skins.spark.ButtonSkin
  • Improvements of View States
    Flex 3 View State model
    Flex 4 View State Model
    Base View State
    State A
    Base component
    State B
    State A
    Component A
    Base component
    includeIn=“A”
    State B
    Component A
    excludeFrom=“B”
    Component B
    Component B
    http://opensource.adobe.com/wiki/display/flexsdk/Enhanced+States+Syntax
  • Compiler Performance
    Adobe's Peter Donovan did publish some notes on his early efforts, stating that he believed a 25% improvement would be reached without significant restructuring.
    http://opensource.adobe.com/wiki/display/flexsdk/Notes+on+Compiler+Performance+Improvements
  • New Text Capabilities
    • High quality of text rendering and support of CFF (Compact Font Format)
    • Font size: MIN = 1 & MAX = 720
    • Vertical text alignment and highlighting
    • Bidirectional text and over 30 writing systems
    • Selection, editing and flowing text across multiple columns and linked containers, and around inline images
    • Rich typographical controls, including kerning, ligatures, typographic case, digit case, digit width and discretionary hyphens
    • Cut, copy, paste, undo and standard keyboard and mouse gestures for editing (work with text object model)
    http://labs.adobe.com/technologies/textlayout/
    http://labs.adobe.com/technologies/textlayout/demos/
  • Thank you for attention.