# Beamer color overlay in equation environment

I want to use this overly command

<2->\alert<2>


inside an equation environment to color some terms.

How can I do this?

-
The code snippet you wrote is quite ambiguous. What exactly are you trying to alert there? If you want a working example, you can find one on page 27 of the Beamer's user manual v.3.12. –  percusse Nov 15 '11 at 11:09
You don't need to use the overlay environment per se. Instead, you use the overlay specification of the \alert command (specified by <...>) to define the frames on which the contents should be "alerted"/highlighted. See page 117 of the beamer documentation. –  Werner Nov 16 '11 at 0:23

You really should provide a more complete example. I'm guessing that you may be after something like the example below, but if my guess is wrong I'll delete this answer.

\documentclass{beamer}
\usepackage{amsmath}

\begin{document}

\begin{frame}{Demo}
\Huge
\begin{equation*}