ModifyMe
asked on
Event.CHANGE not doing what I expected.
REOPENED QUESTION:
Well, for some reason I still cannot get it to work. I have a textbox (tb1) that gets text from an XML dynamically. I want a different textbox (tb2), in the same swf, to display the same on-the-fly text as tb1. Below is the code I am using which does not work.
Any help to fix this would be greatly appreciated.
Well, for some reason I still cannot get it to work. I have a textbox (tb1) that gets text from an XML dynamically. I want a different textbox (tb2), in the same swf, to display the same on-the-fly text as tb1. Below is the code I am using which does not work.
tb1.addEventListener(Event.CHANGE, texter);
function texter(event:Event):void
{
tb2.text = tb1.text;
}
Any help to fix this would be greatly appreciated.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You may need to provide more code, or the source FLA so we can track down the issue.
ASKER
I got it to work, the EventListener was on the wrong object...my bad.