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
#ր   	)    _{?` 1         ( txt target0  	     @   	          ,j         U     _parent txt _name _rotation      NO     N    GO   @   ?
     thing ?     speed  fast  	z    ?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         n  ̙ ߙ           B~	^o.E&
k`} kIޫ
'ڗOۊ^w~Mzdv~{bz0@rpr{m]ߕa})K{{՜	*ߢe5T          !5d=lY|p9C. )-!n})r  i'@ސm-v΅iTL}L>Λi-Ϭgt6]{D&;C2*%:apH[V0B&}.~e4ət;{DFՙi% c&ڊFZ:oN'6|K 眚gxF.eUV0&D	%     	    w2           (  <P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="22" COLOR="#000000">Two ways to measure TIME with scripts</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>  
 X	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.</FONT></P>   ; 	{    g( 2            (  <P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#000000">getTimer():</FONT></P> 	  78	!    g6
0	           ( txt0 
  	    o 2            (  <P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#000000">seconds [getTimer()/1000]:</FONT></P>    	"    o0	           ( txt1   @	{    g%' 2  333       (  <P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#333333">counter is:</FONT></P>   !ހ	!    g7O
0	 333       ( txt2   ct 	    o 2  333       (  <P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#333333">seconds [counter/12]*:</FONT></P>   4ހ	"    o0	 333       ( txt3   A5 	    9  2            (  <P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#000000">* This movie is set to run at 12 frame per second.  Flash is FRAME based, not strictly tied to time.</FONT></P>    	   w
2            (  <P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#000000">Ideally, both methods should tell us that the same</FONT></P><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#000000">number of seconds has passed, but ...  </FONT></P>   T	"    oa0	           ( txt4   / 	"    oa0	           ( txt5   /> 	    w!(2            (  <P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#000000">(getTimer/1000)<B>/</B>(counter/12) is:</FONT></P>   c	    w!(2            (  <P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#000000">(counter/12)<B>/</B>(getTimer/1000) is:</FONT></P>   b ?    U`     5-2SS, MOO550KT,? L   C    U`  f    !5-ՙed`u`& 
`%yi&~ ZZ  C    U`        !5-ՙed`u`& 
`%yi&~ ZZ                       3 	 speed fast dup slowDown slow txt6 ON speedUp off    I +           R    8    I &           R      J`	    o2    f       (  <P ALIGN="LEFT"><FONT FACE="_serif" SIZE="10" COLOR="#000066">click here to really slow things down:</FONT></P>   J 	%     g5(0 @         ( txt6 off    `?!   ! p 	R   O@?   "  
 !                 w  #   B              # 	  # wح2  fff       (  <P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="10" COLOR="#666666">I am a &quot;script clip&quot;.</FONT></P><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="10" COLOR="#666666">My only function is to execute scripts.</FONT></P><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="10" COLOR="#666666">Normally, I can be invisible.</FONT></P><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="10" COLOR="#666666">This is my script:</FONT></P><P ALIGN="LEFT"></P><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="10" COLOR="#666666">onClipEvent (enterFrame) {</FONT></P><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="10" COLOR="#666666">    // getTimer():</FONT></P><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="10" COLOR="#666666">    _parent.txt0 = getTimer();</FONT></P><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="10" COLOR="#666666">    _parent.txt1 = getTimer()/1000;</FONT></P><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="10" COLOR="#666666">    // counter:</FONT></P><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="10" COLOR="#666666">    counter++;    </FONT></P><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="10" COLOR="#666666">    _parent.txt2 =counter;</FONT></P><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="10" COLOR="#666666">    _parent.txt3 =counter/12;</FONT></P><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="10" COLOR="#666666">    // comparison:</FONT></P><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="10" COLOR="#666666">    _parent.txt4 = _parent.txt3/_parent.txt1;</FONT></P><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="10" COLOR="#666666">    _parent.txt5 = _parent.txt1/_parent.txt3;</FONT></P><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="10" COLOR="#666666">}</FONT></P><P ALIGN="LEFT"></P> 	   $   " ]  # c@       $ a       0  _parent txt0 txt1 counter txt2 txt3 txt4 txt5    4O   4   O P   O       O     N   NO     N   NO   @   
