changing format of text - can't!!!
i have textfield inside mc. when roll on event triggered.
in fuction can this
and text changes - being targetted
i want change format of text thought
but, doesn't work.
it says "referenceerror: error #1037: cannot assign method settextformat on flash.text.textfield.
at index001_fla::maintimeline/overhandler()"
any pointers please
thanks
in fuction can this
code:
event.currenttarget.getchildat(0).text="fred";
i want change format of text thought
code:
event.currenttarget.getchildat(0).defaulttextformat=mtitle_fmt;
but, doesn't work.
it says "referenceerror: error #1037: cannot assign method settextformat on flash.text.textfield.
at index001_fla::maintimeline/overhandler()"
any pointers please
thanks
click file/publish settings/flash/permit debugging , retest. using line number in error message confirm error message references line of code displayed here.
More discussions in ActionScript 3
adobe
Comments
Post a Comment