1 Reply Latest reply on Sep 19, 2011 7:43 PM by rachalmers

    Can I increase the size of html text in iPhone stagewebview

    rachalmers Level 1

      The html text displayed in a stagewebview is miniscule. Is there a way to resize it?

       

      webView.stage = this.stage;

      var rx:Number = 10;

      var ry:Number = 10;

      var rwidth:Number = 300;

      var rheight:Number = 335;

      webView.viewPort = new Rectangle(rx, ry, rwidth, rheight);

       

      var htmlString:String = "<!DOCTYPE HTML>" +

      "<html><head><style type=\"text/css\"> p {color:white;font-size:large;text-align:justify;}"  +

      "</style> </head> <body bgcolor=\"#3EA99F\">" +

      "<p>Version 1.5. (c) 2011. <br>Stageweb view text is too small to read on the iPhone</P>" +

       

      "</body></html>";

      webView.loadString( htmlString );

       

      Message was edited by: Robert.A.Chalmers