Archive for the ‘Flex 4’ Category

Apache Flex 4.8.0-incubating Released

Tuesday, July 24th, 2012

Apache Flex

The Apache Flex community is pleased to announce the release of Apache Flex 4.8.0-incubating!

Apache Flex is an application framework for easily building Flash Platform-based applications for mobile devices, the browser and desktop.

This is the first release under the Incubator of the Apache Software Foundation and represents the initial donation of Adobe Flex 4.6 by Adobe System Inc. Note that because Apache Flex is under “incubation”, Apache Flex is not an official Apache Project, and this is not an official Apache release. For more information see the DISCLAIMER file in the release.

This release marks the start of a new era for Flex. The future of Flex is now driven by the community instead of a corporation. Users can have important bugs fixed or new features added by contributing the code themselves.

Apache Flex is available in source form from the following download page:

http://incubator.apache.org/flex/download.html

When downloading from a mirror site, please remember to verify the downloads using signatures found on the Apache site:

http://www.apache.org/dist/incubator/flex/KEYS

Apache Flex release packages are different from Adobe release packages. For information on how to use Apache Flex with existing IDEs, see:

http://incubator.apache.org/flex/packager.html

For more information on Apache Flex, visit the project home page:

http://incubator.apache.org/flex/

Thank you for using Apache Flex,
The Apache Flex Community.

Adobe’s view of Flex and its commitments to Flex in the future

Wednesday, February 15th, 2012

http://www.adobe.com/devnet/flex/whitepapers/roadmap.html

Apache Flex Logo

Thursday, February 9th, 2012

Over January Apache Flex ran a competition to design a logo for the new podling and here is the winning result.

Apache Flex

Adrian Knopik & Tomasz Maciąg of Fuse Collective have done an amazing job. Thanks to everyone who entered and voted.

Congratulations to Apache Flex!.

RatingsBar

Friday, November 11th, 2011

On a recent project I was working on, another team required a ratings bar so I thought I put something together. It works very much like a Flex 4 List, but all item renderers at an index below the selectedIndex are selected. It also enables you to drag on the bar once you have click on it to change the rating given (mainly implemented for touch devices).

As with most (vote & vote please) spark components you can change the layout, renderer, skin etc.

For ease of use there is also a numRatings property that internally creates an ArrayList with the correct length to be used as a dataProvider for the component, although if required (i.e. you want custom labels etc to be shown) you can set you own dataProvider.


(right click for source).

The source can be downloaded only from our GitHub repository (only added to the Flex 4.5 lib at the moment). I’ll get it into the 4 lib and up on our Google Code repository soon.

  • ws.tink.spark.controls.RatingsBar (4.5)
  • ws.tink.spark.itemRenderers.RatingsBarItemRenderer (4.5)
  • ws.tink.spark.skins,controls.RatingsBarSkin (4.5)
  • IsoscelesTriangle Primitive

    Tuesday, November 8th, 2011

    Here’s a Flex 4+ IsoscelesTriangle primitive. If you require an equilateral triangle you can just set width or height (not both) and the primitive will calculate the other size.


    (right click for source).

    The source can be downloaded only from our GitHub repository (only added to the Flex 4.5 lib at the moment). I’ll get it into the 4 lib and up on our Google Code repository soon.

  • ws.tink.graphics.utils.IsoscelesTriangleUtil
  • ws.tink.spark.primitives.IsoscelesTriangle (4.5)
  • Annulus Primitive

    Monday, November 7th, 2011

    Here’s a Flex 4+ Annulus primitive. You can specify the width and height (width, height), the hole width and hole height (holeWidth, holeHeight) and the amount the position of the hole should be offset from the center (holeOffsetX, holeOffsetY).


    (right click for source).

    The source can be downloaded only from our GitHub repository (only added to the Flex 4.5 lib at the moment). I’ll get it into the 4 lib and up on our Google Code repository soon.

  • ws.tink.spark.primitives.Annulus (4.5)
  • EllipticalPolygon Primitive

    Friday, November 4th, 2011

    Here’s a Flex 4+ EllipticalPolygon primitive. You can specify the width and height of the ellipse that the polygon will be drawn around (width, height) and number of sides (numSides).


    (right click for source).

    The source can be downloaded only from our GitHub repository (only added to the Flex 4.5 lib at the moment). I’ll get it into the 4 lib and up on our Google Code repository soon.

  • ws.tink.graphics.utils.EllipticalPolygonUtil
  • ws.tink.spark.primitives.EllipticalPolygon (4.5)
  • Star Primitive

    Thursday, November 3rd, 2011

    Here’s a Flex 4 Star primitive that is drawn based on outer and inner ellipses. You can specify the width and height of the outer ellipse (width, height), the width and height of the inner ellipse (innerWidth, innerHeight) and the number of points (numPoints).


    (right click for source).

    The source can be downloaded only from our GitHub repository (only added to the Flex 4.5 lib at the moment). I’ll get it into the 4 lib and up on our Google Code repository soon.

  • ws.tink.graphics.utils.StarUtil
  • ws.tink.spark.primitives.Star (4.5)
  • CoverflowLayout

    Friday, July 22nd, 2011

    Here’s a coverflow navigator layout for spark.

    It supports virtual layout by either…

  • 1. Set the the numUnselectedElements property which defines how many elements are shown either side or the selected element.
  • 2. If numUnselectedElements has a value less than 0, the selected element is used to calculate the number of elements required to fill rectangle defined by the unscaledWidth and unscaledHeight. Note: this calculation uses the bounds of the selected element, and therefore if your elements are different sizes this could prove to be incorrect.
  • Below is an example with a NavigatorGroup (bindable to a ButtonBar) and List (items can be selected by clicking on them), and some controls to edit the properties of the layout.

    (more…)

    MenuBar

    Friday, July 15th, 2011

    Here’s a MenuBar component for spark that takes an IList as a dataProvider (this can be a hierarchical list to build the menu).

    The selectedIndices, selectedItems methods have been overridden so that they return the hierarchical selection, so for instance if you if selectedIndices has a value of 1,2,4 it means that at the root level, the second item has been selected (starts at 0), the third item within this has been selected and the fifth item within this has been selected.

    It has a selectedLabels getter (i’ll add a setter very soon) that will return the labels of the selected hierarchical items. These strings can be used to show a breadcrumb trail

    It has 2 other properties worth nothing. allowBranchSelection defines whether a branch can be selected, or whether only leaf nodes can cause selection to take place and closeOnSelection which defines whether the menu should close after a selection has been made.

    (more…)