⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qt3_aw510.html

📁 很好的数据库学习图书详细说明学习内容我学习后觉得这本书很有用 并且已经用于实践
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<font face="Arial, Helvetica, sans-serif"><b>invertMask </b></font><br>&nbsp;</td>
</tr>

<tr>
<td valign="top" align="right"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"><b>Syntax</b>&nbsp;</font></td>
<td valign="top"><code>SetIconProperty(IconID@"IconTitle"</code><code><font color="#666666">, #invertMask</font></code><font face="Geneva, Arial, Helvetica, sans-serif" size="-1">,</font><code><font color="#666666">state</font></code><code><font color="#666666">)</font></code><p>

<pre>
GetIconProperty(IconID@"IconTitle", #invertMask)
</pre>
</td>
</tr>

<tr>
<td valign="top" align="right"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"><b>Type</b>&nbsp;</font></td>
<td valign="top"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1">Icon property</font><br>&nbsp;</td>
</tr>

<tr>
<td valign="top" align="right"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"><b>Description</b>&nbsp;</font></td>
<td valign="top"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1">This property controls the way Authorware interprets a QuickTime movie's </font><code>mask</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> property. The </font><code>state</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> parameter can have these values:</font><p>

<font face="Arial, Helvetica, sans-serif" size="-1"><b>TRUE</b></font><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> The QuickTime movie is drawn in the white pixels of the movie's mask. </font><p>

<font face="Arial, Helvetica, sans-serif" size="-1"><b>FALSE</b></font><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> The QuickTime movie is drawn in the black pixels of the movie's mask. </font><p>

<font face="Geneva, Arial, Helvetica, sans-serif" size="-1">The </font><code>invertMask</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> property can be tested and set. The default </font><code><font color="#666666">state</font></code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> value is </font><code>FALSE</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">. </font><p>

<font face="Geneva, Arial, Helvetica, sans-serif" size="-1">Specify a mask icon using the </font><code>mask</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> icon property before setting </font><code>invertMask</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">. The QuickTime movie must be set to display direct to screen for </font><code>invertMask</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> to have an effect.</font><br>&nbsp;</td>
</tr>

<tr>
<td valign="top" align="right"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"><b>Example</b>&nbsp;</font></td>
<td valign="top"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1">This script reverses the current setting of the </font><code>invertMask</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> property of a QuickTime movie named "Starburst."</font><p>

<pre>
state := GetIconProperty(IconID@"StarBurst", #invertMask)
SetIconProperty(IconID@"StarBurst", #invertMask, ~state)
</pre>
</td>
</tr>

<tr>
<td valign="top" align="right"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"><b>Related&nbsp;Property</b>&nbsp;</font></td>
<td valign="top"><code><a href="#mask">mask</a></code><p>

<br>
<font face="Arial, Helvetica, sans-serif"><b>isPastCuePoint </b></font><br>&nbsp;</td>
</tr>

<tr>
<td valign="top" align="right"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"><b>Syntax</b>&nbsp;</font></td>
<td valign="top"><code>CallSprite(IconID@"IconTitle", #isPastCuePoint, </code><code><font color="#666666">cuePointID</font></code><code>)</code><br>&nbsp;</td>
</tr>

<tr>
<td valign="top" align="right"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"><b>Type</b>&nbsp;</font></td>
<td valign="top"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1">Xtra function</font><br>&nbsp;</td>
</tr>

<tr>
<td valign="top" align="right"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"><b>Description</b>&nbsp;</font></td>
    <td valign="top"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1">This 
      function returns the number of times a sprite passes a specified cue point 
      in its file. The </font><code><font color="#666666">cuePointID</font></code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> 
      parameter may be an integer or a name. </font> 
      <p> <font face="Geneva, Arial, Helvetica, sans-serif" size="-1">If </font><code><font color="#666666">cuePointID</font></code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> 
        is a number, </font><code>isPastCuePoint</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> 
        returns 1 if the cue point has passed and 0 if it hasn't been passed. 
        For example, if <code><font color="#666666">cuePointID</font></code> is 
        2, then <code>isPastCuePoint</code> will return 1 if the second cue point 
        in the QuickTime movie has passed.</font>
      <p>

<font face="Geneva, Arial, Helvetica, sans-serif" size="-1">If </font><code><font color="#666666">cuePointID</font></code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> is a name, </font><code>isPastCuePoint</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> returns the number of cue points with that name that have passed.</font><p>

<font face="Geneva, Arial, Helvetica, sans-serif" size="-1">If the value specified for </font><code><font color="#666666">cuePointID</font></code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> doesn't exist in the QuickTime movie, the function returns 0. </font><p>

<font face="Geneva, Arial, Helvetica, sans-serif" size="-1">The number returned by </font><code>isPastCuePoint</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> is based on the absolute position of the sprite in the QuickTime movie. For example, if a movie passes cue point Main and then loops and passes Main again, </font><code>isPastCuePoint</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> returns 1 instead of 2. </font><p>

<font face="Geneva, Arial, Helvetica, sans-serif" size="-1">When the result of </font><code>isPastCuePoint</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> is treated as a Boolean value, the function returns </font><code>TRUE</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> if any cue points identified by </font><code>cuePointID</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> have passed, and </font><code>FALSE</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> if no cue points are passed. </font>
      <p> <font face="Geneva, Arial, Helvetica, sans-serif" size="-1">Use SoundEdit 
        to insert a cue point in a QuickTime file. SoundEdit uses the term "marker" 
        to refer to the cue points.</font>
      <p><font face="Geneva, Arial, Helvetica, sans-serif" size="-1">Newly imported 
        QuickTime movies have the </font><code>streaming</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> 
        property set </font><code>TRUE</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> 
        by default. This means that cue points will be unavailable until the <a href="#streaming"><code>streaming</code></a> 
        property is set to </font><code>FALSE</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">.</font><br>
        &nbsp;
    </td>
</tr>

<tr>
<td valign="top" align="right"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"><b>Related&nbsp;Property</b>&nbsp;</font></td>
<td valign="top"><code><a href="#cuePointNames">cuePointNames</a></code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">, </font><code><a href="#cuePointTimes">cuePointTimes</a></code><p>

<br>
<font face="Arial, Helvetica, sans-serif"><b>loop</b></font><br>&nbsp;

</td>
</tr>

<tr>
<td valign="top" align="right"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"><b>Syntax</b>&nbsp;</font></td>
<td valign="top"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"></font><code>SetIconProperty(IconID@"IconTitle"</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">, #</font><code>loop,</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> state)</font><p>

<pre>
GetIconProperty(IconID@"IconTitle", #loop)
</pre>
<p>

</td>
</tr>

<tr>
<td valign="top" align="right"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"><b>Type</b>&nbsp;</font></td>
<td valign="top"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1">Icon property</font><p>

</td>
</tr>

<tr>
<td valign="top" align="right"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"><b>Description</b>&nbsp;</font></td>
<td valign="top"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1">This property determines whether the specified QuickTime movie is set to loop (</font><code>TRUE</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">) or not (</font><code>FALSE</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">).</font><p>

</td>
</tr>

<tr>
<td valign="top" align="right"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"><b>Example</b>&nbsp;</font></td>
<td valign="top"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1">This script sets the QuickTime movie named "Starburst" to loop.</font><p>

<pre>
SetIconProperty(IconID@"StarBurst", #loop, TRUE)
</pre>
<p>

<br>
<font face="Arial, Helvetica, sans-serif"><b>loopBounds</b></font><br>&nbsp;</td>
</tr>

<tr>
<td valign="top" align="right"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"><b>Syntax</b>&nbsp;</font></td>
<td valign="top"><code>SetSpriteProperty(IconID@"IconTitle"</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">, #</font><code>loopBounds</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">, [</font><code><font color="#666666">startTime, endTime</font></code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">])</font><p>

<pre>
GetSpriteProperty(IconID@"IconTitle", #loopBounds)
</pre>
</td>
</tr>

<tr>
<td valign="top" align="right"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"><b>Type</b>&nbsp;</font></td>
<td valign="top"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1">Sprite property</font><br>&nbsp;</td>
</tr>

<tr>
<td valign="top" align="right"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"><b>Description</b>&nbsp;</font></td>
<td valign="top"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1">This property sets the internal loop points for a QuickTime sprite. The loop points are specified as a list:</font><p>

<pre>
[startTime, endTime]
</pre>
<p>

<font face="Geneva, Arial, Helvetica, sans-serif" size="-1">The </font><code><font color="#666666">startTime</font></code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> and </font><code><font color="#666666">endTime</font></code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> parameters must meet these requirements:</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"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1">Both parameters must be integers that specify times in ticks (60ths of a second).</font></td>
</tr>

<tr>
<td valign="top" width="14"><img src="images/tri.gif" width="14" height="10" vspace="2"></td>
<td valign="top"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1">The values must range from 0 to the duration of the QuickTime movie.</font></td>
</tr>

<tr>
<td valign="top" width="14"><img src="images/tri.gif" width="14" height="10" vspace="2"></td>
<td valign="top"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1">The starting time must be less than the ending time.</font></td>
</tr>

</table>

<p>

<font face="Geneva, Arial, Helvetica, sans-serif" size="-1">If any of these requirements is not met, the QuickTime movie loops through its entire duration.</font><p>

<font face="Geneva, Arial, Helvetica, sans-serif" size="-1">The </font><code>loopBounds</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> property has no effect if the movie's </font><code>loop</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> property is set to </font><code>FALSE</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">. Authorware uses these rules to decide how to loop the movie:</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"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1">If the ending time specified by </font><code>loopBounds</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> is reached, the movie loops back to the starting time.</font></td>
</tr>

<tr>
<td valign="top" width="14"><img src="images/tri.gif" width="14" height="10" vspace="2"></td>
<td valign="top"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1">If the end of the movie is reached, the movie loops back to the start of the movie.</font></td>
</tr>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -