📄 controlvr_getactiveimage.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.getActiveImage()</title>
<link href="../shares/help.css" rel="stylesheet" type="text/css">
</head>
<body>
<h1><a href="controlvr_class.htm">controlVR</a>.getActiveImage()</h1>
<H4>Availability</H4>
<p>Flash Player 7 </p>
<H4>Edition</H4>
<p>Flash MX 2004.</p>
<H4>Usage</H4>
<pre>controlVR.getActiveImage()</pre>
<H4>Parameters</H4>
<p>None</p>
<H4>Returns</H4>
<p>Returns an integer of the current image displayed in controlVR.</p>
<H4>Description</H4>
<p>Get the number of the current displayed image in controlVR. The images are numbered in the order which they were placed in the .XML file, therefore the first images will be 1 and so forth. </p>
<H4>Example</H4>
<p>The following example willl stop the auto rotation when the active image reaches 11:</p>
<code><pre>
onEnterFrame = function(){
if(vr_mc.getActiveImage() == 11){
vr_mc.spinStop()
}
}</pre></code>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -