Re: [Flashcoders] problem with Delegate and scope

2006-03-16 Thread Manuel Saint-Victor
Okay that cleared up a lot for me and saved me countless hours-!! Thank you! Mani On 3/16/06, Alain Rousseau <[EMAIL PROTECTED]> wrote: > > Hi Manuel, > > The thing about Delegate is that you can't just call it like that. It is > supposed to be used either with eventHandling "onSomething = " or

Re: [Flashcoders] problem with Delegate and scope

2006-03-16 Thread Manuel Saint-Victor
It definitely does. I was starting to suspect that looking at all of the examples. So I guess the only workaround for scope in my own functions is to dispatch events and have classes listen for them. Mani On 3/16/06, Alain Rousseau <[EMAIL PROTECTED]> wrote: > > Hi Manuel, > > The thing about D

Re: [Flashcoders] problem with Delegate and scope

2006-03-16 Thread Alain Rousseau
Hi Manuel, The thing about Delegate is that you can't just call it like that. It is supposed to be used either with eventHandling "onSomething = " or with setInterval, setTimeOut. Here is a link that will make you see the light http://www.osflash.org/flashcoders/as2?s=delegate So for exemple you

[Flashcoders] problem with Delegate and scope

2006-03-16 Thread Manuel Saint-Victor
I have not been having much luck with using Delegate lately. If I understand it correctly then it will call a function in the scope of the class file that it is defined -right? Well In one of my classes within this function I have the delegate being used and I'm not sure if it's because of a stup