Recipe 22.6. Overriding the Default Active Button StateProblemYou want to disable the yellow border that appears around the active button on the stage. SolutionGive the button an empty Over frame or set the _focusrect property to false. DiscussionBy default, the Flash Lite player will draw a two-pixel yellow border around the active button, providing a visual cue as to which button is active. This behavior may be desirable for simple applications, but in many cases you will want to retain artistic control and design your own visual indicator for the active button. There are two ways to disable this automatic yellow border:
|
Tripod >> 3pod Tips & Learning and manuals for educations