Handle VerifyError: Error #1014 when loading swfs using AS3

前端 未结 5 1640
花落未央
花落未央 2021-02-11 07:40

We are making a system that has a main swf for the application, and loads separate tools from separate swfs -- there will be versioning issues in the future since the s

5条回答
  •  梦谈多话
    2021-02-11 07:52

    I've worked with that kind of application in the past but I think it would be better to fix the SWF loaded rather than handling VerifyError. VeriyError indicates that the SWF loaded is corrupted or malformed.

    And it's natural that the SWF itself is malformed rather than that the SWF is corrupted during the transfer. I guess you are trying to load png or other format named ".swf" or the SWF is generated by some software other than Flex compiler or Flash such as swfmill(In the latter case, there would be a bug in that software).

提交回复
热议问题