News for hackers. Stuff that matters.
Re:Flash is dead. Long live the internet. by simonw on Sunday November 13, 2011 @03:36AM (#3230322)
Did AS1 have closures? I was under the impression that it didn't, which makes it a very different language from JavaScript, even if the syntax looks similar.
Re:Flash is dead. Long live the internet. by nascentone on Sunday November 13, 2011 @08:03PM (#3232360)
Saying they are "very different" because of closures is hyperbolic, but at any rate, yes, AS1 had closures like JS.
Re:Flash is dead. Long live the internet. by simonw on Tuesday November 15, 2011 @11:58AM (#3238935)
Can you provide a syntax example? I couldn't find any documentation/sample code of AS1 closures.