I have a set of viewstates that are used many times.  When the view
state is changed, I would like the child to "reset" its view.  I would
like the child to know when it is "revealed" due to the state change of
the parent.  It seems that the child does not know when the parent
changes view states at all so the only way I could do this would be to

 

1)      Have the controller that changes states reset the child

2)      Have the child register for the viewstate ENTER_STATE event on
its parent 

 

I've tried capturing hide/show/render on the child, but none of those
"fit"  What does flex actually do to children when they are no visible
due to a "remove child" in a state, I would have assumed that they would
be hidden but that doesn't seem to be the case and digging through the
viewstate and addchild code of the sdk its not obvious to me what a
state change really does under the covers to hide or reveal a  set of
children.

 

 

...........................................

> b l u e t u b e i n t e r a c t i v e.

.: Development solutions for creatives :.

.: grant davies

.: 404.428.6839 (c)

.: 404.921.9550 (F)

> [EMAIL PROTECTED]

http://www.bluetube.com/bti <http://www.bluetube.com/bti> 

 

<<image001.jpg>>

Reply via email to