<DIV>
<DIV>Thanks everyone for your reply.&nbsp; I tried the SharedPool idea, but a message do not understand warning, and I don't know where this error comes from.&nbsp; Here are what I did:</DIV>
<DIV>1.&nbsp; I made a SharedPool subclass&nbsp;named GUIConstants that has a class variable, totalAnimatedFrame.</DIV>
<DIV>2.&nbsp; I&nbsp;initialized it to be 5 in the initialization.</DIV>
<DIV>initialize<BR>&nbsp;"to initialize constants"<BR>&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp; super initialize.<BR>&nbsp;&nbsp;&nbsp;&nbsp; totalAnimatedFrame _ 5.<BR>&nbsp;</DIV>
<DIV>3.&nbsp; I created another class named testGUI that uses the value of totalAnimatedFrame.</DIV>
<DIV>&nbsp;&nbsp;&nbsp; initialize<BR>&nbsp;"to initialize"<BR>&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp; super initialize.<BR>&nbsp;variable _ GUIConstants totalAnimatedFrame.</DIV>
<DIV>&nbsp;</DIV>
<DIV>In the workspace, I executed:</DIV>
<DIV>c _ GUIConstants.<BR>t _ TestGUI new.</DIV>
<DIV>&nbsp;</DIV>
<DIV>All of these works grant me a warning, Message not understood: GUIConstants &gt;&gt; totalAnimatedFrames.</DIV>
<DIV>I traced through the error and found it located in the initilization of the&nbsp;testGUI.</DIV>
<DIV>&nbsp;</DIV>
<DIV>If anyone knows, please let me know how I can fix the problem.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Hoang Hao&nbsp;<BR><B><I>Tim Rowledge &lt;tim@rowledge.org&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Todd Blanchard <TBLANCHARD@MAC.COM>wrote:<BR><BR>&gt; What do you want the interface for?<BR>&gt; <BR>&gt; If it is just to provide a place to declare some useful constants and <BR>&gt; share them with a few classes, then you may want a PoolDictionary<BR>That would be a SharedPool subclass these days. Still a tricky little bugger<BR>but a bit less awful than randomly assembled dictionaries. At least they assist<BR>in providing a declarative (re)initializer.<BR><BR><BR><BR>tim<BR>--<BR>Tim Rowledge, tim@rowledge.org, http://www.rowledge.org/tim<BR>Useful random insult:- A 20th century man... The guy has no future.<BR><BR></BLOCKQUOTE></DIV><p>
                <hr size=1>Discover Yahoo!<br> 
Stay in touch with email, IM, photo sharing & more. <a href="http://us.rd.yahoo.com/evt=32659/*http://discover.yahoo.com/stayintouch.html">Check it out!</a>