Hey Glen,
Yes I agree with you on how it should be, but for some reason flash
allows it the other way.
Yes I did try it the way you suggested when I first started working
on it.
That is the "text book" way. that is why I am puzzled.
I went to the source and the source isn't working. plus the whole
allowance of the malformed event listener. weird.
still doesn't work though..
**Sigh**
Karl
On Nov 20, 2009, at 4:31 AM, Glen Pike wrote:
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
Flashcoders@chattyfig.figleaf.com
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
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Karl DeSaulniers
Design Drumm
http://designdrumm.com
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders