Flash: Am i totally misunderstanding Event Listening?

Posted by Kohan on Stack Overflow See other posts from Stack Overflow or by Kohan
Published on 2010-03-15T15:10:38Z Indexed on 2010/03/15 15:19 UTC
Read the original article Hit count: 242

Filed under:
|
|

I don't know why but i am having trouble getting my head round event dispatching.

Take this for example.

someClass():Void{

    this.addEventListener("onChange",someObj);

}

Am i right in assuming this means that someClass is listening for an onChange event and when it gets it, it is then going to fire the onChange method on someObj?

Thanks, Kohan.

© Stack Overflow or respective owner

Related posts about flash

Related posts about as2