PDA

View Full Version : applicationComplete in custom component?


jarmanje
10-06-2008, 07:34 PM
Hi there, i'm trying to convert my applicaiton mxml into a component mxml, so i can load it from my main file.

My problem is, before i would use applicationComplete = "getData()"

but you can't use this when you load a component.

How can i tell getData() to load as soon as the mxml component is loaded/opened?

thanks a lot for help

dr_zeus
10-06-2008, 07:42 PM
You want the creationComplete event to do something when a specific component instance is loaded.

jarmanje
10-06-2008, 08:49 PM
thanks, works fine