滚动条实现方法:action,计划任务
来源:互联网 发布:oracle数据库日常备份 编辑:程序博客网 时间:2024/06/05 19:50
滚动条,方法:action,计划任务
例如计划任务
helloLabel:null,初始化
//滚动菜单
helloLabel = new cc.LabelTTF("看谁最长", "Arial", 38);
// position the label on the center of the screen
helloLabel.x = size.width / 2;
helloLabel.y = size.height-100;
// add the label as a child to this layer
this.addChild(helloLabel, 5);
this.schedule(this.LabelMove,0.2);
计划任务LabelMove : function(){
helloLabel.setPositionX(helloLabel.getPositionX()-10);
if(helloLabel.getPositionX() <= -50){
helloLabel.setPositionX(size.width);
}
}演x轴滚动,
同一个类中计划任务最好不要太多
1 0
- 滚动条实现方法:action,计划任务
- php定时计划任务实现方法
- php定时计划任务实现方法
- PHP计划任务的一种实现方法
- php定时计划任务实现方法
- php定时计划任务实现方法
- ListBox 水平滚动条智能滚动的实现方法
- 编程实现计划任务
- J2EE实现计划任务
- 编程实现计划任务
- 计划任务实现
- 计划任务实现---windows
- 添加滚动条方法
- PHP实现计划任务的几种方法
- DIV实现滚动条
- 滚动条的实现;
- JQuery 滚动条实现
- java 实现滚动条
- 文件上传的注意事项
- 第十一篇 ANDROID 系统网络连接和管理机制与架构
- Spring定时任务的几种实现
- PyQt4 学习笔记7之拖放
- 地图定位(gps)
- 滚动条实现方法:action,计划任务
- java异常
- Spring2.0 xml schema功能-允许在spring配置文件中添加自己的xml schema及解析器
- 第十一周项目一 (1)层次遍历算法的验证
- 父进程等待子进程结束 waitpid wait
- 自定义控件(6)---PorterDuffXfermode图形过滤器之橡皮擦应用
- 第十一周 项目1-3 线索化二叉树
- django html相关过滤器
- 第十一周 项目1-验证算法(2)