A framework for mixed media -- emotive dialogs, rich media and virtual environments