trace(getDefinitionByName('mx.controls::TextInput'));
ReferenceError: Error #1065: Variable TextInput is not defined.
Enri
Is this in a SWF that's loaded into another SWF? If so see
http://richardleggett.co.uk/blog/index.php/2008/09/08/getdefinitionbyname_vs_getdefinition
On Thu, Jan 15, 2009 at 10:28 AM, enriirne enrii...@yahoo.it wrote:
trace(getDefinitionByName('mx.controls::TextInput'));
ReferenceError: Error
Also, if you do that in a SWF that doesn't actually *use* the TextInput
symbol, the class won't be compiled in. Try adding a reference to TextInput
- not just an import, you actually have to have a reference. import
mx.controls.TextInput; TextInput; should do it.
-Josh
2009/1/16 Howard Fore
3 matches
Mail list logo