Creationpolicy all should work.  Post the stacktrace of the error and related 
code.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.<http://www.adobe.com/>
Blog: http://blogs.adobe.com/aharui

From: [email protected] [mailto:[email protected]] On Behalf 
Of akn_carnage
Sent: Tuesday, February 10, 2009 2:10 AM
To: [email protected]
Subject: [flexcoders] ViewStack Problem


Hi everyone,

I am creating a viewstack dynamically in actionscript and adding a
large number of components to each view. When i try generating a pdf
of each child in a viewstack i am getting an exception but if i acess
each child through the UI and then generate the pdf it works.

I understand that this is because of the deferred instantiation
property of viewstack. Is there any way to access all the children
without viewing it manually? I even tried putting the creation policy
to "all" but still no change.

Please help.

Anil

Reply via email to