Yeah, I tried that for a while. And Love2d and Python + PyGame and others. It's not the same though. It was that ability to put the code "in" the drawings which enabled me to make what was in my imagination without stalling.
Reminds me of another Macromedia product, Freehand. Adobe's catch and kill.
Yup, Freehand was way better than illustrator.