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

📄 awflash244.html

📁 对java从基础到高级的全面的介绍,还有大量实力可供参考
💻 HTML
字号:

<html>
<head><title>Macromedia Authorware - Flash Asset Xtra Command Reference: rotation</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>rotation</b></font><br>
    &nbsp; </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>", 
      #rotation, </code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">degree</font><code>)</code>
      <p> <code>SetIconProperty(@"</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">IconTitle</font><code>", 
        #rotation, </code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">degree</font><code>)</code><br>
        &nbsp;
    </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>
      &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 Flash movie sprite within the sprite's 
      bounding rectangle. The </font><code>rotation</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> 
      property is specified in degrees as a floating-point number.</font>
      <p> <font face="Geneva, Arial, Helvetica, sans-serif" size="-1">The sprite 
        itself doesn't rotate; instead, the Flash movie rotates within the sprite's 
        bounding rectangle. In effect, the sprite's bounding rectangle acts as 
        a window through which you can see the Flash movie. The Flash movie rotates 
        around its origin point, as specified by its </font><code>originMode</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> 
        property.</font>
      <p> <font face="Geneva, Arial, Helvetica, sans-serif" size="-1">You can 
        get and set the value of the </font><code>rotation</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> 
        property. The default setting is 0.</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 
      routine rotates a Flash movie sprite 360 degrees in 10-degree increments.</font>
      <p> 
      <pre>
SetIconProperty(@"Flash Icon", #obeyScoreRotation, FALSE)
repeat with i := 1 to 36
    SetSpriteProperty(@"Flash Icon", #rotation, i * 10)
end repeat<br></pre>
      <p> 
    </td>
  </tr>
  <tr>
    <td valign="top" align="right"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"><b>Related&nbsp;Functions</b></font></td>
    <td valign="top">
      <p><code><a href="awflash261.html">obeyScoreRotation</a></code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"> 
        property</font><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="awflash243.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="awflash245.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>
      <p>&nbsp; </p>
    </td>
  </tr>
</table>

<br><p>

</body>
</html>

⌨️ 快捷键说明

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