is it possible to have an avi behind a sprite, or is it always on top?
Develop games in your browser. Powerful, performant & highly capable.
It'll always be on top - Windows draws it as a surface as if it were hovering above the rest of the runtime window.