beno - wrote:
Here is my code to the moment.
Pardon me for being blunt about this, but did you even pay attention when I said that functions inside functions are a no no?
And if we count out that, you got some infinite recursion going on there. If you make a new instance of the class itself unconditionally in the constructor, the constructor will run again and again, never getting anywhere.
To finish things off, it is a very bad habit to use the same name for a function and a variable, not just because they will get mixed up spiritually, but because of the scope issues. Function names doubles as instances of the Function class, so yeah, using the same name for a variable, class and/or function is a recipe for disaster.
If you ask me, you should not even have the nested function to begin with, all that stuff should go directly in the constructor.
_______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

