📄 controlvr_zoomout.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.zoomOut()</title>
<link href="../shares/help.css" rel="stylesheet" type="text/css">
</head>
<body>
<h1><a href="controlvr_class.htm">controlVR</a>.zoomOut()</h1>
<H4>Availability</H4>
<p>Flash Player 7 </p>
<H4>Edition</H4>
<p>Flash MX 2004.</p>
<H4>Usage</H4>
<pre>controlVR.zoomOut()</pre>
<H4>Parameters</H4>
<p>None.</p>
<H4>Returns</H4>
<p>Returns nothing. </p>
<H4>Description</H4>
<p>Calling the zoomOut method will decrease the object size by 10 percent.</p>
<p>Note: Nothing will happen once the object has reached 50 percent.</p>
<H4>Example</H4>
<p>The first example willl be placed on a button and will zoom the object out :</p>
<code><pre>
on(release){
vr_mc.zoomOut()
}</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 zoom outwards until the user releases the button or until it reaches it's lowest zoom percentage. </p>
<code><pre>on(press){
var zoomID = setInterval(vr_mc , "zoomOut",50)
}
on(release){
clearInterval(zoomID);
}
on(releaseOutside){
clearInterval(zoomID);
}</pre></code>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -