Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

22.2. Focus Events

When an object has keyboard focus, it acts as the logical recipient of all keyboard input and becomes the target of all keyboard-input event dispatches. An object can gain keyboard focus either programmatically (via the Stage class's instance variable focus) or through user interaction, via the mouse, the Tab key, or the arrow keys. However, in order to gain keyboard focus, an object must be an instance of a class that inherits from InteractiveObject. Furthermore, in Flash Player, only one object can have keyboard focus at a time.

For brevity, the term "keyboard focus" is normally shortened to "focus."



  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial