ASTRA 1.3 Release
Posted in "General" at 1:00 pm on August 18, 2008 by Alaric Cole |Well, boys and girls, the time has come for an update to those lovely ASTRA components. This update fixes a few issues we’ve discovered through your valiant efforts and a whole lot of coffee.
It also introduces a fancy new CS3 component in the mix called Carousel. This is a highly reconfigurable component that lets you page through a small set of data, display it like a flat list (but with animation…), or even use it like a navigation control. Due to its ability to accept multiple types of layouts, the uses are endless.
In this Astra-Flex release:
AutoCompleteManager
- Bug fix: Custom
labelFunctionreplacement - Bug fix: Fixed error with custom data provider and
autoFillset to true
In this Astra-Flash release:
Charts
- Added support for rotating axis labels. See new styles
horizontalAxisLabelRotationandverticalAxisLabelRotation. The font used by the axis labels must be embedded for rotation to work. - Added support for alternating fill colors between grid lines.
- Added support for marker labels on PieSeries. Default is percentage values. May be customized with
labelFunctionproperty. - Added
showAreaFillandareaFillAlphaproperties to LineSeries. Allows the creation of an “area chart”. The color automatically matches the line, but the alpha may be used to create a contrast. - Refactored axis code to seperate the axis from the axis renderer. Required minor API changes where some axis properties are now axis renderer styles. Also, all axis-related classes are now in the
com.yahoo.astra.fl.charts.axes.*package. May require minor code changes to imports. - New styles on CartesianChart include
verticalAxisStyles,horizontalAxisStyles,verticalAxisGridLinesStyles, andhorizontalAxisGridLinesStyles. These are complex Objects that contain all the style data to pass to the axis or grid lines renderers. Since the charts now support custom axis renderers, a way to pass in arbitrary styles not supported by the default renderers was needed.Additionally, new functionssetVerticalAxisStyle(),setHorizontalAxisStyle(),setVerticalAxisGridLinesStyle()andsetHorizontalAxisGridLinesStyle()allow developer to set individual styles on the axes and grid lines.Note: The old styles exposed on CartesianChart are still available in order to support legacy style code, but they should be considered deprecated. The deprecated styles may be removed in the future. Hypothetical new styles that are added in the future to the default renderers will likely be exposed only through the new complex style objects and the new style setter functions. - New interfaces IStackingAxis and IStackedSeries provide support for stacking. NumericAxis and TimeAxis now support stacking with supported series as long as
stackingEnabledis set to true on the axis. - New Chart Types: StackedColumnChart and StackedBarChart.
- Bugfix: Series will throw an error if it redraws before massaging an Array of Number values with proper category data.
TabBar
- Added
selectedTextFormatstyle. - New Example: User Settings with TabBar Navigation.
- New Example: Search Form with Tabs.
Tree
- Bug fix: Enabled dynamic TextField resizing for tree cell labels.
- Bug fix: Corrected indexing issues in LeafNode.as
Why not head over to the Yahoo! Flash Developer Center and grab an updated copy of those Flash components or Flex components?
Share: on Yahoo! My Web | on del.icio.us | digg it! | reddit!
8 Comments »
RSS feed for comments on this post. TrackBack URI
Leave a comment

Copyright © 2007 Yahoo! Inc. All rights reserved. Privacy Policy - Terms of Service
Powered by WordPress on Yahoo! Web Hosting.

what’s happend with the pages about carousel component? sometimes dosen’t work
Comment by freddy — August 22, 2008 #
Hi i just downloaded the Astra Flash Components, i worked with astra 1.2 release aswel.
1) the zip i downloaded is still named 1.20 also if it has some more examples.
2) try NewTreeFunctionally example, please
change this:
[CODE]
var dp:XML =
[/CODE]
to this:
[CODE]
var dp:XML =
[/CODE]
and you will have this:
[QUOTE]
RangeError: DataProvider index (2) is not in acceptable range (0 - 1)
at fl.data::DataProvider/fl.data:DataProvider::checkIndex()
at fl.data::DataProvider/addItemAt()
at com.yahoo.astra.fl.controls.treeClasses::LeafNode/drawNode()
at com.yahoo.astra.fl.controls.treeClasses::RootNode/addChildNodeAt()
at com.yahoo.astra.fl.controls.treeClasses::BranchNode/addChildNode()
at com.yahoo.astra.fl.controls.treeClasses::TreeDataProvider/::parseXMLNode()
at com.yahoo.astra.fl.controls.treeClasses::TreeDataProvider/::createTreeFromXML()
at com.yahoo.astra.fl.controls.treeClasses::TreeDataProvider/com.yahoo.astra.fl.controls.treeClasses:TreeDataProvider::getDataFromObject()
at fl.data::DataProvider$iinit()
at com.yahoo.astra.fl.controls.treeClasses::TreeDataProvider$iinit()
at NewTreeFunctionality_fla::MainTimeline/NewTreeFunctionality_fla::frame1()
i thought the leafe issue for tree is fixed, or did i downloaded an older version?
next tree issue, same example…
try changing this
to this:
hum, doesent seem to be fixed either, i hope i just downloaded an older version:).
greetz Sascha
Comment by Sascha Sauren — August 22, 2008 #
irgs… ok in shorter an whitout code.
1) when u download, the filename is stil… 1.20 is that correct?
in NewTreeFeatures (was not in the former downloads) please try 2) and 3)
2) when u put 2 leafe nodes directly under the rootnode u will receive the dataprovider error also if it is a valid xml
3) type in an extralong labelname for one node so that the horizontalScrollPolicy should be true(ON) if set to auto , and u will see there is no horizontal scrollbar.
did i downloaded an older version?
greetz sascha ,
and sorry for the aove posting… thought the xhtml would render the code to text.
Comment by Sascha Sauren — August 22, 2008 #
hi good work ,i want to say ,can you add a datechooser ,you know there is none in cs3,i hope ican see in next update
Comment by cui yang — August 29, 2008 #
We’ve checked and double-checked the links, and all is well. I’m assuming there is a caching problem. I recommend clearing your browser cache and trying again.
Comment by Alaric Cole — September 2, 2008 #
Hi i am getting the same problem with the range error. You can try this to get the error:
on NewTreeFunctionality.fla
put the whole “My Fish” node under “Tuna” node. Run it and if you open My Fish/Small Fish/Clownfish then close My Fish and open it again you will get the error.
dp should be like:
var dp:XML =
——–
This other wont get the range error but will display the nodes incorrectly opening the same sequence as described before.
var dp:XML =
Comment by LK — October 30, 2008 #
here are the dp, just replace [ to
var dp:XML =
[node label="Root node"]
[node label = "Fun Fish"]
[node label = "Goldfish"/]
[node label = "Snapper"/]
[node label = "Starfish"/]
[/node]
[node label = "Big Fish"]
[node label = "Shark"/]
[node label = "Manta"/]
[/node]
[node label = "Tuna"]
[node label = "Tuna"/]
[node label = "Yellow Fin Tuna"]
[node label = "YellowFin Tuna 1"/]
[node label = "YellowFin Tuna 2"/]
[/node]
[/node]
[node label = "My Fish"]
[node label = "Small Fish"]
[node label = "Clownfish"]
[node label = "Nemo" /]
[node label = "Romo" /]
[node label = "Elmo"]
[node label = "Elmo 1" /]
[node label = "Elmo 2" /]
[node label = "Elmo 3" /]
[/node]
[node label = "Demo" /]
[/node]
[node label = "Cute Fish"/]
[/node]
[node label = "Blue Fish"]
[node label = "Blue Salmon"/]
[node label = "Halibut" /]
[/node]
[/node]
[/node]
——–
var dp:XML =
[node label="Root node"]
[node label = "My Fish"]
[node label = "Small Fish"]
[node label = "Clownfish"]
[node label = "Nemo" /]
[node label = "Romo" /]
[node label = "Elmo"]
[node label = "Elmo 1" /]
[node label = "Elmo 2" /]
[node label = "Elmo 3" /]
[/node]
[node label = "Demo" /]
[/node]
[node label = "Cute Fish"/]
[/node]
[node label = "Blue Fish"]
[node label = "Blue Salmon"/]
[node label = "Halibut" /]
[/node]
[node label = "Fun Fish"]
[node label = "Goldfish"/]
[node label = "Snapper"/]
[node label = "Starfish"/]
[/node]
[node label = "Big Fish"]
[node label = "Shark"/]
[node label = "Manta"/]
[/node]
[/node]
[node label = "Tuna"]
[node label = "Tuna"/]
[node label = "Yellow Fin Tuna"]
[node label = "YellowFin Tuna 1"/]
[node label = "YellowFin Tuna 2"/]
[/node]
[/node]
[/node]
Comment by LK — October 30, 2008 #
Hello. I was wondering if anyone from the Astra team is going to be at Adobe MAX 2008? We’ve been using Astra and would love to meet up with fellow Atra folks.
Comment by Paul Rnagel — November 14, 2008 #