Re: [Flashcoders] dispatch event in 8

2005-10-18 Thread Alain Rousseau
Hi Amir, I believe you have a scope problem here. The compiler doesn't know wich object is dispatching the event. You should use your dispatcher object or instance to call that method. Also you now need to initialize your dispatcher object to the EventDispatcher class for exemple : impor

[Flashcoders] dispatch event in 8

2005-10-18 Thread Amir Cicak
Hello, after upgrading to flash 8 following line does not dispatch event anymore: dispatchEvent({type:"klik", target:this, link:Tekst}); It works ok in flash 7. Anyone knows what could be the problem? I made component and this code is in components class. Are there some new things I need to watc