Skip to main content
November 30, 2025
Question

i am creating a complex game in .air, it works in cs5.5 but not in the new animate i just downloaded

  • November 30, 2025
  • 9 replies
  • 505 views

PLEASE help me.  i will even trust you and give u the source code for my game as it sits

 

(it will be drastically altered before being playable online: it is currently only "hotseat")

 

(you are welcome to play at home vs your friends like we used to play on 1 pc)

 

this game is my lifelong dream

 

you can see screenshots of it in action @ steamcommunity.com/id/ahappysheep

 

i used to develop in cs5.5 until i ran out of memory in jvm.ini because i have too much text

 

and the ide can't handle an increase past 512mb

(i'm sure i'm describing things ignorantly, so please help me to increase my understanding of everything)

 

so i downloaded animate which is handling 1024 just fine

 

but i get this error when i try to compile

 

 

Warning: Library path "$(FlexSDK)/frameworks/libs/flex.swc" does not resolve to a valid file.

 

but i have pointed it to the root folder after downloading both the AdobeAIRSDK & AIRSDK_Windows

from Harman and the "Flex" from Adobe (again, best i can understand..)

in Animate from the Help menu at top, i entered Manage Abode Air Sdk

from there i pointed the ide to both folders (unzipped),

and have tried clicking "ok" on both before compiling  (in case it only looks for 1?)

 

i asked google ai over and over and tried all it said over and over, i have no solutions or answers

 

 

now surely relevant and easy to understand for some,

 

i am STRUGGLING i  have been DESPERATELY STRUGGLING to create this game forever

 

BARELY KEEPING MY HEAD ABOVE WATER like a man about to drown

 

please help me

 

C:\Tactics\Main.as, Line 1, Column 1 5000: The class 'Main' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.

 

Main_GrassSheet.as, Line 10, Column 46 1017: The definition of base class BitmapAsset was not found.

 

^worked fine in cs5.5

 

please help me!!

 

please look at the screenshots on my steam: 

literally yesterday or the day before i was happily still working,

compiling,

i press "ctrl + shift + enter" and it works, to output an .air file

 

i have the .exe in my quicklaunch taskbar on windows,

so with 1 click i click it runs the game, with my changes in place

 

that's all i want to continue doing, and to change it from a hotseat game to a client/server model where it is playable online, i will be developing a full item system for it, etc.; i have such big plans

 

 

but i need your help 😞

someone please help me..

 

like i said if it comes to it i will trust you with the entire source code as it sits today:

 

the alternative is the game will die

 

help me make the greatest f2p tactical turn based strategy game ever made with currently about 150 playable units (and i want to add more forever, and improve what is already there)

 

i will be a paying customer for just this compiler for the next 20 years if u just help me get this working

 

i literally don't use any features of animate, 100% of this game is created in as3

 

i only use "adobe animate" in so far as i am aware and understanding, for the ability to compile into .air

 

i use it for the ide: that said: i will happily pay $23 a month forever as long as i am on this earth or w/e it later costs

 

 

if i can just get this working..

 

 

 

9 replies

December 2, 2025

the ONLY reason i needed to switch to animate was because the java virtual machine would crash if i set jvm.ini above 512mb

 

the reason i need this is because of the extreme amount of actionscript in my project:

 

it fails to compile because of too much as3

 

if i could increase to 1024 or 2048 to x2 or x4 the amount of code i can add,

 

that would be sufficient to finish my game: i could use cs5.5 forever perpetually,

 

to maintain the .air as3 client

 

and write the server-side code for the game in Java (unless i am misunderstanding something)

 

mystically and mysteriously flash cs.5.5 compiled the game again after much prayer to God, The LORD JESUS Christ.

 

the only thing i changed was to allow windows to manage the pagefile system: the number was already very HIGH

 

allowing basically my entire harddrive to be used if necessary

 

and now magically the game compiled again, and i could increase the jvm.ini to 544

 

now my pc is a windows 10 docked steam deck

 

even though it has 16g ram 8 is shared to video, and windows itself requires a lot just to run,

 

i really believe it is possible buying a new computer may fix the problem: so i can increase jvm.ini to 1024 in cs5.5

 

as this is an adobe animate forum i will re-iterate in animate i was able to increase it to 1024 even on this system

 

but in the absence of abobe/apache actually providing flex.swc (instead of just pretending)

 

there is no way for me to use this software, so i will be cancelling my free trial, 


and pray to The LORD when i get a new computer i can indeed continue to use cs5.5 to continue programming!

 

 

if flex.swc ever becomes available again or anyone reads this with knowledge or a solution, 

 

PLEASE POST IT

 

 

December 2, 2025

moonshine can't open .fla but since i did no programming on the timeline but the game is pure .as3

 

i figured maybe i could try to re-configure the game into pure flex

 

but moonshine needs swc from animate (which above isn't going to give)

 

so does intellijidea

 

and even Adobe Animte doesn't work because it requires flex.swc from apache which is NOWHERE ON THE INTERNET



so is this adobe/apache killing this technology intentionally?

December 2, 2025

ai says:

 

The primary reason flex.swc (and other crucial third-party components like playerglobal.swc) are not included in the standard Apache Flex SDK distribution archives (like .tar.gz files) is due to licensing restrictions and the need for a separate installation process to acquire these components.
Specifically:
Third-Party Dependencies: The Flex SDK relies on various third-party components, including the Adobe Flash Player runtime and its associated libraries (like playerglobal.swc), which are necessary for compiling and running Flex applications. These components are not open-source under the Apache license.
Licensing and Distribution: Apache, as an open-source project, cannot directly distribute these proprietary or differently licensed components within its core SDK archives. Doing so would violate licensing agreements.
Installer Requirement: To address this, Apache Flex provides an installer. This installer is designed to download and integrate these necessary third-party components (including playerglobal.swc which contains fundamental classes like String) into your Flex SDK installation after you've agreed to their respective licenses.
Therefore, if you download the Flex SDK as a compressed archive, you will find it incomplete. A proper installation using the official Apache Flex installer is required to obtain all the necessary components for development.

i did use their official tool and it did not ask for any extra agreements

it completed successfully and even gave me a button to  "open flex folder"

 

flex.swc is nowhere to be found

December 2, 2025

since it says the mirror sites can't be trusted i used their download manager the official thing from flex

 

and the same result, when i search using windows search for "flex.swc" there is no such file in the folder..

December 2, 2025

ai says

Download the SDK Binaries
  • Go to the Apache Flex download page.
  • Choose a release and download the SDK binaries.
  • After unzipping the archive, you will find the flex.swc file within the SDK's frameworks/libs/ directory.

    so  i did that, and again that file is not there

 

where is this elusive magical file??

 

someone please help..

December 2, 2025

i did exactly as outlined in the link, and got the successful build message after merging the sdks

 

and i pointed the ide there and still get this message

 

Warning: Library path "$(FlexSDK)/frameworks/libs/flex.swc" does not resolve to a valid file.

 

 

which is indeed true that file is not there (flex.swc)

 

someone, please, help me

December 1, 2025

https://joshblog.net/2024/how-to-install-apache-flex-with-adobe-air-from-harman/

 

i will try to do all of this tommorow and will post of my success or failure

November 30, 2025

The flex.swc file is a core library component of the Apache Flex SDK, not the Adobe AIR SDK itself. When working with Adobe AIR applications that utilize the Flex framework, it is necessary to combine or "overlay" the AIR SDK with the Flex SDK. This process ensures that the necessary Flex libraries, including flex.swc, are available for compilation and runtime within your AIR project.


To resolve the missing flex.swc issue:
Download both SDKs: Obtain the Apache Flex SDK binary distribution and the Adobe AIR SDK from HARMAN (the current maintainer of AIR).
Extract Flex SDK: Unzip the Flex SDK into a designated directory.
Merge SDKs: Copy the AIR SDK archive (e.g., AIRSDK_Flex_Windows.zip) into the root directory of the extracted Flex SDK.
Use the installer script: Utilize the harman-installer.xml script (typically found within the Flex SDK or available from HARMAN) to merge the two SDKs. This script handles the extraction of the AIR SDK and integrates it with the Flex SDK structure, ensuring flex.swc and other required files are correctly placed.
Code

ant -f harman-installer.xml -Dair.sdk.version=YOUR_AIR_VERSION
(Replace YOUR_AIR_VERSION with the correct major and minor version of the AIR SDK you downloaded.)
Configure your IDE: After a successful merge, update your project's SDK settings in your IDE (e.g., Flash Builder, IntelliJ IDEA) to point to the newly merged Flex SDK directory.
By following these steps, you will create a unified SDK environment containing both the Flex framework components and the Adobe AIR runtime, making flex.swc accessible for your development.

 

 

..so i'll try this now, the best answer i've gotten yet from ai

 

btw i used flash in the first place because it was supposed to be "easier"

November 30, 2025

it says  FLEX SDX REQUIRED in the box and says

 

You have used a feature that requires the Flex SDK:

 

"Embed" metadata

 

Please set the Flex SDK path if necessary and add it to the library path for this file. 

The Fles SDK folder contains the bin, frameworks, likb and other folders. 

 

it asks me to set Flex SDK Path with a box to select where it is,

and a blue button to "Update library path" 

 

i've done it.  downloaded unzipped and done it. 

 

i don't know what to do..