Is there nobody out there who can help or should I specify my question a bit 
more?

Hello,
I'd like to change the "selectedIndex" property of a ColumnChart series 
programmatically.
Cause doing this programmatically no "change" event is fired and I have to call 
the 'change' event handler manually.
The problem is, that the "selectedIndex" property is not updated immediately, 
seems that it's queued?
Can anybody help?

public function onReverseClick(event:Event):void {
        trace(series1.selectedIndex);   // selectedIndex= 10
        series1.selectedIndex -= 1;  // Is not updated immediately, is it 
queued?
        trace(series1.selectedIndex);  // 9 expected but it's still 10

        // Cause no change event is fired we have to call the event handler 
manually
        onSelectionChanged();
}


public function onSelectionChanged():void {
        trace(series1.selectedIndex); // 9 expected but selectedIndex is still 
10, is not updated at this time :-(

        // Do something
        // ...
}

Thanks,
Olaf


Meet Edscha at IZB in Wolfsburg,
14.10.-16.10.2014; Hall 7, Stand 7219!
[Meet Edscha at IZB; Hall 7, Stand 7219!]<http://www.izb-online.com/>

________________________________

Edscha Holding GmbH
Sitz der Gesellschaft: Remscheid
Registergericht: Wuppertal, HRB 22889
Geschäftsführung: Francisco J. Riberas Mera, Francisco López Peña, David 
Vázquez Pascual, Torsten Greiner, Markus Kirchner, Hans-Peter Schulz und Volker 
Weiss

Vertretungsberechtigt sind nur Geschäftsführer und schriftlich Bevollmächtigte.

Solely Managing Directors or employees with a written proxy have got power of 
representation.

Der Inhalt dieser E-Mail einschließlich etwaiger beigefügter Dateien ist 
vertraulich und nur für den Empfänger bestimmt. Sollten Sie nicht der 
bestimmungsgemäße Empfänger sein, ist Ihnen jegliche Offenlegung, 
Vervielfältigung, Weitergabe oder Nutzung des Inhalts untersagt. Bitte 
informieren Sie in diesem Fall unverzüglich den Absender und löschen Sie die 
E-Mail einschließlich etwaiger beigefügter Dateien von Ihrem System. Vielen 
Dank.

The contents of this e-mail including any attachments are confidential and may 
be legally privileged. If you are not the intended recipient, any disclosure, 
copying, distribution or use of its contents is strictly prohibited, and you 
should please notify the sender immediately and then delete this e-mail 
including any attachments from your system. Thank you.

Reply via email to