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
目前云服务器市场竞争是相当的大的,比如我们在年中活动中看到各大服务商都找准这个噱头的活动发布各种活动,有的甚至就是平时的活动价格,只是换一个说法而已。可见这个行业确实竞争很大,当然我们也可以看到很多主机商几个月就消失,也有看到很多个人商家捣鼓几个品牌然后忽悠一圈跑路的。当然,个人建议在选择服务商的时候尽量选择老牌商家,这样性能更为稳定一些。近期可能会准备重新整理Vultr商家的一些信息和教程。以前...
一年一度的黑色星期五和网络星期一活动陆续到来,看到各大服务商都有发布促销活动。同时RAKsmart商家我们也是比较熟悉的,这次是继双十一活动之后的促销活动。在活动产品中基本上沿袭双11的活动策略,比如有提供云服务器七折优惠,站群服务器首月半价、还有新人赠送红包等活动。如果我们有需要RAKsmart商家VPS、云服务器、独立服务器等产品的可以看看他们家的活动。这次活动截止到11月30日。第一、限时限...
tmhhost放出了2021年的端午佳节+618年中大促的优惠活动:日本软银、洛杉矶200G高防cn2 gia、洛杉矶三网cn2 gia、香港200M直连BGP、韩国cn2,全都是高端优化线路,所有这些VPS直接8折,部分已经做了季付8折然后再在此基础上继续8折(也就是6.4折)。 官方网站:https://www.tmhhost.com 香港BGP线路VPS ,200M带宽 200M带...