Thursday, August 04, 2005

Interesting findings!

If you have an init function in your child class that you call from your constructor, and you have another init function in your superclass that your superclass's constructor calls, calling init() in your superclass actually calls the child class init!

Also, when trying to do this:

var f:Function = eval(func);

Make sure func is a simple string. When I try to extract it from an array of object: eval(config[i].func), it won't work!

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home