private function stateChangeHandler(event:StateChangeEvent):void {
appear.play([chartsPanel]); //appear:Blur
if (event.newState == "") {
}
else if ( event.newState == "VueClient" ) {
chartsPanel.reset();
trace([ "after reset ", chartsPanel.globalDataDisplayed.length]);
}
}
private function effectEndHandler(event:EffectEvent):void {//called when appear ends
if ( event.effectInstance.effect == appear)
if ( currentState == "VueClient" )
trace(["after appear ", charts.Panel.length]);
}
chartsPanel.reset() basically do :
globalDataDisplayed = new ArrayCollection();
And the console output is :
after reset ,0
after appear ,1
Any idea of what could cause this ?
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

