The closest that you can come is importing a SWF file, which has these caveats (from After Effects Help):
"SWF files are imported with an alpha channel. Audio is not retained. Interactive content and scripted animation are not retained. Animation defined by keyframes in the main, top-level movie is retained."