<DIV>
<DIV>Thanks everyone for your reply. I tried the SharedPool idea, but a message do not understand warning, and I don't know where this error comes from. Here are what I did:</DIV>
<DIV>1. I made a SharedPool subclass named GUIConstants that has a class variable, totalAnimatedFrame.</DIV>
<DIV>2. I initialized it to be 5 in the initialization.</DIV>
<DIV>initialize<BR> "to initialize constants"<BR> <BR> super initialize.<BR> totalAnimatedFrame _ 5.<BR> </DIV>
<DIV>3. I created another class named testGUI that uses the value of totalAnimatedFrame.</DIV>
<DIV> initialize<BR> "to initialize"<BR> <BR> super initialize.<BR> variable _ GUIConstants totalAnimatedFrame.</DIV>
<DIV> </DIV>
<DIV>In the workspace, I executed:</DIV>
<DIV>c _ GUIConstants.<BR>t _ TestGUI new.</DIV>
<DIV> </DIV>
<DIV>All of these works grant me a warning, Message not understood: GUIConstants >> totalAnimatedFrames.</DIV>
<DIV>I traced through the error and found it located in the initilization of the testGUI.</DIV>
<DIV> </DIV>
<DIV>If anyone knows, please let me know how I can fix the problem.</DIV>
<DIV> </DIV>
<DIV>Thanks,</DIV>
<DIV> </DIV>
<DIV>Hoang Hao <BR><B><I>Tim Rowledge <tim@rowledge.org></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>> What do you want the interface for?<BR>> <BR>> If it is just to provide a place to declare some useful constants and <BR>> 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>