Thanks. I thought some of your coding style looked familiar (like you
had learned something from my examples). I'm glad you find my site
useful. If you get this to work, maybe you can send it to me, and I can
put it up on my site under my "Examples from Real People" section.
As far as doing this on one slide, I'm picturing layers of pictures. If
I understand what you want to do correctly, you need one big picture at
the bottom. Then you need two layers of 36 pictures on top of that.
When someone clicks on a box, that box gets hidden to reveal the box
below it (with some sort of symbol on it). When they click on another
box, that box gets hidden as well. If the symbols match, the boxes with
symbols are hidden to reveal a piece of the larger picture. If the two
symbols do not match, the top layer boxes are made visible again. I'm
not sure what purpose all the other slides serve unless your showing the
symbols as full screen pictures.
I see that Shyam has contributed to this. He is one of the real coding
experts in this group. I'll have to see if he has solved all your
problems.
--David
--
David M. Marcovitz, Ph.D.
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/
"David N" <(E-Mail Removed)> wrote in
news:1c19501c451ce$bd2ad430$(E-Mail Removed):
> Hi David,
> Thanks for your reply. I actually have spent a lot of time
> studying your samples, and I greatly appreciate your
> sharing them.
> I can't imagine how to do this on one slide. There is only
> one picture per slide. I have 36 slides, with 18 pairs of
> pictures. I can try the text idea, which seems more
> foolproof. But I can't get the slides to show on the
> button click!
>
>>-----Original Message-----
>>I agree with Bill that you can probably do this just as
> easily on one slide. Making 38 slides seems to complicate
> things, but that is not your error. If I understand what
> you are doing, I think you have 36 shapes on your slides
> that you have named. You have given pairs of shapes the
> same name so when someone clicks on two shapes, you check
> to see if they have the same name. This might not be your
> whole problem, but it is not a good idea to give two
> shapes on the same slide the same name. As an
> alternative, I suggest that you don't worry about the
> shape names at all. Instead, put text in each of the
> slides and check to see if the text is the same.
> Something like:
>>
>>If myShape1.TextFrame.TextRange.Text =
> myShape2.TextFrame.TextRange.Text Then
>>
>>Now, you can make the text invisible by giving it the
> same color as the background color of the shape.
>>
>>Once you get this part working, keeping score should be a
> piece of cake. I wish I had more time to look at this in
> more detail to find out if there are other problems. This
> looks like a great project.
>>
>>--David
>>
>>David M. Marcovitz
>>Author of _Powerful PowerPoint for Educators_
>>http://www.loyola.edu/education/PowerfulPowerPoint/
>>
>>
>>"David N" wrote:
>>
>>> I've been trying to get this working, but I am
> obviously
>>> doing something basically wrong.
>>> I am trying to build a template for a 'Memory' game to
> use
>>> with students, based on the TV show 'Concentration'. ...
>>.
>>
>