Flash 12 Stage3D changes.

Added latest Stage3D methods required for any Stage3D framework development.