I have the following problem:
I have a loaded Movie Clip on my main.fla called McContactUs.as (exporting)...
On my main.fla = Main.as
public function userRequestCheckCurrentEmailForContactForm(username:String)
trace("INSIDE CHECKING FORM...bla bla bla");
On McContactUs.as I have the following:
public class McContactUs extends MovieClip
public function McContactUs()
public function init()
I get TypeError: Error #1009:
You can see that I am calling the function on Main.as exactly at the moment the class is initialized...This is where the problem is...
If I try to call the function through a btn.addEventListener...it works just fine...but I need to call the function at the time the class/movieclip is loaded...
Any ideas and or suggestions how I can get around this without using a timer :[ ??
Thanks a lot in advance!!