externs for stage3d and AGALAssembler