source: Collectif_Otra/global.reflet-web.net/lib/reflet_swf_dependances/greensock-tweening-platform-as3/docs/com/greensock/plugins/SetSizePlugin.html @ 2813

Last change on this file since 2813 was 2813, checked in by kent1, 10 years ago

Des librairies manquantes

File size: 7.1 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<html>
3<head>
4<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
5<link rel="stylesheet" href="../../../style.css" type="text/css" media="screen">
6<link rel="stylesheet" href="../../../print.css" type="text/css" media="print">
7<meta content="SetSizePlugin,com.greensock.plugins.SetSizePlugin" name="keywords">
8<title>com.greensock.plugins.SetSizePlugin</title>
9</head>
10<body>
11<script type="text/javascript" language="javascript" src="../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../cookies.js"></script><script type="text/javascript" language="javascript">
12<!--
13                                asdocTitle = 'SetSizePlugin - API Documentation';
14                                var baseRef = '../../../';
15                                window.onload = configPage;
16                        --></script>
17<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
18<tr>
19<td align="left" class="titleTableTitle">API Documentation</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../all-classes.html')" href="../../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../all-classes.html')" href="../../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../index-list.html')" href="../../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../../index.html?com/greensock/plugins/SetSizePlugin.html&amp;com/greensock/plugins/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../images/logo.jpg"></td>
20</tr>
21<tr class="titleTableRow2">
22<td align="left" id="subTitle" class="titleTableSubTitle">Class&nbsp;SetSizePlugin</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#constantSummary">Constants</a></td>
23</tr>
24<tr class="titleTableRow3">
25<td colspan="2">&nbsp;</td>
26</tr>
27</table>
28<script type="text/javascript" language="javascript">
29<!--
30if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Class SetSizePlugin"); titleBar_setSubNav(true,true,false,false,false,false,false,false,false,false,false,false,false,false);}
31--></script>
32<div class="MainContent">
33<table cellspacing="0" cellpadding="0" class="classHeaderTable">
34<tr>
35<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">com.greensock.plugins</a></td>
36</tr>
37<tr>
38<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class SetSizePlugin</td>
39</tr>
40<tr>
41<td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">SetSizePlugin <img class="inheritArrow" alt="Inheritance" title="Inheritance" src="../../../images/inherit-arrow.gif"> <a href="TweenPlugin.html">TweenPlugin</a></td>
42</tr>
43</table>
44<p></p>
45 Some components require resizing with setSize() instead of standard tweens of width/height in
46 order to scale properly. The SetSizePlugin accommodates this easily. You can define the width,
47 height, or both. <br /><br />
48 
49 <b>USAGE:</b><br /><br />
50 <code>
51   import com.greensock.TweenLite; <br />
52   import com.greensock.plugins.TweenPlugin; <br />
53   import com.greensock.plugins.SetSizePlugin; <br />
54   TweenPlugin.activate([SetSizePlugin]); //activation is permanent in the SWF, so this line only needs to be run once.<br /><br />
55 
56   TweenLite.to(myComponent, 1, {setSize:{width:200, height:30}}); <br /><br />
57 </code>
58 
59 <b>Copyright 2009, GreenSock. All rights reserved.</b> This work is subject to the terms in <a href="http://www.greensock.com/terms_of_use.html">http://www.greensock.com/terms_of_use.html</a> or for corporate Club GreenSock members, the software agreement that was issued with the corporate membership.
60 
61 <p></p>
62<br>
63<hr>
64</div>
65<a name="propertySummary"></a>
66<div class="summarySection">
67<div class="summaryTableTitle">Public Properties</div>
68<div class="showHideLinks">
69<div class="hideInheritedProperty" id="hideInheritedProperty">
70<a onclick="javascript:setInheritedVisible(false,'Property');" href="#propertySummary" class="showHideLink"><img src="../../../images/expanded.gif" class="showHideLinkImage"> Hide Inherited Public Properties</a>
71</div>
72<div class="showInheritedProperty" id="showInheritedProperty">
73<a onclick="javascript:setInheritedVisible(true,'Property');" href="#propertySummary" class="showHideLink"><img src="../../../images/collapsed.gif" class="showHideLinkImage"> Show Inherited Public Properties</a>
74</div>
75</div>
76<table id="summaryTableProperty" class="summaryTable hideInheritedProperty" cellpadding="3" cellspacing="0">
77<tr>
78<th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
79</tr>
80<tr class="hideInheritedProperty">
81<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="TweenPlugin.html#changeFactor">changeFactor</a> : Number<div class="summaryTableDescription"></div>
82</td><td class="summaryTableOwnerCol"><a href="TweenPlugin.html">TweenPlugin</a></td>
83</tr>
84</table>
85</div>
86<a name="constantSummary"></a>
87<div class="summarySection">
88<div class="summaryTableTitle">Public Constants</div>
89<div class="showHideLinks">
90<div class="hideInheritedConstant" id="hideInheritedConstant">
91<a onclick="javascript:setInheritedVisible(false,'Constant');" href="#constantSummary" class="showHideLink"><img src="../../../images/expanded.gif" class="showHideLinkImage"> Hide Inherited Public Constants</a>
92</div>
93<div class="showInheritedConstant" id="showInheritedConstant">
94<a onclick="javascript:setInheritedVisible(true,'Constant');" href="#constantSummary" class="showHideLink"><img src="../../../images/collapsed.gif" class="showHideLinkImage"> Show Inherited Public Constants</a>
95</div>
96</div>
97<table id="summaryTableConstant" class="summaryTable hideInheritedConstant" cellpadding="3" cellspacing="0">
98<tr>
99<th>&nbsp;</th><th colspan="2">Constant</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
100</tr>
101<tr class="hideInheritedConstant">
102<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="TweenPlugin.html#VERSION">VERSION</a> : Number = 1.3<div class="summaryTableDescription">[static]</div>
103</td><td class="summaryTableOwnerCol"><a href="TweenPlugin.html">TweenPlugin</a></td>
104</tr>
105</table>
106</div>
107<script type="text/javascript" language="javascript">
108<!--
109showHideInherited();
110--></script>
111<div class="MainContent">
112<br>
113<br>
114<hr>
115<br>
116<p></p>
117<center class="copyright"> 
118</center>
119</div>
120</body>
121</html>
122<!-- -->
Note: See TracBrowser for help on using the repository browser.