📄 awflash28.html
字号:
<html>
<head><title>Macromedia Authorware - Flash Asset Xtra Command Reference: clickMode</title>
<script language="Javascript">
function swapImage(imgName,newImg){
if ((navigator.appName == 'Netscape' && parseFloat(navigator.appVersion) >= 3) || (parseFloat(navigator.appVersion) >= 4)){
eval('document.' + imgName + '.src = "' + newImg + '"');
}
}
</script>
</head>
<body link="#333399" vlink="#660033" alink="#000000" bgcolor="#FFFFFF">
<table border="0" cellspacing="0" cellpadding="0" width="95%">
<tr>
<font face="Arial, Helvetica, sans-serif" size="+1"><b>clickMode</b></font><br>
</tr>
<tr>
<td valign="top" align="right"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"><b>Syntax</b></font> </td>
<td valign="top"><code>SetIconProperty(@"</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">IconTitle</font><code>", #clickMode, </code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">value</font><code>)</code><p>
<code>SetSpriteProperty(@"IconTitle", #clickMode, </code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">value</font><code>)</code><br> </td>
</tr>
<tr>
<td valign="top" align="right"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"><b>Type</b></font> </td>
<td valign="top"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1">Icon property, sprite property</font><br> </td>
</tr>
<tr>
<td valign="top" align="right"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"><b>Description</b> </font></td>
<td valign="top"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1">This property controls when the Flash movie sprite detects mouse click events (mouseUp and mouseDown) and when it detects rollovers (mouseEnter, mouseWithin, and mouseLeave). The </font><code>clickMode</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> property can have these values:</font><p>
<table cellspacing="0" cellpadding="4">
<tr>
<td valign="top" width="14"><img src="images/tri.gif" width="14" height="10" vspace="2"></td>
<td valign="top"><code>#boundingBox</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> Mouse click events are detected anywhere within the sprite's bounding rectangle. Rollovers are detected at the sprite's boundaries.</font></td>
</tr>
<tr>
<td valign="top" width="14"><img src="images/tri.gif" width="14" height="10" vspace="2"></td>
<td valign="top"><code>#opaque</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> If the sprite's mode is set to transparent, mouse click events are detected only when the pointer is over an opaque portion of the sprite. Rollovers are detected at the boundaries of the opaque portions of the sprite. If the sprite's mode is anything other than transparent, this setting has the same effect as the </font><code>#boundingBox</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> setting.</font></td>
</tr>
<tr>
<td valign="top" width="14"><img src="images/tri.gif" width="14" height="10" vspace="2"></td>
<td valign="top"><code>#object</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> Mouse click events are detected when the mouse pointer is over any filled (non-background) area of the sprite. Rollovers are detected at the boundaries of any filled area. This setting works regardless of the sprite's mode.</font></td>
</tr>
</table>
<p>
<font face="Geneva, Arial, Helvetica, sans-serif" size="-1">You can get and set the value of the </font><code>clickMode </code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">property. The default is </font><code>#opaque</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">.</font><p>
<table border="0">
<tr>
<td><a href="awflash2.html" onmouseover="swapImage('back','images/contentsover.gif'); window.status='To Table of Contents';return true" onmouseout="swapImage('back','images/contents.gif')"><img src="images/contents.gif" name="back" border="0" vspace=1 alt="To Table of Contents"></a></td>
<td><a href="awflash27.html" onmouseover="swapImage('prev','images/prevover.gif'); window.status='Back to previous document';return true" onmouseout="swapImage('prev','images/prev.gif')"><img src="images/prev.gif" name="prev" border="0" vspace=1 alt="Back to Previous document"></a></td>
<td><a href="awflash29.html" onmouseover="swapImage('next','images/nextover.gif'); window.status='Forward to next document';return true" onmouseout="swapImage('next','images/next.gif')"><img src="images/next.gif" name="next" border="0" vspace=1 alt="Forward to next document"></a></td>
</tr>
</table>
<br><p>
</td>
</tr>
</table>
<br><p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -