|
The behavior you're seeing is the Deferred
Instantiation feature of Flex. The point of it is to avoid creating components
until the user can see them, in order to minimize the application startup time. Setting creationPolicy="all" 'fixes'
the problem by disabling this feature. It is almost never the right thing to
do, as it causes your app to start up more slowly. You should instead write
your app in a way that works with Deferred Instantiation. Instead of trying to push data into a TextInput
before it exists, store the data in a var and then have teh TextInput
"pull" the data into itself in its 'initialize' handler, which is
guarantee to execute when the TextInput gets created. - Gordon From: if that
is the issue, you could set the container's creationPolicy to -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ |

