javascript - Check if SWF has focus -


how can check if swf element on page has focus?

in ie, onkeydown events not detected in javascript if swf has focus firefox detects onkeydown.

detect javascript? javascript has onfocus , onblur events,

var hasfocus=false;  domelem.addeventlistener('focus', function(e){     hasfocus=true; },false);  domelem.addeventlistener('blur', function(e){     hasfocus=false; },false); 

i'm not sure how in as...


Comments

Popular posts from this blog

forms - Secure PHP File Upload Script -

c# - Regex Problems, extracting data to groups -

silverlight - SL4 - TextTrimming in DataGridRowGroupHeader -