Link to home
Start Free TrialLog in
Avatar of ModifyMe
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.

tb1.addEventListener(Event.CHANGE, texter);
function texter(event:Event):void
{
	tb2.text = tb1.text;
}

Open in new window


Any help to fix this would be greatly appreciated.
ASKER CERTIFIED SOLUTION
Avatar of conagraman
conagraman
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You may need to provide more code, or the source FLA so we can track down the issue.
Avatar of ModifyMe
ModifyMe

ASKER

I got it to work, the EventListener was on the wrong object...my bad.