So it looks like Flash supports something called a clipping layer, which is basically a mask, but it can apply to multiple display objects on the same timeline. Regular masks can be applied to one display object only, which is what the commit above fixed.
This issue is happening because the “swf” library sets the mask property when it applies a clipping layer. When OpenFL started enforcing the rule that a regular mask may not be shared by multiple display objects, clipping layers in the “swf” library broke.
I’m going to need to make some tweaks to both OpenFL and the “swf” library to ensure a safe API is available to apply clipping layers that works a little differently than regular masks.
It is recommended to add APIs or parameters to the “SWF” library to customize the format of SWF export. Currently, the default format is zip, and the exported content can be a compressed file. However, I want to customize it as an. xx file because some platforms do not support uploading zip files
There is another issue that I reported last time. The SWF library can be loaded at runtime on other targets, but cannot be loaded at runtime on flash and air targets (causing errors). I hope this issue can be fixed
@785597448 When replying in someone else’s thread, please try to stay on topic. Asking about unrelated feature requests in a thread that’s about a bug report is not appropriate. Thank you!