If you are using After Effects (with iMovie? Really? Interesting...) Get the iMac. If you have ever used After Effects then you should know it will need every resource you computer has. You need the better graphics in the iMac. Actually an i7 in the iMac is even better yet.
Also get as much memory as you can and, if possible, and SSD.
Lisa