2 Replies Latest reply on Nov 22, 2009 6:03 PM by oldMster

    Flex Browser

    riaWorld


      Hello
      I am looking how to make a small browser in a web application flex (I'm using  BlazeDS).
      Let me explain:
      I want to make a Flex application that has an  textinput in which I write the url (eg www.google.com) and  a TextArea that render the HTML  content
      Here is my code

       

      [QUOTE]
      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
          <mx:Button x="302" y="67" label="Navigate"/>
          <mx:TextArea id="Browser"  x="30" y="121" width="268" height="207"/>
          <mx:Text x="21" y="69" text="URL" width="36"/>
          <mx:TextInput x="105" y="65"/>
         
      </mx:Application>

       

      [/QUOTE]

        • 1. Re: Flex Browser
          riaWorld Level 1

          can somebody help me please

          • 2. Re: Flex Browser
            oldMster Level 3

            Flex does not have the ability to embed 'full' html inside the application.  You can embed simple html using the htmltext property of a text area, but I suspect you want more capability than that.  Your choices would be to use the external API to script the HTML page containing the Flex application to display the selected URL in either a separate tab or window.  To do exactly what you want would require you to make your application an AIR application, which includes a full WebKit browser implementation.