Years ago it was definitely ActionScript 3.0 which is most similar to Java and C#.
Today I use mainly JavaScript and C++.