




已阅读5页,还剩4页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Flash 5 ActionScript2001 60ActionScriptFlash 5FlashFlashFlashActionScript#1 Flash 5 ActionScript ActionScript 1. Flash 56 1Stringname = 2Numbersize = 100 3Booleanrainning = true 4ObjectmyDate = new Date 5Movieclip myClip = FishMovieclip 6Undefined Flash true falseFlashFlashforFOR BOOKa2firstName_YPOSITIONifforvar3Wgb%c set= = ; set ; A1 = 20; setA120; A120set var var ; var = ; var K; var book = ActionScript; 2. Flash 5 1 ActionScript Name = Ted; 2 sum = 300+200; I = I+1; 3 truefalseActionScript truefalse10passwordtrue onClipEvententerFrame if password = true play; 4 Flashchinaguangxinanningguangxiguangxichina china.guangxi.nanning 5 Flas myClip.startDragtrue; Flash 5 1. +-*/% FlashActionScriptFlash y = 12 - 6; /y = 6 y = 05 * 6; /y = 30 2. truefalse=!= 3. truefalseActionScript&|! truetruefalsefalsetruetruefalsefalsetruefalsefalsetrue 4. 32Flash ActionScript &|0 5. ActionScript 60090404a 6. FlashFlash4 3 + x * 6 year + + month + day + ActionScript ActionScriptActionScript 1. ActionScript. myDate.getDate;/myDategetDate _Xposition = tmpBomb._x /tmpBomb._xtmpBomb_X fish.play; /fishplay fish.color = red /fish _root_parent_root_rootfishplay _root.fish.play; Flash 5_parent_parentdoganimaldoganimal _parent.stop; 2. ActionScript on release myDate = new Date; currentMonth = myDate.getMonth; 3. ActionScript;Flash 4. function myFunction name age reader myFunction Steve 10 true; ActionScriptActionScript 5. ActionScriptActionScript cat.hilite = true; CAT.hilite = true; ActionScript 6. / 7. ActionScriptActionScript 60090404b 1. FlashifIfif 1 ifcondition statements; conditionstatements if X0 fish.play; x0x0truefish.playx0false 2 ifcondition statement1; else statement2; ifstatement1statement2 if year%4 = 0 & year%1000 | year%400 = 0 leap = year+; else leap = year+; year4100400ifleap = year+elseleap = year+ 2. 1while while Flashwhile: whilecondition statements; do statements; while condition; whiletruefalsewhilefalse 2for forFlashfor For forinit; condition; next statement; initconditionnext110 var s = 0; for I=1; I1010ISS=1+2+10 Forwhile 3forin Flash 5Forin Forin forvariableiterant in object statements; variableiterantobject Forin1122Forin Flash 5FlashFlash 5function 1. 1int intvalue k1=int2.3 value 2number numberexpression N1=number2001 expression 3random 0 randomvalue b=random10 value0 4isFinite isFiniteexpression f=isFinite13/5e-1000000 expression 5isNaN isNaNexpression b=isNaN2001 expression 6parseFloat parseFloatstring x=parseFloat2001920 string 7parseInt parseIntexpression radix b=parseInt3.5 expressionradix2-36 8string stringexpression c=string12345 expression 9eval evalexpression x = evala /a expression 10getProperty getPropertyinstancename property manX = getProperty_root.man _x instancenameproperty 11getTimer getTimer T1=getTimer 12getVersion Flash getVersion version=getVersion 2. Flash 5 ActionScriptFlash 5 ActionScript 1 _alpha Alpha fly._alpha= 80 0-1000100 2 _height_width px fish._height = 100 _height_width 3 _name fish._name = bigfish _name 4 _rotation _rotation = random360 5 _visible plane._visible = false truefalsefalse 6 _x_y xy spider_x = _root.web.spider._x 0000 7 _xscale_yscale _root.web.spider._yscale = 200 _xscale_yscale_xscale_yscale1000 8 _currentframe cf = _root.myInstance._currentframe 9 _url URL movieclipurl = _root.web.spider._url
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 哈尔滨剑桥学院《税收筹划与管理》2023-2024学年第二学期期末试卷
- 科尔沁艺术职业学院《环境资源保护法》2023-2024学年第二学期期末试卷
- 重庆应用技术职业学院《电子商务基础与应用》2023-2024学年第二学期期末试卷
- 信阳农林学院《计算机专业英语》2023-2024学年第二学期期末试卷
- 内江职业技术学院《体育健身健美运动》2023-2024学年第二学期期末试卷
- 追梦的孩子课件
- 2025年江苏南京文天水利规划设计研究院有限公司招聘笔试参考题库含答案解析
- 2025年浙江省金华智尚人才开发有限公司招聘笔试参考题库附带答案详解
- 2025年陕西省技术进步投资有限责任公司招聘笔试参考题库附带答案详解
- 妇科病患者的健康教育
- 2025-2030年中国叶黄素行业市场发展现状及竞争格局与投资发展研究报告
- 做最勇敢的自己
- 【MOOC】学术交流英语-东南大学 中国大学慕课MOOC答案
- 工商企业管理毕业论文范文(4篇)
- 头脑特工队-Inside-Out中英文字幕对照
- 近五年重庆中考数学真题及答案2024
- 山西众辉电力服务公司历年真题
- GB/T 24218.1-2009纺织品非织造布试验方法第1部分:单位面积质量的测定
- DB11_T1833-2021 建筑工程施工安全操作规程(高清最新版)
- 标前合作协议书
- 智慧树知到《人际传播能力》章节测试答案
评论
0/150
提交评论