Flex应用程序启动时调用的方法 [英] Method called when flex application starts
本文介绍了Flex应用程序启动时调用的方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我必须在flex移动应用程序启动时实例化一个变量。应用程序启动时调用的第一个方法是什么?
I must instantiate a variable when flex mobile application starts. What is the first method called when application starts ?
推荐答案
您必须为初始化
应用程序
类的事件。这将是您可以处理的第一个事件,因为Application
实例是Flex应用程序中创建的第一个对象。有关详细信息,请访问此处 [ ^ ](当然还有谷歌)
You'll have to register a handler for theinitialize
event of theApplication
class. That'll be the first event you can handle, as theApplication
instance is the first object created in a Flex application. More information can be found here[^] (and of course in Google)
这篇关于Flex应用程序启动时调用的方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文