今天做了一个 flash 插入到iebook后,想修改里面的PNG图片,双击图片时程序弹出“程序未能打开指定的元素”对话框,经过研究,是因为flash设置错误(另一种原因是iebk文件出错了,请找官方客服恢复文件),解决方案如下:
1、打开Flash里的库面板,右键单击PNG文件,选择【属性…】
2、将压缩选项设为【无损(PNG/GIF)】,如图。确定后重新发布iebook 程序无法打开指定的元素 解决方案 3、将swf文件插入iebook
今天做了一个 flash 插入到iebook后,想修改里面的PNG图片,双击图片时程序弹出“程序未能打开指定的元素”对话框,经过研究,是因为flash设置错误(另一种原因是iebk文件出错了,请找官方客服恢复文件),解决方案如下:
1、打开Flash里的库面板,右键单击PNG文件,选择【属性…】
2、将压缩选项设为【无损(PNG/GIF)】,如图。确定后重新发布iebook 程序无法打开指定的元素 解决方案 3、将swf文件插入iebook
本方法未经完全测试,仅供参考。本例以Comic Effect滤镜做示范
1、启动PS,新建一个文档
2、启动OllyICE,
3、打开滤镜,进入滤镜初始界面
4、使用OllyICE附加PS进程,附加完成后直接按F9一次——注:别点任何地方
5、等待左下角提示使用Shift+F9,按两次,进入滤镜领空
6、最小化OllyICE,最小化PS,看在滤镜窗口内是否能操作,能操作就单击滤镜的【Draw】按钮
7、在F8/F9运行时,注意看左下角,有提示使用Shift+F9就遵守,否则按F8/F9
下载地址:http://pan.baidu.com/s/1sj7AjTF
来源页面:http://www.intel.com/content/www/us/en/processors/architectures-software-developer-manuals.html
应该没有比这个更全的开发手册了吧~ 学汇编必备。
最新的版本用来用去的,在下次重启保存文件时,总会弹出“无效文件:user.txt”窗口,很是烦人。于是从老早的网盘找来以前的15.3版本。有需要的就去?http://tool.ilezhi.cn下载吧~
解决方案如下:
1、在functions.php里加
register_nav_menus( array( 'primary' => __( 'Primary Navigation'), ));
2、主页里想插菜单的地方加
<div id="access"> <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?> </div>
3、修改样式文件里的 #access 样式。
WordPress在升级程序、主题、插件时,都会先自动切换到维护模式,同时显示 “正在执行例行维护,请一分钟后回来(Briefly unavailable for scheduled maintenance. Check back in a minute)”,如果升级顺利,也就几秒左右就恢复正常;但是如果由于网速不佳等原因导致升级中断或出现升级错误,WordPress就会一直停留在维护模式,不论前台还是后台,都一直显示“正在执行例行维护,请一分钟后回来”。
解决方案如下:通过FTP登录网站目录,删除WordPress根目录下的【.maintenance】文件 ,刷新网页即可。若没有该文件,则在该目录下新建一个同名文件,刷新网页后即可。
注:在插入的内页flash中,要想调用以下参数(或函数)或者自制按钮的自定义函数,请在舞台第一帧添加this._lockroot=false语句。——感谢zmaker的指导
转到封面 _root.Zine1.gotoCover()
转到目录 _root.Zine1.gotoContent()
转到封底 _root.Zine1.gotoBCover()
转到某页 _root.Zine1.gotopage(int(pageNumber)+1) (注:pageNumber 从0开始)
设置音量 _root.Zine1.setmusicvol(v) (注:取值范围0~100)
获取音量 _root.Zine1.getmusicvol()
转到上一页 _root.Zine1.prevpage()
转到下一页 _root.Zine1.nextpage()
当前页 _root.Zine1.getpage()
当前帧 _root.Zine1.getframeplayed()
总页数 _root.Zine1.getmaxpage()
全屏/1:1显示 _root.Zine1.screenfull()
最小化 _root.Zine1.minimize()
退出 _root.Zine1.exit();
单页宽度 _root.Zine1.getpageW();
单页高度 _root.Zine1.getpageH();
屏幕宽度 System.capabilities.screenResolutionX;
屏幕高度 System.capabilities.screenResolutionY;
隐藏底部版权 _root.Zine1.copy_mc.Copyright._visible=false
========================
iebook内页专用
获取深度 this._parent.getDepth();
获取角度 this._parent._rotation;
获取比例 this._xscale;
=====================
复制地址 _root.Zine1.AppCommand(“CopyUrl”, “”)
加载 ie搜索按钮 _root.Zine1.loadTool(“iesearch”, “iesearch.swf”)
加载在线交流按钮 _root.Zine1.loadTool(“comment”, “comment.swf”)
加载即时通信功能
var Info = _root.Zine1.getZineInfo(); if (Info.IM.toLowerCase() == "qq") { getURL (("tencent://message/?uin=" + Info.QQ) + "&Site=iebook.cn&Menu=yes"); } else { getURL ("msnim:chat?contact=" + Info.MSN); }
加载涂鸦按钮 _root.Zine1.loadTool(“booktag”, “booktag.swf”)
加载打印按钮 _root.Zine1.loadTool(“print”, “print.swf”)
加载帮助按钮 _root.Zine1.loadTool(“help”, “help.swf”)
加载设置按钮 _root.Zine1.loadTool(“config”, “config.swf”)
加载统计系统 _root.Zine1.loadTool(“count”, “count.swf”)
其他按钮
Question.swf 文件调查
recommend.swf
=====================
获取名称变量(赋值:caption)
_root.Zine1.getCaption() if (caption.type.toLowerCase() == "string") { this.caption_txt.autoSize = "left"; this.caption_txt.text = caption.value; bg._width = caption_txt._width + 10; bg._height = caption_txt._height; } else { bg._visible = false; caption_txt._visible = false; this.createEmptyMovieClip("logo", 0); eobj.onLoadInit = function (t) { t._y = 18 - t._height; }; mc_l.addListener(eobj); mc_l.loadClip(caption.value, this.logo); }
打开名称链接 getURL (caption.link, “_blank”);
获取版权信息 _root.Zine1.getCopyright()
获取版权链接 _root.Zine1.getCopyLink()
====================
on(rollOver){ _root.showalt("提示内容"); //显示提示信息 } on(releaseOutside,rollOut){ _root.hidealt();//隐藏提示信息 }
====================
内容定位
function reposmc(mc, bottom, right) { mc._x = mc._x + (right * (mag_w - 375)); mc._y = mc._y + (bottom * ((mag_h - 550) / 2)); } var comm1 = this.attachMovie("communicate", "comm1", -1); stop(); br.prve_b._visible = false; //上一页按钮不可见 var eobj = new Object(); eobj.Magflipover = function (target) { br.prve_b._visible = true; //上一页按钮可见 br.next_b._visible = true; //下一页按钮可见 if (_root.Zine1.getpage() == _root.Zine1.getmaxpage()) { br.next_b._visible = false; } if (_root.Zine1.getpage() == 0) { br.prve_b._visible = false; } }; _root.Zine1.addEventListener("Magflipover", eobj); if (_root.Zine1.getshowplaystate() == false) { bl.playstate.unloadMovie(); } var mag_w = _root.Zine1.getpageW(); var mag_h = _root.Zine1.getpageH(); reposmc(br, 2, 2); reposmc(bl, 2, 0); reposmc(tr, 0, 2); reposmc(iebookbq, 2, 0.5); reposmc(cpt, 2, 0.5); reposmc(hidenbt, 0, 2);
===============================================
zine1 有以下成员
ws: _level0.Zine1.ws
initmc: _level0.Zine1.initmc
bg: _level0.Zine1.bg
fullscreen: true
maxp: 4
bgimgurl:
sendreport: false
TemplateMode: true
screenH: 768
screenW: 1024
pageH: 650
pageW: 475
ShowInit: false
Shadowdepth: 26
ShadowFilter: 7
pagefengdis: false
showplaystate: false
AutoSpeedSetting: 6000
AutoEnabledSetting: false
BscreenH: 768
BscreenW: 1366
bs: [object Object]
toolscon2: _level0.Zine1.toolscon2
toolscon: _level0.Zine1.toolscon
toolbar1: _level0.Zine1.toolbar1 // 按钮
dface: [object Object]
mag: _level0.Zine1.mag
eObject: [object Object]
BaseURL:
toolsloader: [object Object]
dispatchQueue: [type Function]
dispatchEvent: [type Function]
removeEventListener: [type Function]
addEventListener: [type Function]
toolbar1: _level0.Zine1.toolbar1
initmc: _level0.Zine1.initmc
ws: _level0.Zine1.ws
timer: _level0.Zine1.timer
toolscon2: _level0.Zine1.toolscon2
toolscon: _level0.Zine1.toolscon
mag: _level0.Zine1.mag
copy_mc: _level0.Zine1.copy_mc // 版权
bg: _level0.Zine1.bg
===============================================
2013年11月16日
代码来源经典视频收藏版4
_root.online 电子杂志是否为在线版本
_root.getFLVPath(path) 获取FLV视频路径(此函数可能程序自带,或自定义函数);如:_root.getFLVPath(“1.flv”)
function getFLVPath(path){ return ("http://"+ path); }
video 为FLVPlayback组件
video 的事件
onClipEvent (construct){ autoPlay = true; autoRewind = true; autoSize = false; bufferTime = 1.000000E-001; contentPath = ""; isLive = false; maintainAspectRatio = true; skin = ""; skinAutoHide = false; totalTime = 0; volume = 100; }
video.bufferingBar = my_bufferingBar; //my_bufferingBar为用户定义的元件名 video.pauseButton = my_pauseButton; //同上 video.contentPath = _root.getFLVPath(_parent._parent.attachfile4); //参阅楼上 listenerObject = new Object(); listenerObject.ready = function (eventObject){ playpauseButton.gotoAndStop(2); if (video.width < 485){ video._x = (485 - video.width) / 2 + 0; } if (video.height < 270){ video._y = (270 - video.height) / 2 + 30; } }; listenerObject.complete = function (eventObject){ playpauseButton.gotoAndStop(1); }; video.addEventListener("ready", listenerObject); video.addEventListener("complete", listenerObject); /*----------------华丽的分割线------------------*/ listenerObject = new Object(); listenerObject.ready = function (eventObject){ ctr.playpauseButton.gotoAndStop(2); //ctr为影片剪辑,内含播放、暂停按钮 video.maintainAspectRatio = false; video.width = 485; video.height = 270; }; listenerObject.complete = function (eventObject){ ctr.playpauseButton.gotoAndStop(1); }; video.addEventListener("ready", listenerObject); video.addEventListener("complete", listenerObject);
来源:http://bbs.pcbeta.com/viewthread-1099053-1-4.html
1、在【计算机】上单击右键,选择【管理】,在左侧【磁盘管理】处单击右键,选择【附加VHD】,之后【计算机】会增加一个磁盘(比如F:)
2、添加启动菜单。
1)以管理员身份启动命令提示符
2)输入以下命令(F盘为VHD,C盘为活动分区盘):
bcdboot F:\windows /s C: /l zh-cn
注:假如你有100m启动分区的话,必须给他分配盘符并将C:改为对应的盘符
3、重新启动计算机即可。
——博主:通过上面步骤,不知可不可以将VHD文件拷贝到U盘上,实现随身Windows8.1系统。