On Sun, May 18, 2008 at 7:09 AM, Ernesto Casasín [EMAIL PROTECTED] wrote:
what if you use vs.dataProvider.removeItemAt(2) to remove completely
the form button from your ButtonBar, later you could add it using
vs.dataProvider.addItem(yourObject)
Sorry for the long delay response, but I have to
On Sun, May 18, 2008 at 1:01 PM, Manish Jethani
[EMAIL PROTECTED] wrote:
Wrapping the view stack children into an array of plain objects is the
only way to do that, from what I know.
Perhaps this would be cool:
ButtonBar id=buttons/
ViewStack id=vs
custom:Chart id=chart icons=/
On 5/18/08, Fiouz [EMAIL PROTECTED] wrote:
On Sat, May 17, 2008 at 6:24 PM, Manish Jethani
[EMAIL PROTECTED] wrote:
What is the reason behind throwing an error when an array of
DisplayObject is given? Why would I have to wrap my DisplayObject
instances in order to prevent this error?
On 5/16/08, Fiouz [EMAIL PROTECTED] wrote:
I'd like to specify a custom Array dataProvider to a
mx.controls.ButtonBar instead of binding it to a ViewStack instance.
I'm doing the following:
var array:Array = new Array();
array.push(chart); // chart is a DisplayObject
On Sat, May 17, 2008 at 6:24 PM, Manish Jethani
[EMAIL PROTECTED] wrote:
What is the reason behind throwing an error when an array of
DisplayObject is given? Why would I have to wrap my DisplayObject
instances in order to prevent this error?
The idea was to prevent you from doing this:
Hi,
what if you use vs.dataProvider.removeItemAt(2) to remove completely
the form button from your ButtonBar, later you could add it using
vs.dataProvider.addItem(yourObject)
holpe it helps
It's unfortunate that it is prevented though, as my goal was to
selectively display ViewStack
Hi,
I'd like to specify a custom Array dataProvider to a
mx.controls.ButtonBar instead of binding it to a ViewStack instance.
I'm doing the following:
var array:Array = new Array();
array.push(chart); // chart is a DisplayObject instance
array.push(grid); //
7 matches
Mail list logo