flex-users / flexlib

Open Source Flex components library.
github.com/flex-users/flexlib
MIT License
204 stars 91 forks source link

Scheduling components do not display properly when instantiated from ActionScript #336

Open nicoulaj opened 13 years ago

nicoulaj commented 13 years ago

Originally filed by michaelk...@gmail.com on 2010-11-11T14:37:43

What steps will reproduce the problem?

  1. Create instances of ScheduleViewer and Timeline, and set all relevant properties, from ActionScript instead of from MXML.

Expected output: All components display properly. Actual condition: Zoom is not displayed properly, Timeline EntryRenderers are disregarded, and Entries on the timeline do not show up at all.

What version of the product are you using? On what operating system? Flexlib 2.5 on Flex 3.5, Windows 7.

Please provide any additional information below: I believe the problem has to do with the components being "built improperly" for use from ActionScript. See the last comment on the following website to understand what I mean: http://stackoverflow.com/questions/423070/flex-3-must-i-add-components-before-setting-their-attributes-when-using-as3