Hello,
I usually preffer clean code, so this is my problem:
I’m writing the following code in the .fla file:
var main:SmthMain = new SmthMain();
And the rest of the code is in .as files only.
I can’t seem to find a way to control the content of a window (mx 2004 component). That is asigning handlers on buttons, retrieving values from textinputs and so on.
onLoad and onComplete does not have the content fully loaded.
only onEnterFrame seems to work but this is bad coding.
I could use a sample code. Maybe from someone that really has it with AS2.0 and MX 2004 components.