Actionscript question

What programming language does swift 3d use? Can it use actionscript 1.0 or 2.0?
Thanks