\RequirePackage{flashmovie}
% it is neccessay to use "\RequirePackage{flashmovie}" because beamer
% also uses "\pdfminorversion". see flashmovie.sty for an explanation.


\documentclass{beamer}

\usetheme{default} % change these to dramatically change the styling
\usecolortheme{dove} % this one too
\setbeamertemplate{navigation symbols}{} % don't use navigation tools on slides
\setbeamertemplate{footline}{\scriptsize{\hfill\insertframenumber}\hspace*{5pt}\vspace*{5pt}} 

\title{Flash Movies}
\author{Andrew J. Barry}
\date{May 18, 2012}

\usepackage{multimedia}
\usepackage[absolute,overlay]{textpos}

%%%%%%%%%%%%%%%% Useful commands %%%%%%%%%%%%%%%%

\newcommand\CopyrightText[1]{%
  \begin{textblock*}{\paperwidth}(0\paperwidth,.97\paperheight)%
    \hfill\textcolor{white}{\tiny#1}\hspace{3pt}
  \end{textblock*}
}

\newcommand{\citeFoot}[1]
{
    \rule{\linewidth}{0.5pt}
    {\scriptsize #1}
}

\newcommand{\fullFrameImage}[2]
{
    {
        \usebackgroundtemplate{\includegraphics[height=\paperheight]{#1}}
        \frame[plain]
        {
            \CopyrightText{ #2}
        }
    }
}

\newcommand{\fullFrameMovie}[2]
{
    {
        \setbeamertemplate{background canvas}[vertical shading][bottom=black,top=black]
        %\setbeamercolor{background canvas}{bg=black}

        \frame[plain]
        {
            \begin{textblock*}{\paperwidth}(0px,0px)%
            \flashmovie[width=\paperwidth,height=0.96\paperheight,engine=flv-player,auto=1,controlbar=0]{#1}
            \end{textblock*}
            \CopyrightText{#2}
        }
        
    }
}

\newcommand{\blackframe}
{
    {
        \setbeamertemplate{background canvas}[vertical shading][bottom=black,top=black]
        \frame[plane]{}
        \addtocounter{framenumber}{-1}
    }
}

%%%%%%%%%%%%%%%% End useful commands %%%%%%%%%%%%%%%%


\begin{document}

{
\frame
{
    \titlepage
}

\fullFrameMovie{movie.flv}{2012 Andrew J. Barry}


\frame
{
    \frametitle{Movie}
    
    \begin{itemize}
        \item abarry.org
        \item You \textbf{must} play this is in \textbf{acroread version 9.4.1}.
        \item The next frame shows a full frame image.
    \end{itemize}
    \flashmovie[width=2in,height=2in,engine=flv-player,auto=1]{movie.flv}
}

\fullFrameImage{pigeon-e.jpg}{\textcircled{c} 2006 Alan D. Wilson}

\end{document}

