Multi media textures

Hello ! Is there a way to implement the idea with media textures, I need that when playing some texture (it can be some kind of animated black and white mosaic) in white places, another texture animation starts? Any ideas?