I am learning to implement a Preloader for all the main assets (swf). I have extracted information from the CustomPreloader example:
But when you add a TextField with a custom embedded font to show the preload percentage, this text is shown to be corrupt, split in half (vertically).
Besides, if I add a TextField to the Main class with that same custom font and the same exact code that I have in the Preloader Class, it is displayed correctly. The visual error only appears if I instantiate and add the TextField within the Preloader Class.
This only happens in Flash target. It does not happen in html5 … Does anyone know if it is some kind of known bug ?. And it only happens if the font is embedded (necessary for a custom font, I think).
And another question: Is there the possibility of initially loading a swf with only preload elements (more elaborate than a simple line and a background image), and later preload a swf with all the contents?