Questions tagged [viewstack]

48 questions
4
votes
4 answers

How can I nicely animate between viewstacks

I have a little Adobe Air app and I want to have several 'views' within it. I can achieve these views using a ViewStack but am having difficulty finding a nice way to animate between them. This is what I have tried and although it works, one view…
Dan
  • 1,513
  • 1
  • 24
  • 34
4
votes
3 answers

Flex Viewstack's children, if you can't see them, do they exist?

I seem to be running into an issue (Cannot access a property or method of a null object reference) binding events in actionscript to a viewstack layer not currently showing. Are those objects not created until that layer is visible for the first…
mjard
  • 386
  • 2
  • 6
  • 12
3
votes
2 answers

Flex ViewStack With A Repeater - Repeater Gets Placed At The Bottom

I have a problem when creating a ViewStack, with a repeater along with other components (i.e. vBox) inside the ViewStack. The repeaters get placed at the bottom of the view. Despite the repeater is listed before other components, it is placed at…
Dana
  • 77
  • 1
  • 9
2
votes
3 answers

Issue getting viewState's selected child's id in flex 4

I'm transitioning a flex 3 application to flex 4. There was AS code in the flex 3 app that worked: var myCurrentSelectedChild:String = myViewStack.selectedChild.id; Now, in flash builder and flex 4.5, it throws the error - "-1119: Access of…
Steven
  • 1,949
  • 2
  • 17
  • 30
2
votes
3 answers

How to access other panels in Flex 3 ViewStack?

I have a ViewStack with 2 panels:
2
votes
1 answer

Flex 4 custom component with children inserted directly into view stack

I give up. Hopefully I am just missing something easy, but I feel like I am pulling teeth trying to get this to work. All I want is a custom 'wizard' component whose children are placed within a ViewStack and beneath the ViewStack there is a next…
Joshua
  • 295
  • 1
  • 10
2
votes
3 answers

Flex: View Stack Navigator

I have a component mxml file in which i have a view stack, on click of a button i navigate to the first child, now i need to navigate to the second child during onclick of a button present in the second child. All the childs are component files…
Deena
  • 297
  • 2
  • 7
  • 17
2
votes
1 answer

Always resize the viewStack

I'm facing one weird problem : I'm using a viewStack which have is property resizeToContent set to true. When I'm selecting a child higher than the viewStack, it's correctly resized, but when I'm selecting another child which is smaller, the…
LE GALL Benoît
  • 7,159
  • 1
  • 36
  • 48
2
votes
3 answers

Does C# winforms has a control like "ViewStack" in Flex?

In Flex there is the ViewStack component. Does C# have a similar control? If so, which? If not, how do you create similar behavior?
MysticEarth
  • 2,646
  • 4
  • 33
  • 53
2
votes
0 answers

view stack not populating its children while changing views by using togglebuttonbar

I am having a view stack I had this as a data provider to toggleButtonBar. When I run my application I can see only the view stacks Default view (Zero). If I try to change the view by clicking toggleButtonBar, the sceen will be empty. If I change…
1
vote
3 answers

adobe flex static function reference control

Is it possible to reference a control in an application from a static function? What I have is a Viewstack containing VBoxes stored in separate controls. Ex:
jay
  • 434
  • 1
  • 5
  • 25
1
vote
3 answers

Flex Question: Can I use a ComboBox in Flex to change a view stack?

I am trying to use a combobox in flex with an array to change to a canvas in a view stack. Can I do this with some custom action script? The UI I am designing could really benefit form this.
Michael Parenteau
1
vote
2 answers

How to bind effect in code in Flex

I want to add a component into a Viewstack dynamically in flex4. Like code below for(var i:int = 0; i < 3; i++) { var canvas:NavigatorContent = new NavigatorContent(); canvas.label = "XXX"; // here I want to add effect to canvas. …
user498151
  • 151
  • 1
  • 5
1
vote
3 answers

How to tell when control becomes visible for the first time?

I have a popup that contains a TabNavigator control. The tabs are dynamically added to the TabNavigator when the popup loads. Is there a good way to tell when one of the tabs is loaded, from the tab itself? I have a tab that requires a service call…
Ocelot20
  • 10,510
  • 11
  • 55
  • 96
1
vote
3 answers

How to get Flex components to fill available space using Actionscript

I was laying out my Flex components using mxml and had them working correctly. But then I wanted to switch them over to Actionscript because I wanted them to extend a base component that provides default functionality. I've go the code working…
1
2 3 4