Here’s the full path to the topic:

Building and Deploying Flex 2.0 Applications > Building and Deploying Flex Applications > Improving Startup Performance > Creating deferred components

 


From: [email protected] [mailto:[email protected]] On Behalf Of Tracy Spratt
Sent: Wednesday, May 31, 2006 8:43 PM
To: [email protected]
Subject: RE: [flexcoders] setting a property on a textfield not initialy shown yet

 

Since creationPolicy is none by default, you will want to manually force the creation of the children you need. I haven’t done this in 2.0, so I can just point you to the docs: Using the createComponentFromDescriptor() method

 

Tracy

 


From: [email protected] [mailto:[email protected]] On Behalf Of John Grden
Sent: Wednesday, May 31, 2006 8:22 PM
To: [email protected]
Subject: [flexcoders] setting a property on a textfield not initialy shown yet

 

I have a textfield I want to set the text to, but it's in a viewStack index that doesn't show until I change the index or click on the buttons.  After going to the textfield one time, setting the text is fine.  But it's the first time ;)

Based on user action, I want to force the viewStack to change (that I can do no problemo), and set the text on the next line.  What do I need to do to initialize() that sucker so I can do this?  wHen I trace it out, it's null and initialize() isn't even a method I can call.

any ideas on what to do?

Tanks!

--
John Grden - Blitz



--
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
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to