Your SlideShare is downloading. ×
Flex 4
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Flex 4

781
views

Published on

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

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


0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
781
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
9
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • 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.
  • Transcript

    • 1. Flex 4
      Ihor Matrofaylo
    • 2. 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
    • 3. 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/
    • 4. 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/
    • 5. Work flow with Flash Catalyst and Flash Builder 4
    • 6. Work flow with Flash Catalyst and Flash Builder 4
      Demo. Adobe Flash Catalyst for design.
      Demo. Adobe Flash Builder 4 for development.
    • 7. 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
    • 8. 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/
    • 9. 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()
    • 10. 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
    • 11. Skinning Enhancements
      Demo. Skinning.
      spark.components.Button & spark.skins.spark.ButtonSkin
    • 12. 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
    • 13. 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
    • 14. New Text Capabilities
      • High quality of text rendering and support of CFF (Compact Font Format)
      • 15. Font size: MIN = 1 & MAX = 720
      • 16. Vertical text alignment and highlighting
      • 17. Bidirectional text and over 30 writing systems
      • 18. Selection, editing and flowing text across multiple columns and linked containers, and around inline images
      • 19. Rich typographical controls, including kerning, ligatures, typographic case, digit case, digit width and discretionary hyphens
      • 20. 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/
    • 21. Thank you for attention.

    ×