html在线转换swf,swf格式转换成html(Swf format conversion HTML).doc

swf格式转换成html(Swf format conversion HTML)

swf格式转换成html(Swf format conversion HTML)

Now basically is the use of this method is simple. Here is the code and the use of the process I simply say will not see.

Don't halo is very simple and I will talk about it in your right to build a new desktop Notepad which is a text document

Copy the code into the building to open your Flash address on the specified location and click on the file

In the name written just rename Notepad

The end must be HTM or HTML such as 12.htm or 12.html can then upload address so you can get good

You can open the HTM animation you can also jump in your address in the address of the HTM this time to open the jump

Htm well as some web fonts so below is some love I jump at the top with the stars

The font code is the following

Title_tmp1=document.title

If (title_tmp1.indexOf ("=-1") {!)

("title_tmp2=title_tmp1.split");

"Title_last= - > +title_tmp2[1];

Title_last=title_last + "- >" + title_tmp2[2];

}else{

If (title_tmp1.indexOf ("-") {=-1!)

Title_tmp2=title_tmp1.split ("-");

"Title_last= - > +title_tmp2[1];

If (title_last== "- >" {title_last= ">"});

If (title_last== "- >" {title_last= ">"});

}

Else {title_last= "QQ: your number"}

}

Title_new= "space your name" +title_last+""

Step=0

Function (flash_title)

{

Step++

If (step==7) {step=1}

If (step==1) {document.title='* *'+title_new+' * * * * * *'}

If (step==2) {document.title='* *'+title_new+' * * * * * *'}

If (step==3) {document.title='* *'+title_new+' * * * * * *'}

If (step==4) {document.title='*'+title_new+' * * * * * *'}

If (step==5) {document.title='* *'+title_new+' * * * * * *'}

If (title_last== "- >" {title_last= ">"});

}

Else {title_last= "QQ: your number"}

}

Title_new= "space your name" +title_last+""

Step=0

Function (flash_title)

{

Step++

If (step==

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Fanvas是一个把swfhtml5 canvas动画的系统,由两部分组:Actionscript实现的解析器、js运行库。Flash做动画是最熟最高效的方式,但由于终端基本不支持Flash播放,这给终端的动画制作带来了不少麻烦。Fanvas是Flash和Canvas的完美结合,可以把swf(包括矢量和位图)完美地化为canvas动画,让美术妹子一次制作,到处运行。。。嘿嘿~~~让美术妹子也搭上H5的快车。技术难点:兼容swf的各种格式,主要是各种矢量命令和多种多样的图片格式;实现高效的html5运行库,自主实现了位图缓存、自动脏区识别、脏区重绘等技术。优势:能swf为H5动画的工具,除了Fanvas还有大名鼎鼎的google和adobe的产品——swiffy和flashcc。 对比之下,Fanvas有如下优势:从swf文件直接化为Html5动画(google的swiffy和adobe的flashcc都不支持,两个产品都需要通过fla源文件处理);精简编排的JSON数据,使swf化后的js数据文件非常小,普遍比flashcc导出的要小20%到50%;精简的运行库,混淆后只有35k,gzip后只有10k左右。而swiffy和flashcc的运行库混淆后都超过100K;开源,可供使用者二次开发(请保留Fanvas字样或版权声明)。使用方法只需要一键导入swf化完后一键导出canvas动画js。具体请参考bin目录的《使用说明》源代码说明exporter是as3.0实现的swf文件解析器,解析后输出json数据;runtime是js运行库,用于解析json数据,化为最终canvas动画。DEMO示例http://kenkozheng.github.io/fanvas/magicEmotion/demo1/http://kenkozheng.github.io/fanvas/magicEmotion/demo2/http://kenkozheng.github.io/fanvas/magicEmotion/demo3/http://kenkozheng.github.io/fanvas/magicEmotion/demo4/ 标签:Fanvas

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值