No Igor, it’s not what I want, what I want is to add a control Bar in the new
state.
If you take a look at my code, from initial state to the newstate, I add a
ControlBar to Panel1 and a button to the controlBar.
For now I have a workaround, creating a controlBar in my initial state with no
button but I would consider this as a bug since It’s not possible to create a
controlBar inside a panel with states.
João Fernandes
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Igor
Costa
Sent: 08 January 2007 14:48
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Possible bug introduced in 2.0.1
Isn't a bug or something related to.
I did some wrong way or the Design mode did.
Here's a re-done code of yours, I used the Design mode too.
http://www.adobe.com/2006/mxml"; layout="absolute">
Regards.
On 1/8/07, João Fernandes <[EMAIL PROTECTED]> wrote:
Hi there,
I was using states to introduce a controlBar inside a panel but once I switch
states, my buttons are not positioned correctly but somewhere else.
Here is a small code to reproduce the problem. This code was generated with
design view.
If you click on the first button to switch states, you'll see that the control
bar is not positioned at the bottom of the panel.
http://www.adobe.com/2006/mxml"; layout="absolute">
Can anyone confirm this?
João Fernandes
--
Igor Costa
www.igorcosta.org
www.igorcosta.com
skype: igorpcosta