Finally an extra that can detect if shockwave windows is focused!
http://www.director-xtras.com/xtra-enhancer.html