shaun wrote:
> daddyo_buckeye wrote:

[snip]

>> Any thoughts on how I can accomplish this?
> 
> As a guess..
> 
> ssPicker.open = openEvt;
> ssPicker.change = changeColor;

Whoops. Scrap that.
As Amy said, it should be using addEventListener..
Getting languages mixed up... :-/

> 
> lookup[ssPicker.id] = ssTextArea; //associate picker and text
> 
> function openEvt(event:Event){
>    var colorPicker:ColorPicker = ColorPicker(event.target);

And probably currentTarget rather than target.

- shaun

Reply via email to