Home > Adobe AIR | Adobe Flex > creationComplete()だとstageがnullで困る

creationComplete()だとstageがnullで困る

アプリの初期化時に stage プロパティにアクセスしたいときは多々ある。
でもApplication(メインのMXML)の creationComplete() ではまだ null で困る。



preinitialize()〜creationComplete() の時点でstageを利用できる方法を思いついたので書いてみる。



結論
systemManager.stage としてアクセスすれば良い

発見!

Comments:1

Comment Form
Mare 2010年2月27日 05:14

Hello everyone. The knowledge of the world is only to be acquired in the world, and not in a closet. Help me! There is an urgent need for sites: Who is the maker celebrex. I found only this - generic name for norvasc. Norvasc, pfizer has a minimal vogue of pain in africa. And taking the discomfort to a evidence for a such urticaria is an excess digger, norvasc. Thanks for the help :-(, Mare from Belgium.

Trackbacks:0

TrackBack URL for this entry
http://www.nankaifactory.com/blog/mt-tb.cgi/39
Listed below are links to weblogs that reference
creationComplete()だとstageがnullで困る from nankaifactory.com

Home > Adobe AIR | Adobe Flex > creationComplete()だとstageがnullで困る

HIROSSY BLOG
Feeds

Return to page top