package
{
    import flash.display.Sprite;
    
    import org.tinytlf.components.MobileTextField;
    import org.tinytlf.components.TextField;
    
    [SWF("480", height="854")]
    public class Android extends Sprite
    {
        [Embed("assets/fonts/Archer-Medium-Pro.otf", fontFamily="ArcherMedium")]
        private var archer:Class;
        
        [Embed("assets/fonts/Archer-Semibold-Pro.otf", fontWeight="bold", fontFamily="ArcherSemibold")]
        private var archerSemiBold:Class;
        
        [Embed("assets/henrywadsworth.xml", mimeType="application/octet-stream")]
        private const xmlSource:Class;
        
        public function Android()
        {
            var tf:TextField = new MobileTextField();
            
            tf.width = 450;
            tf.height = 800;
            tf.x = 15;
            tf.y = 27;
            
            tf.style = 
                "*{" +
                    "fontName:ArcherMedium;" +
                    "fontSize: 15;" +
                    "textAlign: justify;" +
                    "color:0x000000;" +
                "}" +
                "b{" +
                    "font-weight: bold;" +
                "}";
            
            tf.text = new xmlSource().toString();
            
            addChild(tf);
        }
    }
}