Hi,
I have a TextArea component in the library.
Its Class is: fl.controls.TextArea
I add it to the stage using the addChild method.
Running it inside the flash CS4 the textArea component gets added to the stage as intended. But after publishing, the textArea component doesn’t get loaded.
What may be the problem?
The stage is blank without any textarea.
Sorry it was my mistake. Logical error.
view(); //I called directly => it works.
function view()
{
addChild(input_txt); //input text area
addChild(output_txt); //output text area
//.........
}
But earlier it was inside another function
|--getPastMemIndex()
|--shortMem()
|--view()
[COLOR=Red]But I still don’t understand why keeping view inside another function doesn’t work only after publishing AIR, but works before publishing…[/COLOR]
Flash is playing hide and seek with me!
Any idea developers?