From commits-return-4508-archive-asf-public=cust-asf.ponee.io@royale.apache.org Wed Jun 13 07:13:12 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id A0630180609 for ; Wed, 13 Jun 2018 07:13:11 +0200 (CEST) Received: (qmail 59530 invoked by uid 500); 13 Jun 2018 05:13:10 -0000 Mailing-List: contact commits-help@royale.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@royale.apache.org Delivered-To: mailing list commits@royale.apache.org Received: (qmail 59521 invoked by uid 99); 13 Jun 2018 05:13:10 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jun 2018 05:13:10 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 04AF28079D; Wed, 13 Jun 2018 05:13:10 +0000 (UTC) Date: Wed, 13 Jun 2018 05:13:09 +0000 To: "commits@royale.apache.org" Subject: [royale-asjs] branch feature/MXRoyale updated: Update Container.as MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <152886678994.4264.8130487671007507454@gitbox.apache.org> From: alinakazi@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: royale-asjs X-Git-Refname: refs/heads/feature/MXRoyale X-Git-Reftype: branch X-Git-Oldrev: d4b5637c42b85f6a9669cd680d266a11a471ded4 X-Git-Newrev: e0424bcee093bf9283ddb406d982e9340d88b5b2 X-Git-Rev: e0424bcee093bf9283ddb406d982e9340d88b5b2 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated This is an automated email from the ASF dual-hosted git repository. alinakazi pushed a commit to branch feature/MXRoyale in repository https://gitbox.apache.org/repos/asf/royale-asjs.git The following commit(s) were added to refs/heads/feature/MXRoyale by this push: new e0424bc Update Container.as e0424bc is described below commit e0424bcee093bf9283ddb406d982e9340d88b5b2 Author: alinakazi AuthorDate: Wed Jun 13 10:12:57 2018 +0500 Update Container.as --- .../MXRoyale/src/main/royale/mx/core/Container.as | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/core/Container.as b/frameworks/projects/MXRoyale/src/main/royale/mx/core/Container.as index 44aadce..1482ceb 100644 --- a/frameworks/projects/MXRoyale/src/main/royale/mx/core/Container.as +++ b/frameworks/projects/MXRoyale/src/main/royale/mx/core/Container.as @@ -1265,7 +1265,22 @@ public class Container extends UIComponent removeElementAt(i); } } - + /** + * Removes all children from the child list of this container. + * + * @langversion 3.0 + * @playerversion Flash 9 + * @playerversion AIR 1.1 + * @productversion Flex 3 + */ + public function removeAllChildren():void + { + while (numChildren > 0) + { + removeChildAt(0); + } + } + /** * Removes a child DisplayObject from the child list of this Container * at the specified index. -- To stop receiving notification emails like this one, please contact alinakazi@apache.org.