FWS"  x _     C %    ]D  3f f5h}z]]҅ ?    Times New Roman     %dwO5Dd^p0FXq,FvNpd3][2pdZ* L |98 T 6Y,4t0aluZ 5au@9
:29xtR܀ݭ*Y߆CJ4̻_ 5e75 HMQ[eRn,v~Hi"9V{.	F5Fjd
065^H	g v[vк`3L3@&S 75 5`-ۘieYP `4_@T@>c!}R IVBD,9=jIkPV`X-c}3eײ	mCʟڍJ(	0K Yf)鿀 5f
x[}]՞n7R_pq%Cq 5fZ&tB	 % Ru-[,1%&$	Y 4&%eJi8	] [RUA+˺+|n<쪀5g.tS\RZ+̦1E#9 d`3 & UF	Vhk):p`
RZ+0fD>4F.MM S(I42.#1{2ޅ 5axC#ʳ۔ic6Z 5bs d5ڤ+D0CM,K _&3T H ȶVK 9l&'6apT8#(l*	2%<y@S?Ra4v%`Y/J.0	<7+`1J
ۙrrGL` 5DT*׀dV,1(	$KF,Rd ^Q6@x+2e@YUf qb!ukZnc#[y-*f2 7&lܐ
I)=c  5KM b֦ދd%I8_/+ro$ b. %|Nں7Lw.K2Zi _Cd@4M3@UYrb 	^NRS!$T: vFkAlbK@$*bEp  5F%ӭƤx&rQ( x23 U f2:Ugr4TިfZ M\6. g_-L bf 5GexـȊ4@	S 1S8CwN\ Kdåri>LjD@& @-<m״'T`J!0`M`<9)À̶3Y$ M@{-2
Tc`\u2Ҭi.`*Lxg1z@ fSICZ-& 0SL W* .H 5FI][rL(2 KhѺT`X9:t;`tFފh+1 2$H&g\]UvGpY@ 5bwRz%xR@->CPP	?RlN]p$
^ N6-p]SKAw 0123456789aegrt o            UX%;0 Xx0u0  X:0  X*5u0 X;0  X17h X,;50 X&:uh X>80 X):0 PJ PPLE pP>E&PE  X
#ր   	,    g%	1         ( txt placeholder 	     @   	          ,j         U     _parent txt _name _rotation      NO     N    GO   @   ?
     thing ?     speed  fast   $    f .e  f5E^Em` 	    ?l  O  i copies thing this attachMovie _x _y _xscale _yscale _alpha removeMovieClip  slowDown            H      G	     R  G G  &  0   0 d     0G d     0G 	      P d speedUp   H         H )           G 
R   P         @      &  tdup ?     M           "~	[[G<
 UޫkGK}!hʡр [oV_L佦YjDFR%b^MzboV_Kl_k`+J                  "563(rRT8-ϥ._߀M$](8[LlwkL7YB{:Q2%/y3W:m8o~>Hv1S
JӲ>=$҇U"<N AisV*W=OҀ/Ҁ"죣93.%pTF)H$dj(/uk֒mI;̜ڧ'!,[riIzQW
o[D@    	   	 *2           (  <P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="22" COLOR="#000000">Two ways to measure TIME with ActionScript</FONT></P>  	 l?   
  Times New Roman   	   w!X2
           (  <P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="14" COLOR="#000000"><B>getTimer();</B></FONT></P><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#000000">returns the amount of time since the movie began, in milliseconds.</FONT></P>   '	1    W^ 2            (  <P ALIGN="LEFT"></P>   @U	.   w 2            (  <P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#000000">Use a variable as a <B>COUNTER</B>, incrementing it each frame, e.g.:  </FONT></P><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#000000">onClipEvent(enterFrame){ counter++ }</FONT></P>   N 	|    g- 2            (  <P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#000000">getTimer() =</FONT></P> 	  (8	!    g6
0
           ( txt0 
  	    o72            (  <P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#000000">getTimer()/1000 = <B>seconds:</B></FONT></P>    	"    o0
           ( txt1   P	y    g! 2  333       (  <P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#333333">counter =</FONT></P>   (Dހ	!    g7O
0
 333       ( txt2   ct 	    o2  333       (  <P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#333333">counter/12* =  <B>seconds: </B></FONT></P>   ހ	"    o0
 333       ( txt3   Q5 	      2  fff       (  <P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#666666">* This movie is set to run at 12 frames per second.  Flash is FRAME based, not strictly tied to clock time.</FONT></P>    	   w
2  333       (  <P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#333333">Ideally, both methods should tell us that the same</FONT></P><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#333333">number of seconds has passed, but ...  </FONT></P>   T	"    oa0 333       ( txt4   u	"    oa0 333       ( txt5   u	    o+2  333       (  <P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#333333">(getTimer/1000) <B>/ </B>(counter/12) = </FONT></P>   B	    o+2  333       (  <P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#333333">(counter/12) <B>/ </B>(getTimer/1000) =</FONT></P>   B?W    pe㉸         %~,3KQAww(h>  uM40    ?    U`     5-2SS, MOO550KT,? L   ?    U` f    5-2SS, MOO550KT,? L   ?    U`       5-2SS, MOO550KT,? L   ?     U`     5-2SS, MOO550KT,? L     !                    3 	 speed fast dup slowDown slow txt6 ON speedUp off    I +           R    8    I &           R     ! | 	   " oq2    f       (  <P ALIGN="LEFT"><FONT FACE="_serif" SIZE="10" COLOR="#000066">click here to really slow things down</FONT></P>  " 	%   # g5(0 @         ( txt6 off  # ki ?)   $ w >   5S`O~	k   %  
 $    /               @  #     d   #   B                #     2   # 	  & w	ð2  fff       (  <P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#666666">I am a &quot;script clip&quot;.</FONT></P><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#666666">My only function is to execute scripts.</FONT></P><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#666666">Normally, I can be invisible.</FONT></P><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#666666">This is my script:</FONT></P><P ALIGN="LEFT"></P><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#333333">onClipEvent (enterFrame) {</FONT></P><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#000000">   <FONT COLOR="#999999"> <FONT COLOR="#FF99FF">// getTimer():</FONT></FONT></FONT></P><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#333333">    _parent.txt0 = getTimer();</FONT></P><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#333333">    _parent.txt1 = getTimer()/1000;</FONT></P><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#000000">   <FONT COLOR="#666666"> <FONT COLOR="#FF99FF">// counter:</FONT></FONT></FONT></P><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#333333">    counter++;    </FONT></P><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#333333">    _parent.txt2 =counter;</FONT></P><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#333333">    _parent.txt3 =counter/12;</FONT></P><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#000000">    <FONT COLOR="#FF99FF">// comparison:</FONT></FONT></P><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#333333">    _parent.txt4 = _parent.txt3/_parent.txt1;</FONT></P><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#333333">    _parent.txt5 = _parent.txt1/_parent.txt3;</FONT></P><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#333333">}</FONT></P><P ALIGN="LEFT"></P> 	   '   % m@ & F@       ' <Q       0  _parent txt0 txt1 counter txt2 txt3 txt4 txt5    4O   4   O P   O       O     N   NO     N   NO   @   
