[flexcoders] Why would this event never fire?

2008-04-20 Thread dnk
Ok, I have a controller class that has an onInit function that is fired form a class constructor. For some reason when I call a function from there, it never fires. This is a partial code snippet. // Constructor public function dirTestController() { //turn the key, start it

Re: [flexcoders] Why would this event never fire?

2008-04-20 Thread Eric Cancil
I don't think your onInit function ever fires - what does your controller class extend? On Sun, Apr 20, 2008 at 10:51 PM, dnk [EMAIL PROTECTED] wrote: Ok, I have a controller class that has an onInit function that is fired form a class constructor. For some reason when I call a function

Re: [flexcoders] Why would this event never fire?

2008-04-20 Thread Eric Cancil
If it doesnt extend from uicomponent then youll never get a creationcomplete event On Sun, Apr 20, 2008 at 10:57 PM, Eric Cancil [EMAIL PROTECTED] wrote: I don't think your onInit function ever fires - what does your controller class extend? On Sun, Apr 20, 2008 at 10:51 PM, dnk [EMAIL

Re: [flexcoders] Why would this event never fire?

2008-04-20 Thread shaun
dnk wrote: Ok, I have a controller class that has an onInit function that is fired form a class constructor. For some reason when I call a function from there, it never fires. This is a partial code snippet. // THIS NEVER FIRES getDirectoryData(); } Missing event