I was wondering if anyone has an idea how to test CPU speed of userās system to determine the optimal performance. Iām wringing some classes atm, and the movies I create will be very demanding (high res, lots of moving/changing shapes, blending modes, video etc.) I wanted to somehow check userās system and based on itās performance I could turn off some layers, ānormalizeā some blend modes, opacity and things like thatā¦ I will probably make AIR application at some point, since browser plug-in really choaks CPU, but thatās another story ((:
Iād suggest reading up on the flash.system package as it has alot of methods that allow you to get quite a bit of information about the userās CPU. The flash.system.Capabilities class is probably more the direction youāll be taking as it has some of the following methods that can really be a good base to figuring out if the userās system is able to handle some of what you want to dish out.
For example:
flash.system.Capabilities.os will return the operating system
flash.system.Capabilities.screenResolutionX/flash.system.Capabilities.screenResolutionY will return the resolution
flash.system.Capabilities.hasEmbeddedVideo will more than likely tell you if the personās computer can even play video (although I havenāt used/tested this with a computer that doesnāt have that capability so Iām assuming a little bit here)
It unfortunately doesnāt have specific tidbits such as exact CPU speed (as far as I know) but having the rest of the info accessible to you regarding the system may help you find out more. Kind of like the Pythagorean theorem, heh. For more detailed information on the rest of the methods, classes in the package, etc take a look here:
cool, tnx guys. Iāll try some of your suggestions. BTW, is there a property that will return Real FPS value? I guess that would be the best criteriaā¦