Choppy animation when loading external swf
I am working on a flash game site and I came across this problem which is driving me nuts. I've tried posting on a few forums I visit but no luck so far.
I have made one game where almost all the animation is scripted (AS2.0). The problem comes when I load the game inside the main flash file. The animation becomes horribly choppy and looks awful. I have tried both loading it as an external swf using the movieClipLoader object, and putting the whole thing as just another frame of the main flash file. In both the cases the problem stays the same (when I put the entire game thing in one MC of the main flash file, everything else still works perfectly on the site but the game animation still is as choppy as in the other case where I am loading it as an external swf).
The weird part is that if I view the game in its own separate page then it works perfectly. I thought it could be something to do with the cpu usage by all the calculations in the actionscript since it runs a bit better on the newest of those machine but then why is it running nicely when viewed in a seperate page even on the old machines? Both the main flash file and the game file have the same fps (32).
Can anyone please help me identify and fix the problem.
Thanks a lot.