# Problem with onKillFocus method!

**URL:** <https://forum.kirupa.com/t/problem-with-onkillfocus-method/233941>\
**Category:** Uncategorized\
**Created:** [July 28, 2007, 2:15pm UTC](https://forum.kirupa.com/t/problem-with-onkillfocus-method/233941 "2007-07-28T14:15:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![luchezze](https://avatars.discourse-cdn.com/v4/letter/l/eb9ed0/32.png) [@luchezze](https://forum.kirupa.com/u/luchezze)\
**Post date:** [July 28, 2007, 2:15pm UTC](https://forum.kirupa.com/t/problem-with-onkillfocus-method/233941/1 "2007-07-28T14:15:39Z")

</div>

:ex: Hi! I need some help. It seams that onKillFocus dosent work in external swf file. My actionscript with the inputText are in external swf file loaded in the main swf! Anybody some clues? Thanks  
Here`s my script:

newsinput.onSetFocus = function ()  
{  
if (newsinput\_1 == “Newsletter”)  
{  
newsinput\_1 = “”;  
} // end if  
}// end function  
newsinput.onKillFocus = function ()  
{  
if (newsinput\_1 == “”)  
{  
newsinput\_1 = “Newsletter”;  
} // end if  
};

onSetFocus its workin perfect!  
Please help me as soon as possible … i have 2 build something and i dont know what to do … to start another method or i miss something pls pls pls help! 10x
