字符串flash脚本动作大全(Flash Action Script Daquan)

脚本大全  时间:2021-01-08  阅读:()

flash脚本动作大全Flash Action Script Daquan- Go to jumps to the specified frame

- Play play

- Stop, stop!

- Toggle High Quality switches between high quality and low picture quality

- Stop All Sounds stops all sound playback

- Get URL jumps to a hyperlink

- FSCommand sends the FSCommand command

- Load Movie loading videos

- Unload Movie uninstalling videos

- Tell Target informs the target

- If, Frame, Is, Loaded. . . Determine whether the frame is fully loaded

- On Mouse Event mouse event

. Other Actions. Include

- break jumps out of the loop

- call calls the specified frame (usually calls for a specific function)

- Comment notes

- continue continues the cycle

- delete removes variables in an object (Object)

- do, while, do, while cycles

- duplicateMovieClip copy MC

- else, otherwise (used with if)

- else if, otherwise (if used with if)

- evaluate calls the custom function (Function)

- for for cycle

For. . . In in turn takes all the attributes in the object (Object) , or all the elements in an array

- FSCommand sends the FSCommand command

- function declares custom functions

- getURL jumps to a hyperlink

- goto jumps to the specified frame

- if, if

- ifFrameLoaded. . . Is the frame fully loaded?

- include reads into the external ActionScript program file (.As)

- loadMovie loads MC

- loadVariables reprint data from external files, which can be text files, or text values returned by scripts such as ASP/CGI - the trigger condition for the on mouse event

- event trigger for onClipEvent MC

- play play

- print output to printer

- removeMovieClip removes MC

- return returns a value in function (function)

- set variable sets the value of the variable

- setProperty settings properties

- startDrag starts dragging

- stop, stop!

- stopAllSounds stops all sound playback

- stopDrag, stop dragging

- swapDepths switches two MC depths

-tellTarget specifies the target for theAction command to take effect

- toggleHighQuality switches between high quality and low picture quality

- trace tracking debugging

- unloadMovie uninstall MC

- var declares local variables

- while when it was founded. .

With do. . . To objects (Object) . .

. Operator (Operators)

- logical non operation

- = = not equal to

- string

-% take the remainder

- & & Logic and operation - () parentheses

- * multiplication

+ plus sign

A self - + + variable

- minus

--- variable minus one

- / Division

< < less than <

- < = less than or equal to - < > is not equal to

- = = e qua l

> > greater than

Greater than or equal to - >

- and logic and

- not logical non -

- or logic, or

- typeof returns the variable type - void entities, no returns

- | |逻辑或操作

+运算符位操作符

与位与操作

- <<位左移

> >位右移

> > >位右移无符号

- ^位异或操作

- |位或操作

- ~补位操作

+复合赋值操作符复合操作符

% =一% = B等效于a一% b

- =和= B等效于a和B

* = * = B等效于A×B

+ = + = B等效于= A + B

- = A = B等效于= A-B

/ = / = B等效于= A / B

- << =一个<< = B等效于=一个<< B

> > > > = =一个B等效于=一> > B

> > > > > > = =一个B等效于=一> > > B

- ^ =一个^ = B等效于=一个^ B

- | =一个| = B等效于=一个| B

+字符串运算符字符串操作符注实质上是ASCII的比较加连接两个字符串

-情商EQ B字符串一值与字符串值B相等

通用电气GE B字符串一值大于等于字符串B值

- GT GT B字符串一值大于字符串B值

-乐一乐B字符串一值小于等于字符串B值

LT LT B字符串一值小于字符串B值

氖氖B字符串一值不等于字符串B值

+功能函数

布尔取表达式的布尔值真或假

逃避除去URL串中的非法字符将其参数按照URL编码的格式转化为字符串字符串

为访问并计算表达式表达的值并以字符串字符串的形式返回该值

假布尔非值0

- getProperty获取属性

-获取从电影开始播放到现在的总播放时间getTimer 毫秒数-获取版本获取浏览器的flashplayer的版本号

-全局的转成本地的场景场景中的坐标转换成MC中的坐标- HitTest测试一个点或者MC是否同另一个交叉即冲突检测-诠释把十进制数值强制转换成整数

-需测试数值是否为有限数

- i s nan测试是否为非数值

返回键盘按下键的键盘值-键码ASCI I值

-本地到全局坐标MC中的坐标转换成场景场景中的坐标- maxscroll文本框的最大行度

-换行符换行

数将参数转换成数值其返回值有以下四种情况

如果X为一数字则返回值即为该数字如果X为一布尔数则返回0或1如果X为一字符串则函数将X解释为一个指数形式的十进制数如果X未定义则返回0。

-将字符串转换成浮点数parseFloat

- parseInt将字符串转换成整数

随机产生0到指定数间的随机数

滚动文本框中的起始滚动行

弦将参数转换成字符串

-目标路径返回指定实例MC的路径字符串

真正的布尔是值1

青云互联:洛杉矶CN2弹性云限时七折,Cera机房三网CN2gia回程,13.3元/月起

青云互联怎么样?青云互联是一家成立于2020年6月份的主机服务商,致力于为用户提供高性价比稳定快速的主机托管服务,目前提供有美国免费主机、香港主机、香港服务器、美国云服务器,让您的网站高速、稳定运行。目前,美国洛杉矶cn2弹性云限时七折,美国cera机房三网CN2gia回程 13.3元/月起,可选Windows/可自定义配置。点击进入:青云互联官网青云互联优惠码:七折优惠码:dVRKp2tP (续...

cloudcone:特价便宜VPS补货通知贴,SAS或SSD低价有磁盘阵列,SAS或SSD raid10 硬盘

cloudcone经常性有特价促销VPS放出来,每次的数量都是相当有限的,为了方便、及时帮助大家,主机测评这里就做这个cloudcone特价VPS补货专题吧,以后每次放货我会在这里更新一下日期,方便大家秒杀!官方网站:https://cloudcone.com/预交费模式,需要充值之后方可使用,系统自动扣费!信用卡、PayPal、支付宝,均可付款购买!为什么说cloudcone值得买?cloudc...

UCloud新人优惠中国香港/日本/美国云服务器低至4元

UCloud优刻得商家这几年应该已经被我们不少的个人站长用户认知,且确实在当下阿里云、腾讯云服务商不断的只促销服务于新用户活动,给我们很多老用户折扣的空间不多。于是,我们可以通过拓展选择其他同类服务商享受新人的福利,这里其中之一就选择UCloud商家。UCloud服务商2020年创业板上市的,实际上很早就有认识到,那时候价格高的离谱,谁让他们只服务有钱的企业用户呢。这里希望融入到我们大众消费者,你...

脚本大全为你推荐
主机租赁想弄个游戏主机出租,主要就是针对在校大学生的,比如ps3、xbox之类的,不知道前景如何,请大家帮我分析下国外虚拟空间哪里买的100m海外虚拟空间便宜稳定?海外域名我想了解一下“国内域名”,“国外域名”以及“海外服务器”这三个方面的一些知识香港虚拟空间香港虚拟主机空间哪家最好合肥虚拟主机虚拟主机怎么弄!云南虚拟主机云南服务器托管广西虚拟主机虚拟机如何实现桥接方式-联网域名交易域名交易的流程是怎么样的?花生壳域名用花生壳可申请免费域名吗?花生壳域名如何使用花生壳免费域名
西安域名注册 com域名价格 vps代理 lamp 国内永久免费云服务器 hnyd 上海域名 空间出租 1g内存 免费测手机号 umax120 鲁诺 香港新世界中心 联通网站 web应用服务器 金主 阿里云邮箱个人版 免费主页空间 fatcow alexa世界排名 更多