If you are doing multiple anonymous functions, you might have to use the naming convention for the combo boxes and picture boxes - if you have multiple instances of these - so when you get a change event on "combo1", that's associated with "picture_box_1", etc?

Karl DeSaulniers wrote:
I think the scope is lost in the colorBox not knowing which picBox to associate itself with.

:-/

Karl

On Nov 20, 2009, at 4:16 AM, Karl DeSaulniers wrote:

it is actually colorBox.addEventListener("change", Delegate.create(this, changeObj));
just forgot the ")", but still does not work


On Nov 20, 2009, at 4:12 AM, Karl DeSaulniers wrote:

Yes. I tried both of those and nothing..
actually the one below gets an error

Error: type mismatch colorBox.addEventListener("change", Delegate.create(this, changeObj);

Karl

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

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

Karl DeSaulniers
Design Drumm
http://designdrumm.com

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

Karl DeSaulniers
Design Drumm
http://designdrumm.com

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

Karl DeSaulniers
Design Drumm
http://designdrumm.com

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



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

Reply via email to