A simple example of creating auto-repeat Button controls that dispatch the buttonDown event as long as the user is pressing the button.
Archive for August 8th, 2007
There are a lot of times when you may want to know what version of the Flash Player plug-in your visitors are using. Or perhaps you want to know their screen resolution, operating system, language, whether they have accessibility or an IME. Finding all this out is simple thanks to the Flash Player’s flash.system.Capabilities class.
The following application will show how you can grab all the capabilities of the user’s Flash Player and display them in an easy-to-read DataGrid control.
Full code after the jump.
Probably not too surprising to anybody, but you can easily control the location of an icon within a Button control by setting the button’s labelPlacement property.
Full code after the jump.
Continue reading ‘Positioning an icon within a button using the Button.labelPlacement property’




