字符串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

UCloud 618活动:香港云服务器月付13元起;最高可购3年,AMD/Intel系列

ucloud6.18推出全球大促活动,针对新老用户(个人/企业)提供云服务器促销产品,其中最低配快杰云服务器月付5元起,中国香港快杰型云服务器月付13元起,最高可购3年,有AMD/Intel系列。当然这都是针对新用户的优惠。注意,UCloud全球有31个数据中心,29条专线,覆盖五大洲,基本上你想要的都能找到。注意:以上ucloud 618优惠都是新用户专享,老用户就随便看看!点击进入:uclou...

DiyVM:香港VPS五折月付50元起,2核/2G内存/50G硬盘/2M带宽/CN2线路

diyvm怎么样?diyvm这是一家低调国人VPS主机商,成立于2009年,提供的产品包括VPS主机和独立服务器租用等,数据中心包括香港沙田、美国洛杉矶、日本大阪等,VPS主机基于XEN架构,均为国内直连线路,主机支持异地备份与自定义镜像,可提供内网IP。最近,DiyVM商家对香港机房VPS提供5折优惠码,最低2GB内存起优惠后仅需50元/月。点击进入:diyvm官方网站地址DiyVM香港机房CN...

UCloud:全球大促降价,云服务器全网最低价,1核1G快杰云服务器47元/年

ucloud:全球大促活动降价了!这次云服务器全网最低价,也算是让利用户了,UCloud商家调低了之前的促销活动价格,并且新增了1核1G内存配置快杰型云服务器,价格是47元/年(也可选2元首月),这是全网同配置最便宜的云服务器了!UCloud全球大促活动促销机型有快杰型云服务器和通用型云服务器,促销机房国内海外都有,覆盖全球20个城市,具体有北京、上海、广州、香港、 台北、日本东京、越南胡志明市、...

脚本大全为你推荐
虚拟空间租用我在网上租用了个虚拟空间。带域名。。想在里面放置AVI,等视频。放在目录里,然后怎么设置才能在域名观看呢英文域名中文域名与英文域名区别网站域名网站域名是什么网站服务器租用个人网站服务器租用一年多少钱海外域名什么叫海外域名?100m虚拟主机一般100-200M虚拟主机一天最多支持多少人访问啊?1g虚拟主机打算买个1G的虚拟主机,用来做什么好?下载虚拟主机虚拟机软件到那里下载。怎么安装mysql虚拟主机如何建立支持PHP+MySQL的虚拟主机?asp虚拟主机怎样查看虚拟主机是支持ASP还是PHP程序的
买虚拟主机 域名服务器上存放着internet主机的 suspended 国外网站代理服务器 警告本网站美国保护 ftp教程 免费dns解析 电信主机 国外视频网站有哪些 厦门电信 yundun 台湾google lick 游戏服务器出租 工信部网站备案查询 杭州电信宽带 免费网站加速 WHMCS server2008 ftp是什么东西 更多