Hi everyone, I have a question on viewstacks. I have my viewstack created on MXML with the main canvas also created in MXML.
something like: <mx:Viewstack id='myViewstack' creationPolicy='all' initialize='getOtherCanvases()'> <mx:Canvas id='mainCanvas'/> </mx:Viewstack> At initialize I call 'getOtherCanvases' function, which adds additional canvases to 'myViewstack' depending on the result I receive from my DB. My question: When I switch viewstack Index, the content of the canvas wasn't previously created and all the children jitter in place the first time I load each index. Shouldn't the "creationPolicy='all'" create all the children of the viewstack? How can I achieve this? If I create the viewstack and main canvas in actionscript, will it solve my problem? Thanks everyone. :) -David