At 2/2/13 05:59 AM, 4urentertainment wrote:
At 2/2/13 04:20 AM, FlyingColours wrote:
You're trolling, right? It's not very funny. Apparently, you just confused PSvils.I couldn't help but smile at that.
Upon re-reading, I realised PSvils was being ironic too, and he wasn't really confusing AS and C++ stuff. Well, no wonder why you smiled.
By the way, I looked at the code again and there was only one real error in it:
1) on(release) is bad practice, but not illegal. Same goes for the lack of semicolons.
2) Map could be a subclass of Integer. In the constructor of the Integer class, each character the 'Multiplayer' string will be converted into its ASCII code and into an integer.
3) The lack of underscores before _parent and _root were intentional. Those are, in fact, dynamic properties of the button, and have nothing to do with nesting MovieClips.
4) The global gotoAndPlay function doesn't allow passing variables into the scene name, but this rule was not violated because gotoAndPlay was a method of the class of parent.parent.parent.root.parent, and not the global function.
5) The only real error was duplicateMovieClip. We know that the button is located inside a MovieClip, and AS2 doesn't support method overloading, so there can't possibly be a duplicateMovieClip with one parameter.