Re: [Flashcoders] Passing a Function as Parameter and callfunctionlater

2007-02-23 Thread Andy Herrman
Hmm, I didn't know about that scope chaining stuff, thanks for the link. One question, does the chaining (specifically, the activation object stuff when using inner functions) still apply to AS2 code? I use functions like that for listeners in a *lot* of places, and now I'm worried it's wasting

RE: [Flashcoders] Passing a Function as Parameter and callfunctionlater

2007-02-19 Thread Jesse Graupmann
Mike - True, for this example. Felipe - Not sure you can get around the eval or Delegate unless you add a ton of array notation. There is a good article to describe this; Scope Chain and Memory waste in Flash MX: http://timotheegroleau.com/Flash/articles/scope_chain.htm. So eval or moreEvil?