quote:I was using "this" then i started using "_root"
It sounds like a scope issue. Are you using “_root” anywhere in that class file?
quote:I'm creating an instance of it from at runtime .It is executed from within a class's function that is attached to a movieclip. alertWindow results in null
Also how are you creating an instance of this class? Are you doing it via the symbol or timeline?