PDA

View Full Version : Different fps's


sleepydad
03-03-2008, 09:23 PM
I have created a main movie @ 18 fps. I have a game that I've also created, but to achieve the desired effects had to create at 30 fps -- not great planning on my part. Anyway, I've resolved to the fact that I cannot call this 30 fps game into my 18 fps main movie (unless someone out there knows how I could) as I had planned so I've opted to open it in a new, javascript popup window. Got that all to work fine, but my game is very choppy presumably because I'm taxing the Flash Player too much having two movies open at the same time.

I'm wondering if any of you hardcore gamers out there might have a solution. I'm new to gaming, and didn't foresee this as being a problem.

Thanks in advance -
sleepydad

fnx
03-04-2008, 12:59 AM
As far as I know, if you load an swf inside another swf, the "container" automatically
work on the hosted swf speed. Maybe if the hosted swf doesn't get all control over the
container, it runs at 18 fps too.

In my personal experience, I've tested these:

30fps flash, hosting a 60fps flash/flex => it goes at 60fps
60fps flash, hosting a 30fps flash/flex => it goes at 60fps
ANYfps flex, hosting an ANYfps flash => it goes at flex container speed

Hope this helps!