摘要:
1.For consistent animation sync behavior, avoid using a polite load with a tandem creative whenever possible. Polite load can make users wait for a website to load completely before the creative loads, increasing the risk that tandem creatives will time out or fail to sync with each other.2.It's 阅读全文
posted @ 2012-10-27 11:09
雅尸兰黛?窃笑
阅读(151)
评论(0)
推荐(0)
摘要:
1 cookie部分 2 1.setcookie("user","xiangzishi110",time()+3600);//设置user的变量,有效期为3600秒 3 2.setcookie("user","",time()-3600);//注销 4 3.$_COOKIE["user"];//调用 5 4 if(isset($_COOKIE["user"])){}//判断是否设置了user的cookie 6 7 session部分 8 1.<?php session_ 阅读全文
posted @ 2012-10-27 11:06
雅尸兰黛?窃笑
阅读(138)
评论(0)
推荐(0)
摘要:
1.ColorMatixFilter:这个类用来转变每个像素的颜色,具体转变的算法用一个matrix来实现。比如varcmf:ColorMatrixFilter=newColorMatrixFilter([0,0,0,0,255,0,0,0,0,255,0,0,0,0,255,1,0,0,0,0]);这一组配置,使图片转变为透明白色,可以作为生成白云,烟雾的效果。添加滤镜的方法:bitmapData.applyFilter(bitmapData,bitmapData.rect,newPoint(),cmf);2.perlinNoise:BitmapData的这个方法,用来生成一个随机的杂色图像 阅读全文
posted @ 2012-10-27 11:06
雅尸兰黛?窃笑
阅读(183)
评论(0)
推荐(0)
摘要:
1Delegate.create(this,runFunction);//这样可以避免在runfunction里面运行域不一样的问题比如mc.onPress=function(){trace(this);};//结果为mcmc.onPress=Delegate.create(runFunction);functionrunFunction(){trace(this);}//结果为舞台2.addEventListener()重复添加只产生一次效果removeEventListener()如果没有添加过侦听,remove也不会出错3mouseEnabled和mouseChildren=false一 阅读全文
posted @ 2012-10-27 11:05
雅尸兰黛?窃笑
阅读(127)
评论(0)
推荐(0)
摘要:
http://www.adobe.com/cn/devnet/air/articles/developing-native-extensions-air.html 阅读全文
posted @ 2012-10-27 11:04
雅尸兰黛?窃笑
阅读(166)
评论(0)
推荐(0)
摘要:
//1.打开一个文件,或者保存一个文件:var fileURL = fl.browseForFileURL("open");//open select savefl.outputPanel.trace(fileURL);2 将jsfl文件放入command文件夹内可以让flash的command面板加一条命令将swf文件放入WindowSWF文件夹内可以在其他面板内出现一个面板3.FLfile.copy复制文件,在pc平台上,如果复制到的目录不存在,则不会复制成功。 阅读全文
posted @ 2012-10-27 10:58
雅尸兰黛?窃笑
阅读(120)
评论(0)
推荐(0)
摘要:
1 1.展开panel: 2 EB.ExpandPanel("Panel1","User"); 3 EB.ExpandPanel("Panel1", "Auto"); 4 EB.ExpandPanel("Panel1","whenready"); 5 EB.CollapsePanel("Panel1","User"); 6 EB.CollapsePanel("Panel1","Auto"); 7 阅读全文
posted @ 2012-10-27 10:57
雅尸兰黛?窃笑
阅读(181)
评论(0)
推荐(0)
摘要:
1.takeover灰色背景区域加链接:Content---->overlay---->link_overlay这个元件已经有了,直接加地址就行2.screenInitial里的视频和控制条只能放在舞台---->Content的下一层的子影片剪辑里,再到里面一层就识别不了了。3.加链接:link_为前缀就行了。4适应大小居中: 1 ScreenInitial.fla---->Content 2 3 function extendTransitionIn():void{ 4 5 this.centerContent(); 6 7 stage.addEventListene 阅读全文
posted @ 2012-10-27 10:55
雅尸兰黛?窃笑
阅读(161)
评论(0)
推荐(0)
摘要:
3.0 //////////////////////////////////// clickTag //////////////////////////////////// import com.FPI.utils.PopupWin; hotspot.buttonMode=true; hotspot.mouseChildren=false; hotspot.addEventListener(MouseEvent.CLICK,hotspotClick); function hotspotClick($e:MouseEvent):void{ for... 阅读全文
posted @ 2012-10-27 10:53
雅尸兰黛?窃笑
阅读(165)
评论(0)
推荐(0)
摘要:
1.EBStd比EB文件要小很多2.EBStd.clickthrough()可以连接出去 阅读全文
posted @ 2012-10-27 10:51
雅尸兰黛?窃笑
阅读(119)
评论(0)
推荐(0)

浙公网安备 33010602011771号