Hi,

I'm fixing List selectedIndex when the user predefines a selectedIndex in
MXML.

The problem was that renderers are not still created when the list tries to
select the right item.

I'm listening to "itemsCreated" event, and all is working right :)

But...I have a side problem:

When the selectedItemChangeHandler runs it finally dispatch a CHANGE event.

This means the App code runs an event handler to assign the selectedItem
text to a Label.

The problem is the label is still not created at that time what throws an
error.

So, two questions here:

a) Is ok to dispatch the CHANGE event for a preselected index?

b) when I can ensure other components are created in Royale from a
component design point of view so I can dispatch the change event at proper
time.

Thanks



-- 
Carlos Rovira
http://about.me/carlosrovira

Reply via email to