Copy link to clipboard
Copied
Welcome to the latest AIR Runtime and SDK version 23 beta! We've been hard at work adding new features to AIR and we're looking forward to receiving feedback from our development community.
This beta release includes new features as well as enhancements and bug fixes related to security, stability, performance, and device compatibility for AIR Runtime and SDK 23. For full details, please see our release notes
While creating StageText object on iOS, a clear button option is available by default to the AS developers.
Beginning with AIR 23, a new feature has been introduced, which makes the StageText clear button optional. This provides more flexibility to the AS developers when using StageText. In the earlier versions, StageText object was created with an integrated clear button.
To implement this feature, following changes are required in the ActionScript code:
stageText.clearButtonMode
For getting access to the optional clear button support, AS developers can now use a clearButtonMode property to set different modes. There are four modes associated with this property:
By default, clearButtonMode property is set as StageTextClearButtonMode.WHILE_EDITING
Requirements
Sample snippet
You can use this example code snippet for your reference.
public function ClearButtonMode()
{
label = new StageText();
label.clearButtonMode = StageTextClearButtonMode.NEVER;
label.textAlign = "right";
label.stage = stage;
label.viewPort = new Rectangle(20, 20, 90, 90);
}
Limitations for using stageText.clearButtonMode property
Beginning with AIR 23, HiDPI support for AIR Desktop on Windows has been introduced. It allows you to provide a higher quality rendering for AIR content on HiDPI displays. This feature works on the concept of higher pixel density scaling instead of pixel-doubling scaling.
Note: HiDPI is already available for AIR on Mac Retina displays.
To implement this feature in an AIR app, the developer should set requestedDisplayResolution as high in the manifest file.
For system requirements of the current release of AIR in production, visit http://www.adobe.com/products/air/systemreqs/
To get the latest Beta build of AIR Runtime and SDK visit Adobe labs
If you would like real-time notification for announcements related to the AIR Beta Channel please follow the Flash Runtime Announcements forums by choosing "Follow this forum" from the right-hand menu on the Forums page.