PDA

View Full Version : Viewstack in a custom component 1009 error


jasonbronson@gmail.com
08-03-2009, 02:36 PM
I've been trying to find a solution to a 1009 error which I continue to get.

I tried to set the creationpolicy on the component to all and tried to set it using an event listener
vsCreateMeals.getChildAt(0).addEventListener(FlexE vent.CREATION_COMPLETE, vsCreateMeals_creation_complete);

but to no avail its a 1009 issue.

I've spent the entire weekend researching creationpolicy what it does etc.. its great that its for performance and I understand there needs to be setters/getters etc...but this just wont give.

Anyone know what else i can try to force the viewstack to be created ahead of time?

rebelheart
08-03-2009, 04:37 PM
Could you provide the code or more details on what is the viewstack part of please ?