Failed to export a photo slideshow using Quicktime/Flash Video

Hello,
I am getting the following error message while trying to export a photo slideshow using QuickTime/Flash Video.
I have searched for the solution but could not find a solution. I need your help so that I may fix this issue properly.
Any idea would be greatly appreciated.
Thanks in advance.

Unable to export movie.
The movie could not be exported because an error occurred. (-6662)
Â
