Skip to main content
Participating Frequently
April 23, 2009
Question

where is source for playerglobal.swc?

  • April 23, 2009
  • 4 replies
  • 28276 views

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 has been closed for replies.

4 replies

New Participant
November 9, 2011

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.

New Participant
August 18, 2009

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

matt_chotin
Inspiring
August 18, 2009

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

New Participant
September 3, 2009

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

slinaberyAuthor
Participating Frequently
April 24, 2009

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.

April 24, 2009

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

slinaberyAuthor
Participating Frequently
April 24, 2009

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.

matt_chotin
Inspiring
April 27, 2009

Well, would you consider including the source? Seems like it would be sufficient to include a README file that said "this code provided for people who want to try building entirely from source, don't modify or your swfs won't work with flash player."

If it's really just a long list of interface definitions, it seems like it ought to be included for this project to be legitimately called "open source."

I will help however I can...contributing patches...please...

S.


Most of the code is actually C++ code, it's not ActionScript, it just has AS APIs exposed. So we're not including source for it at this point.

Matt