Well, what I understand about the Delegate class, is that you can“t send any parameter through the Delegate.create method, any parameter you want to pass, must be send by the event.

btnCollection.onRollOver = Delegate.create(this, btnRollOver);


In this case the delegate will send to the btnRollOver function only the parameters of the event onRollOver. You will have to find another way to solve this problem... maybe extend the MovieClip class, or maybe it could be better to not use the delegate.

I hope this could help.
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to