anthony.liot Posted July 27, 2011 Share Posted July 27, 2011 Hi, i work on an flash interface for an Serious Game. I make my interface with flash and generally work fine on iPad2, i have 30 fps (For info on iPad i limit to 30 fps and not 60) But i detect an weird behavior, when i use many text dynamic on flash my fps down to 7 fps, i am sure it's the text the matters, becaus if i have just my clip with empty text field the fps increase to 30. I try to change police, anti alias options, but without positive result :( if anybody have an idea ... Link to comment
frustum Posted July 28, 2011 Share Posted July 28, 2011 You should use ttf fonts instead of embedded ones. sans.ttf is name for "_sans" flash font. serif.ttf is name for "_serif" flash font. typewriter.ttf is name for "_typewriter" flash font. common_name.ttf is name for "common_name" flash font. "i" is name postfix for italic (sansi.ttf). "b" is postfix for bold (sansb.ttf). "ib" is postfix for italic bold (sansib.ttf). Appropriate .ttf file should be placed in the engine data directory. Try to remove samples/widgets/flash/sans.ttf file for the samples/widgets/flash_00 demo. Link to comment
anthony.liot Posted July 28, 2011 Author Share Posted July 28, 2011 Yep, i solve the problem when i put the good font Thanks Link to comment
Recommended Posts