\listfiles
\documentclass{article}
\usepackage{web}
\usepackage{eforms}
\usepackage{aeb_dad}

\marginsize{.25in}{.25in}{24pt}{.25in}
\screensize{4.5in}{6.5in}

\title{Using Stamps in a Matching Game}
\author{D. P. Story}
\university{Acro\negthinspace\TeX.Net}
\subject{Demo for using stamps as part of a drag and drop game}
\keywords{acrotex,forms,stamps}
\email{dpstory@acrotex.net}
\version{1.0}

\pagestyle{empty}

\setAnnotOptions{title={D.P. Story}}

\parindent0pt\parskip6pt

\optionalPageMatter{\begin{center}
\fbox{\begin{minipage}{.67\linewidth}
\textbf{\textcolor{red}{Important:}} This document needs to be viewed
using \textsf{Adobe Reader XI}, or later; otherwise, the functionality of
the game presented here is lost. The document will behave as designed when
viewed using \textsf{Adobe Acrobat}, any version. Also, for the drag and
drop matching to work, this file needs to be \emph{viewed outside of a
browser}.
\end{minipage}}
\end{center}}

\begin{document}

\maketitle

\initDDGame{Presidents}

\ddDimens
{%
    iconwidth=1in,iconheight=1.5in,
    targetwidth=1in,targetheight=1.5in
}

\centering

\ddGameIcon{George Washington}\quad
\ddGameIcon{John Adams}\quad
\ddGameIcon{Thomas Jefferson}\quad
\ddGameIcon{James Madison}\quad
\ddGameIcon{John Quincy Adams}

\ddTargetFmt{\sffamily\small\bfseries}


\ddTargetOfIcon{John Quincy Adams}{John Quincy Adams}\quad
\ddTargetOfIcon{Thomas Jefferson}{Thomas Jefferson}\quad
\ddTargetOfIcon{James Madison}{James Madison}\quad
\ddTargetOfIcon{George Washington}{George Washington}\quad
\ddTargetOfIcon{John Adams}{John Adams}

\ddReset


\end{document}
