Clearing Stage focus

How do i clear the stage focus in ActionScript 2.0 I got this code here as

this.stage.focus = null;

This isn't working

What i want to do is lets say I have focused to a text area and i roll out of the loaded swf i want to clear the focus of the externally loaded swf.
Who is Participating?
blue-genieConnect With a Mentor Commented:
hello, first of all, in AS2 you'd use Stage, not stage.
but i'm not sure if its a syntax issue.
you might want to rather explicitly set the focus to something else so that your swf file loses focus.
you could probably use listeners, but it all depends how that externally loaded swf was loaded.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.