Skip to main content
Participating Frequently
Apr 23, 2009 2:28 PM UTC
Question

where is source for playerglobal.swc?

In trying to build entirely from source code, I've come across a dependency on trunk/frameworks/libs/player/10/playerglobal.swc, but I don't see how/where that gets built.

This topic is closed to new replies. Start a new post to keep the conversation going.

21 replies

Participant
Nov 9, 2011 11:50 PM UTC

It bored me to tears to find it but here it is : https://www.adobe.com/support/flashplayer/downloads.html - at the bottom of the page.

Translate
Participant
Aug 18, 2009 7:16 AM UTC

hello matt, hello everybody

one question here: swf file format is open. is it legal to decompile playerglobal.swc and make the sources public? after all, this is trivial to do

and, steve, i guess: flex sdk can also be used to target tamarin directly (i used it in this project: http://code.google.com/p/mod-actionscript/ ), so it's "raison d'etre" can be considered a bit wider

Translate
matt_chotin
Inspiring
Aug 18, 2009 4:55 PM UTC

It's not technically in the license that you can decompile playerglobal but it shouldn't be a big deal since changing that code won't actually do anything. It's all baked into the Player, it can't be modified.

Matt

Translate
Participant
Sep 3, 2009 1:36 PM UTC

Hello,

Is it possible to create a dummy SWC which contains all the function definitions like this:

package flash.accessibility
{

import flash.display.DisplayObject;

public class Accessibility
{
     public static native function get active():Boolean;

     public static native function sendEvent(source:DisplayObject, childID:uint, eventType:uint, nonHTML:Boolean = false):void;

     public static native function updateProperties():void;

};

}

Greetings

Translate
slinaberyAuthor
Participating Frequently
Apr 24, 2009 5:45 PM UTC

http://www.opensource.org/licenses/mozilla1.1.php:

"including all modules it contains, plus any associated interface definition files, scripts used to control compilation and installation of an Executable"

sounds like a blanket prohibition for this kind of thing.

Translate
Apr 24, 2009 12:34 PM UTC

I am afraid it is a part of Flash Player 10 which is not open source (yet ).

Translate
slinaberyAuthor
Participating Frequently
Apr 24, 2009 2:53 PM UTC

Hmm, this is very problematic. In order to package this for Fedora, I need to be able to build entirely from source code, without using any pre-built non-free binaries. Is there a workaround? I have not yet delved into the source to see what exactly is the nature of the dependency on playerglobal.swc.

Translate
matt_chotin
Inspiring
Apr 24, 2009 7:51 PM UTC

Playerglobal.swc includes just the interface definitions for classes that are in the Player. The code itself is all baked into Flash Player and can't be modified. We don't provide a text version of the interface definitions as modifying it would break your code.

Matt

Translate