Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A949D98C7 for ; Mon, 30 Jan 2012 08:37:40 +0000 (UTC) Received: (qmail 68931 invoked by uid 500); 30 Jan 2012 08:37:40 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 68535 invoked by uid 500); 30 Jan 2012 08:37:30 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 68512 invoked by uid 99); 30 Jan 2012 08:37:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jan 2012 08:37:23 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bortsen@googlemail.com designates 209.85.212.175 as permitted sender) Received: from [209.85.212.175] (HELO mail-wi0-f175.google.com) (209.85.212.175) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jan 2012 08:37:17 +0000 Received: by wibhq7 with SMTP id hq7so2951742wib.6 for ; Mon, 30 Jan 2012 00:36:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=WxXah7S0Tlpkmn/h7AFI5Fq7x9UPd0/gO2qvIqTqPak=; b=nZZaeeUPxPeqQY4oiX+Ez7bwQeSFWi9watKc9Eh92EIxhsaCDiQ3IIgQfQ71kbZ+2w 4Ko5JVxSkReslaxtJmXn097pPBkZEALXbD30hJsvYRg2spiGRfk0NyyxKTYVsBhy322m +TAc+FjNPjSojX2xpIKe6seXMfqm+LX5/oBvA= MIME-Version: 1.0 Received: by 10.180.96.3 with SMTP id do3mr26724925wib.1.1327912616079; Mon, 30 Jan 2012 00:36:56 -0800 (PST) Received: by 10.216.0.137 with HTTP; Mon, 30 Jan 2012 00:36:56 -0800 (PST) Date: Mon, 30 Jan 2012 09:36:56 +0100 Message-ID: Subject: Stubbing playerglobal.swc API From: Dirk Eismann To: flex-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Just wondered if we could circumvent the issues with hosting and downloading playerglobal.swc by just stubbing the needed classes by using native function declarations. This way we could link against the stubbed as files and would not need to link against the swcs. E.g. for the playerglobal flash.display.DisplayObject class we'd need to stub the API in a handmade flash.display.DisplayObject class with all properties / methods marked "native" public native function get accessibilityProperties():AccessibilityProperties public native function set accessibilityProperties(value:AccessibilityProperties):void public native function getBounds(targetCoordinateSpace:DisplayObject):Rectangle; and so on. I'm sure this should work technically. Not sure about license issues, though. Dirk.