what is your iPhoto version? Can it be that your hard disk is too full? How much free disk space do yiu have?
If you have plenty of free disk space, try if booting in safe boot mode (see: Mac OS X: What is Safe Boot, Safe Mode?) will clear some settings and get iPhoto to work properly. If not, try the first aid tools:
Try to repair or rebuild the library. Check, if your backup of your iphoto library is current, before you rebuild; if not, make first a backup (don't overwrite your current backup, make a new copy).
Then launch the library first aid panel by firmly pressing and holding the ⌥⌘-keys, while double clicking the iPhoto icon . Hold the keys down, until you see the panel. Then select "Rebuild database" from the panel.
Thanks for the suggestions, am in Safe Mode and still got the spinning beach ball. I have 378.4 GB free on my hard drive so there is plenty of space. I have 12GB RAM as well. I am running a 3.06 Intel Core i3 with Mountain Lion. iPhoto is version 9.4.2 which should be up to date.
How would I repair/ rebuild the library? I've only had my iMac for just over a year and am still not familiar with everything we can do. If I haven't had to do it, I haven't tried it.
How would I repair/ rebuild the library?
as I said:
launch the library first aid panel by firmly pressing and holding the ⌥⌘-keys, while double clicking the iPhoto icon . Hold the keys down, until you see the panel. Then select "Rebuild database" from the panel.
This support article explains the procedure in more detail:
Just in case, this still does not solve the problem, try the "Option 2" in Terence Devlin's post here:
(Re: iphoto help) and rebuild using iPhoto Library Manager.
I ended up using the iPhoto Library Manager and the spinning beach ball is gone. It is allowing me to export the album I made as a Christmas present to my flash drive. I am glad the problem is fixed, just wish I knew what caused it since I'd like to avoid the problem in the future. Thank you for all your help. I am still learning how to use my iMac since it is my first Apple product.