incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Arthur <dougart...@gmail.com>
Subject Re: Stubbing playerglobal.swc API
Date Mon, 30 Jan 2012 15:20:17 GMT
On Mon, Jan 30, 2012 at 1:36 AM, Dirk Eismann <bortsen@googlemail.com> wrote:
> 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.

Not sure we want to do that with a moving target. Since we don't own
playerglobal.swc, we should not try to replicate it.

My 2 cents.
- Doug

Mime
View raw message