Originally filed by flexib...@gmail.com on 2010-12-29T14:07:15
What steps will reproduce the problem?
Create (trougth a loop)Array that contain SimpleScheduleEntry (startDate,endDate,label).
Create (trough a loop) ScheduleViewer.
Assigne Array[n] to ScheduleViewer[n] via ScheduleViewer.dataProvider = new ArrayCollection(array).
What is the expected output? What do you see instead?
Output is n scheduleViewer with entry.
Instead: Nothing Appear inside any schedule.
What version of the product are you using? On what operating system?
Flexib Schedule 2.5 for flex3 on Windows XP
Please provide any additional information below.
I've tried exactlly the same code with list instead of ScheduleViewer and all data are displayed in there respective list.
The logic is :
private function render ():void {
/*_scheduleStack contains object that old scheduleViewer(obj.view) and Array with entries (obj.data)*/
for each (var obj:Object in _scheduleStack){
/*Don't work but when tracing dataProvider.length it display the right value*/
(obj.view as ScheduleViewer).dataProvider = new ArrayCollection(obj.data);
_scheduleContainer.addChild(obj.view as DisplayObject);
//Work exactlly as expected
var l:List = new List()
l.dataProvider = new ArrayCollection(obj.data);
_scheduleContainer.addChild (l)
}
Originally filed by flexib...@gmail.com on 2010-12-29T14:07:15
What steps will reproduce the problem?
What is the expected output? What do you see instead? Output is n scheduleViewer with entry. Instead: Nothing Appear inside any schedule.
What version of the product are you using? On what operating system? Flexib Schedule 2.5 for flex3 on Windows XP
Please provide any additional information below. I've tried exactlly the same code with list instead of ScheduleViewer and all data are displayed in there respective list.
The logic is :
private function render ():void {
}