1 Reply Latest reply on Jun 8, 2010 8:52 AM by David_F57

    Custom component fails inside viewstack

    invisibleBlade Level 1

      Hi all,

      I have a custom MXML Component that extends HSlider. It has been working fine but I am now trying to use it inside a ViewStack and it is failing.

      In my ViewStack I have 3 Canvas' each with a VBox in side into which I am placing a load of elements including my custom slider. On the first state of the ViewStack the slider works fine but in subsequent states it is dead and cant be interacted with. Normal HSliders work fine as do all other components.

       

      I assume that this is something to do with the way child objects of a viewstack are initialised but I can't find a fix and I have a deadline looming.

      If anyone can offer any insights in to this it would be really, really handy and might save me a late night.

       

      Thanks in advance