[Flashcoders] An Issue of Encapsulation

2006-01-17 Thread Chris Kennon
Hi, If my understanding of encapsulation is misguided, please correct. In the following code snippet, should in the interest if encapsulation, the Good Morning/Afternoon strings be called from another function? //code snippet private function formatTime(theDate) {

Re: [Flashcoders] An Issue of Encapsulation

2006-01-17 Thread Alan MacDougall
Chris Kennon wrote: Hi, If my understanding of encapsulation is misguided, please correct. In the following code snippet, should in the interest if encapsulation, the Good Morning/Afternoon strings be called from another function? That depends on exactly how you interpret formatTime. The

Re: [Flashcoders] An Issue of Encapsulation

2006-01-17 Thread Chris Kennon
Hi, This reply was very helpful. I'll sleep on it, but had planned something along the lines of your example. Respectfully, Christopher Kennon Principal Creative Director -Bushidodeep www.bushidodeep.com ___ An ideal is merely the projection, on an enormously