button.setClickHandler(“subjectSelectHandler”);

What i am TRYING to do is set the Click Handler of a 2004mx button to pull up a function called ‘setData’ …

button.setClickHandler(“setData”); doesnt seem to function in mx 2004… i was googiling and found that it seems i should be replacing it with a listener… something like button.addListener(setData);

but it still doesnt call the function…

what am i doing wrong??

~ Seretha :love: