>>You can set pointer to the question class in the button, and 
>>use it later in function .
>>Use this code in the your question class:
>>answerButton.handleBy = this;
>>answerButton.onRelease = function() { 
>>handleBy.GiveAnswer(aNum);}

That method works,  - I used to do it that way before I discovered
Delegate, but IMO is kludgier than using Delegate, as it requires the
function called to always be publically exposed, whereas Delegate does
not.

Jason Merrill
Bank of America  
Global Technology & Operations
Learning & Leadership Development 
eTools & Multimedia Team


 
_______________________________________________
[email protected]
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