AS3 to Generate Dynamic SWF?

后端 未结 4 1823
隐瞒了意图╮
隐瞒了意图╮ 2021-01-17 01:56

Is it possible, using AS3, to programmatically generate a .swf file? What my little app does is load a bunch of images, using FileReference, now I want to compile them into

4条回答
  •  孤独总比滥情好
    2021-01-17 02:14

    I haven't investigated the package thoroughly, but the As3Eval library seems to be doing what you're asking - realtime compilation of AS3 into executable bytecode (on the client with no server interaction). Check out the demo.

    I'm not sure it would support image embedding - perhaps you could encode the image data as a base64 string in your dynamically built source code.

提交回复
热议问题