• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1403
  • Last Modified:

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.
1 Solution
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.

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now