The first one more clearly explains that making the movie a success is the purpose of spending the money. In theory, the second one could be talking about two separate activities (spending money and trying to make their movie a success). However, in practice we tend to assume that the second one is also explaining the purpose of spending the money, so the meaning ends up not so very different.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.