📄 controlvr_movedown.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>controlVR.moveDown()</title>
<link href="../shares/help.css" rel="stylesheet" type="text/css">
</head>
<body>
<h1><a href="controlvr_class.htm">controlVR</a>.moveDown()</h1>
<H4>Availability</H4>
<p>Flash Player 7 </p>
<H4>Edition</H4>
<p>Flash MX 2004.</p>
<H4>Usage</H4>
<pre>controlVR.moveDown()</pre>
<H4>Parameters</H4>
<p>None.</p>
<H4>Returns</H4>
<p>Returns nothing. </p>
<H4>Description</H4>
<p>Moves the object one layer downwards.</p>
<p>Note: Nothing will happen if the object is on the lowest layer.</p>
<H4>Example</H4>
<p>The first example willl be placed on a button and will move the object one layer down per click:</p>
<code><pre>
on(press){
vr_mc.moveDown()
}</pre></code>
<p>The second example will also be placed on a button. If the user clicks and holds the button the object will continue to move downwards until the user releases the button or until it reaches the bottom most layer. </p>
<code><pre>on(press){
var moveID = setInterval(vr_mc , "moveDown",50)
}
on(release){
clearInterval(moveID);
}
on(releaseOutside){
clearInterval(moveID);
}</pre></code>
<h4>See also</h4>
<p> <a href="controlvr_moveleft.htm">controlVR.moveLeft()</a>,<a href="controlvr_moveup.htm">controlVR.moveUp()</a>,<a href="controlvr_moveright.htm">controlVR.moveRight()</a></p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -