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

📄 qt3_aw510.html

📁 很好的数据库学习图书详细说明学习内容我学习后觉得这本书很有用 并且已经用于实践
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<td valign="top"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1">This script toggles forward and reverse playback for the specified QuickTime movie:</font><p>

<pre>
if (GetSpriteProperty(@"QT3", #mRate)) = 1 then
        SetSpriteProperty(@"QT3", #mRate,-1)
    else
        SetSpriteProperty(@"QT3", #mRate,1)
end if
</pre>
<p>

<br>
<font face="Arial, Helvetica, sans-serif"><b>mTime</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>mTime</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">, </font><code><font color="#666666">value</font></code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">)</font><p>

<pre>
GetSpriteProperty(IconID@"IconTitle", #<code>mTime</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">)
</font></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 determines the current time of a QuickTime movie playing in the specified icon. The value of the </font><code>mTime </code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">property is measured in ticks.</font><p>

<font face="Geneva, Arial, Helvetica, sans-serif" size="-1">The </font><code>mTime</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> property can be tested and set.</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 restarts the QuickTime movie playing in the "QT3" icon:</font><p>

<pre>
SetSpriteProperty(@"QT3", #mTime, 0)
</pre>
<p>

<br>
<font face="Arial, Helvetica, sans-serif"><b>pausedAtStart </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">, #</font></code><code>pausedAtStart,</code><code><font color="#666666">state</font></code><code><font color="#666666">)</font></code><p>

<pre>
GetIconProperty(IconID@"IconTitle", #<code>pausedAtStart</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">)
</font></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 specifies whether the Paused checkbox in the QuickTime Xtra Properties dialog box is checked or not. The </font><code><font color="#666666">state</font></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 Paused checkbox is checked. </font><p>

<font face="Arial, Helvetica, sans-serif" size="-1"><b>FALSE</b></font><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> The Paused checkbox is not checked. </font><p>

<font face="Geneva, Arial, Helvetica, sans-serif" size="-1">The </font><code>pausedAtStart</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> property can be tested and set.</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 sets the </font><code>pausedAtStart</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> property of a QuickTime movie named "QT3" to </font><code>TRUE</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">:</font><p>

<pre>
SetIconProperty(@"QT3", #<code>pausedAtStart</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">,TRUE)
</font></pre><font face="Geneva, Arial, Helvetica, sans-serif" size="2">
<p>

<br>
<font face="Arial, Helvetica, sans-serif"><b>percentStreamed </b></font><br>&nbsp;</font></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">GetIconProperty(IconID@"IconTitle", #</font><code>percentStreamed</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>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 returns a value between 1 and 100 to indicate how much of the QuickTime movie has been downloaded. The </font><code>percentStreamed</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> property can be tested but not set.</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="#mediaReady">mediaReady</a></code><p>

<br>
<font face="Arial, Helvetica, sans-serif"><b>preload </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">, #</font></code><code>preload,</code><code><font color="#666666">state</font></code><code><font color="#666666">)</font></code><p>

<pre>
GetIconProperty(IconID@"IconTitle", #<code>preload</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">)
</font></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 specifies whether the Enable Preload checkbox in the QuickTime Xtra Properties dialog box is checked or not. 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 Enable Preload checkbox is checked. </font><p>

<font face="Arial, Helvetica, sans-serif" size="-1"><b>FALSE</b></font><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> The Enable Preload checkbox is not checked. </font><p>

<font face="Geneva, Arial, Helvetica, sans-serif" size="-1">The </font><code>preload</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> property can be tested and set.</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 sets the </font><code>preload</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> property of a QuickTime movie named "QT3" to </font><code>TRUE</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">:</font><p>

<pre>
SetIconProperty(@"QT3", #<code>preload</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">,TRUE)
</font></pre><font face="Geneva, Arial, Helvetica, sans-serif" size="2">
<p>

<br>
<font face="Arial, Helvetica, sans-serif"><b>QuickTimeVersion</b></font><br>&nbsp;</font></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">QuickTimeVersion()</font><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">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 a floating-point value that identifies the currently installed version of QuickTime.</font><p>

<font face="Geneva, Arial, Helvetica, sans-serif" size="-1">Windows users: If there are multiple versions of QuickTime 3.0 or later installed, </font><code>QuickTimeVersion</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> returns the latest version. If a version before QuickTime 3.0 is installed, </font><code>QuickTimeVersion</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> returns 2.1.2 regardless of the version installed.</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 uses </font><code>QuickTimeVersion</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> to check whether QuickTime is installed. If QuickTime version 3 or later is installed, Authorware jumps to a file containing a QuickTime video. If QuickTime isn't installed, Authorware jumps to a file that employs traditional Authorware animation.</font><p>

<pre>
if QuickTimeVersion() &gt;= 3 then
	JumpFile <code>"</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">SplashVideo</font><code>"</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">
else
	JumpFile </font><code>"</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">SplashAnimated</font><code>"</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">
end if
</font></pre><font face="Geneva, Arial, Helvetica, sans-serif" size="2">
<p>

<br>
<font face="Arial, Helvetica, sans-serif"><b>rotation</b></font><br>&nbsp;</font></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><font face="Geneva, Arial, Helvetica, sans-serif" size="2">, #</font><code>rotation</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">, </font><code><font color="#666666">degrees</font></code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">)</font><p>

<code>GetIconProperty(IconID@"IconTitle", #rotation)</code><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><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 rotation of a QuickTime sprite. This property does not rotate the sprite's bounding rectangle or the sprite's controller. Instead, it rotates the image a

⌨️ 快捷键说明

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