Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flash ActionScript 3 Support #758

Open
wants to merge 20 commits into
base: master
Choose a base branch
from
Open

Flash ActionScript 3 Support #758

wants to merge 20 commits into from

Conversation

RobertBeckebans
Copy link
Owner

@RobertBeckebans RobertBeckebans commented Mar 13, 2023

This allows to import new Flash (.swf) menus created by Adobe Animate.

The implementation will be basic so it is enough to import new files without the need of some cracked warez edition of the abandoned Macromedia Flash.

Kudos to @HarrievG for all the hard work.

@stephenap07
Copy link

@HarrievG I've been testing this with an incomplete SWF file, but one I thought would be good enough to test functionality.
When loading my test SWF back in binarized format, I get an assertion. I'll attach my FLA to the discord if you want to look at it.

image

Other issue: the stop(); function in a frame is never executed for some reason. I haven't looked too far into why yet, I'll probably try to debug this tomorrow.
image

Since the stop function is never run, my carousel widget plays the rollIn/rollOut animations continuously.

myswf.webm

@HarrievG
Copy link

HarrievG commented Apr 25, 2023

If you send your fla I can do something. Images and screenshots are useless here.
It also is better to continue this bughunt on discord in the standalone dev channel where I shared my test fla with you.

@HarrievG
Copy link

HarrievG commented Apr 26, 2023

Just to follow up on this for future reference:
the swf publish and AS settings need to be to

  1. debugging permitted
  2. disabled strict mode
  3. disabled warning mode
  4. Set the action script api to be used as source path. -> inhibitControl () is an engine function and needed for basic ingame UI functionality

@HarrievG
Copy link

@stephenap07 Can be closed?

@RobertBeckebans
Copy link
Owner Author

I rebased the branch on the master/1.5.1 and added @HarrievG's last crash fix.

@HarrievG
Copy link

whooh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants