Karl DeSaulniers wrote:
If I put this code in, I dont get the type mismatch error but it still doesn't work.

On Nov 20, 2009, at 4:03 AM, Glen Pike wrote:

colorBox.addEventListener("changeObj", Delegate.create(this,change));

Karl DeSaulniers
Design Drumm
http://designdrumm.com

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Hi,

I think part of the problem is scope, but also your first argument to addEventListener should be the event type, not the function that is called.

Did you try the call without Delegate - colorBox.addEventListener("change", changeObj); ?

   Glen
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to