LucasW
V2EX  ›  问与答

Flash 也可以数据分离?

  •  
  •   LucasW · Dec 12, 2014 · 2361 views
    This topic created in 4175 days ago, the information mentioned may be changed or developed.
    客户一定要这个风格的网站(http://templates-preview.com/Dynamic-flash-templates/300111236/flash.swf),无奈之下决定扒下来。结果发现里面的数据是通过txt文件加载进去的,但是在网页内,包括js都没有找到这个txt是怎么加载进去的。

    
    于是请教各位,这个是个什么原理。

    P.S. 这个txt文件明显不是说明文件
    扒下来的SWF文件和网站显示已加载txt文件的内容不同
    4 replies    2014-12-12 16:25:43 +08:00
    DiffView
        1
    DiffView  
       Dec 12, 2014
    as3做的
    随便谷歌一下就可以搜到的
    http://stackoverflow.com/questions/23276328/how-to-load-text-file-into-flash-using-as3
    http://www.republicofcode.com/tutorials/flash/loadvars_bc/

    没玩过as3,对以上链接的可用度不做保证。
    lclick0137
        2
    lclick0137  
       Dec 12, 2014
    可以,flash网页游戏都是下载资源和数据来执行的,网页只负责加载一个flash主程序文件就可以了
    shiny
        3
    shiny  
    PRO
       Dec 12, 2014
    大多数 flash 文件,通过反编译可以看到算法
    panlilu
        4
    panlilu  
       Dec 12, 2014 via iPhone
    as2的年代就这么加载数据了...
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3773 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 04:42 · PVG 12:42 · LAX 21:42 · JFK 00:42
    ♥ Do have faith in what you're doing.