00:00
00:00
Newgrounds Background Image Theme

piratefmxo just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

What is the legality of the old flash C API?

80 Views | 4 Replies
New Topic

Macromedia back in the day, made a C (also applicable to C++) API to extend the IDE to use with JSFL, a shared library (.dll on windows) for flash mx 2004 and flash 8 (For flash 8, it would be the "extending flash" PDF). Adobe kept it around for flash CS3-6, I think it's still around today. But what is the legality of public projects that use it? That's what confuses me greatly.


I'm seeing conflicted reports you can't distribute the header file (mm_jsapi.h), or that you can't license your code in a GPL like license. Yet I can't find a source that says you're restricted on source distribution. So which is it? Would adobe take legal action for using a header file they (along with macromedia) publish to the public in the macromedia/adobe documentation you can easily get online through the internet archive?


"I don't want excuses. I want results."

~Skipper


Click here to see my art and animation thread postings. Just a note that some of it might be NSFW.

BBS Signature

Response to What is the legality of the old flash C API? 2026-01-15 13:04:07


At 1/15/26 08:53 AM, xeiavica wrote:Macromedia back in the day, made a C (also applicable to C++) API to extend the IDE to use with JSFL, a shared library (.dll on windows) for flash mx 2004 and flash 8 (For flash 8, it would be the "extending flash" PDF). Adobe kept it around for flash CS3-6, I think it's still around today. But what is the legality of public projects that use it? That's what confuses me greatly.

I'm seeing conflicted reports you can't distribute the header file (mm_jsapi.h), or that you can't license your code in a GPL like license. Yet I can't find a source that says you're restricted on source distribution. So which is it? Would adobe take legal action for using a header file they (along with macromedia) publish to the public in the macromedia/adobe documentation you can easily get online through the internet archive?


headers and APIs are copyrighted, but their copyright cannot be enforced anymore in USA due to fair use, see landmark case https://en.wikipedia.org/wiki/Google_LLC_v._Oracle_America,_Inc.

regarding GPL, if you produce a DLL from GPL code, its license's viral nature doesn't spread across the barrier of dynamic function loading (NOT dynamic linking), which would be the mechanism the Flash IDE would use to extract behavior from the DLL in order to realize the extension. I have not read the GPL texts in a long time, so I'm unable to pinpoint this precisely. but I believe that yes, an extension for Flash IDE delivered as GPL'd DLL is legal

software licensing is really messy, your best bet to obtain answers is to analyze historical landmark cases, and read opinions of several lawyers over those landmark cases. there are several rules that are in effect in theory, that have been effectively disproven in court


O prudente varão há de ser mudo,

Que é melhor neste mundo, mar de enganos,

Ser louco c’os demais, que só, sisudo

Response to What is the legality of the old flash C API? 2026-01-15 13:12:49


At 1/15/26 01:04 PM, detergent1 wrote:
At 1/15/26 08:53 AM, xeiavica wrote:Macromedia back in the day, made a C (also applicable to C++) API to extend the IDE to use with JSFL, a shared library (.dll on windows) for flash mx 2004 and flash 8 (For flash 8, it would be the "extending flash" PDF). Adobe kept it around for flash CS3-6, I think it's still around today. But what is the legality of public projects that use it? That's what confuses me greatly.

I'm seeing conflicted reports you can't distribute the header file (mm_jsapi.h), or that you can't license your code in a GPL like license. Yet I can't find a source that says you're restricted on source distribution. So which is it? Would adobe take legal action for using a header file they (along with macromedia) publish to the public in the macromedia/adobe documentation you can easily get online through the internet archive?

headers and APIs are copyrighted, but their copyright cannot be enforced anymore in USA due to fair use, see landmark case https://en.wikipedia.org/wiki/Google_LLC_v._Oracle_America,_Inc.
regarding GPL, if you produce a DLL from GPL code, its license's viral nature doesn't spread across the barrier of dynamic function loading (NOT dynamic linking), which would be the mechanism the Flash IDE would use to extract behavior from the DLL in order to realize the extension. I have not read the GPL texts in a long time, so I'm unable to pinpoint this precisely. but I believe that yes, an extension for Flash IDE delivered as GPL'd DLL is legal
software licensing is really messy, your best bet to obtain answers is to analyze historical landmark cases, and read opinions of several lawyers over those landmark cases. there are several rules that are in effect in theory, that have been effectively disproven in court

How are the header files still under copyright, as in adobe owns them, but they can't do squat about someone distributing it with the source code?


"I don't want excuses. I want results."

~Skipper


Click here to see my art and animation thread postings. Just a note that some of it might be NSFW.

BBS Signature

Response to What is the legality of the old flash C API? 2026-01-15 14:00:15


At 1/15/26 01:12 PM, xeiavica wrote:
At 1/15/26 01:04 PM, detergent1 wrote:
At 1/15/26 08:53 AM, xeiavica wrote:Macromedia back in the day, made a C (also applicable to C++) API to extend the IDE to use with JSFL, a shared library (.dll on windows) for flash mx 2004 and flash 8 (For flash 8, it would be the "extending flash" PDF). Adobe kept it around for flash CS3-6, I think it's still around today. But what is the legality of public projects that use it? That's what confuses me greatly.

I'm seeing conflicted reports you can't distribute the header file (mm_jsapi.h), or that you can't license your code in a GPL like license. Yet I can't find a source that says you're restricted on source distribution. So which is it? Would adobe take legal action for using a header file they (along with macromedia) publish to the public in the macromedia/adobe documentation you can easily get online through the internet archive?

headers and APIs are copyrighted, but their copyright cannot be enforced anymore in USA due to fair use, see landmark case https://en.wikipedia.org/wiki/Google_LLC_v._Oracle_America,_Inc.
regarding GPL, if you produce a DLL from GPL code, its license's viral nature doesn't spread across the barrier of dynamic function loading (NOT dynamic linking), which would be the mechanism the Flash IDE would use to extract behavior from the DLL in order to realize the extension. I have not read the GPL texts in a long time, so I'm unable to pinpoint this precisely. but I believe that yes, an extension for Flash IDE delivered as GPL'd DLL is legal
software licensing is really messy, your best bet to obtain answers is to analyze historical landmark cases, and read opinions of several lawyers over those landmark cases. there are several rules that are in effect in theory, that have been effectively disproven in court
How are the header files still under copyright, as in adobe owns them, but they can't do squat about someone distributing it with the source code?


I downloaded from Adobe's website this file mm_jsapi.h, it contains no licensing nor copyright information. does yours has any? this means it has got automatic copyright and all rights are reserved. this means the header is untouchable unless you consider the consequences of Google v. Oracle court decision.


BUT, if you read Flash's EULA, you may find exceptions!


for instance, I have Flash 8 installed. here is item (f) of section 2 "License Grants" of my copy of its EULA (under C:/Program Files (x86)/Macromedia/Flash 8/License.htm) (emphasis mine):


(f) Unless otherwise set forth in the documentation relating to such code and/or the Software or in a separate agreement between you and Macromedia, you may modify the source code form of those portions of such software programs that are identified as sample code, sample application code, or components (each, "Sample Application Code") in the accompanying documentation solely for the purposes of designing, developing and testing websites and website applications developed using Macromedia software programs; provided, however, you are permitted to copy and distribute the Sample Application Code (modified or unmodified) only if all of the following conditions are met: (1) you distribute the compiled object Sample Application Code with your application; (2) you do not include the Sample Application Code in any product or application designed for website development; and (3) you do not use Macromedia's name, logos or other Macromedia trademarks to market your application. You agree to indemnify, hold harmless and defend Macromedia from and against any loss, damage, claims or lawsuits, including attorney's fees, that arise or result from the use or distribution of your application.


so there you go.


O prudente varão há de ser mudo,

Que é melhor neste mundo, mar de enganos,

Ser louco c’os demais, que só, sisudo

Response to What is the legality of the old flash C API? 2026-01-15 16:13:57


@detergent1

Consider me lucky, macromedia already gives you the header file in a zip file called "dllSampleComputeSum.zip" in the location "C:/Program Files (x86)/Macromedia/Flash 8/Samples and Tutorials/Samples/ExtendingFlash/dllSampleComputeSum/"


With that regard, nothing to worry about. You got flash 8, you got the header. I guess I'll request @Oddlem to lock this since it serves no purpose now.


"I don't want excuses. I want results."

~Skipper


Click here to see my art and animation thread postings. Just a note that some of it might be NSFW.

BBS Signature