forked from: flash on 2010-12-23

by marcsali
♥0 | Line 44 | Modified 2013-01-29 10:08:57 | MIT License
play

ActionScript3 source code

/**
 * Copyright marcsali ( http://wonderfl.net/user/marcsali )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/hxlj
 */

<?xml version="1.0" encoding="utf-8"?>
<!-- forked from theheartofit's flash on 2010-12-23 -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" 
                xmlns:flexiframe="http://code.google.com/p/flex-iframe/"
                horizontalAlign="left"
                verticalAlign="middle"
                viewSourceURL="srcview/index.html">

    <!-- Example project presentation -->
    <mx:ApplicationControlBar dock="true">
        <mx:Text selectable="false">
            <mx:htmlText><![CDATA[<font color="#224499" size="16">
            <b>Flex-IFrame - Simple html example</b><br>
            This example shows how to embed 
            a simple Html <t3>page in a Flex</t3> application.</font>]]>
            </mx:htmlText>
        </mx:Text>
    </mx:ApplicationControlBar>

    <!-- HTML content stored in a String -->
    <mx:Text selectable="false">
    <mx:htmlText>
    <mx:String id="iFrameHTMLContent">
    <![CDATA[
   <html>
   <head>
  <title>About</title>
  </head>
   <body>
   <div>About</div>
   <p>Simple HTML Test application. This test app loads a 
   page of html locally.</p>
   <div>Credits</div>
   <p> </p>
   <p>1256 -- 1345 IFrame.as is based on the work of</p>
   <ul>
   <li><a href="http://coenraets.org/" target="_top">Christophe Coenraets</a></li>
  <li><a href="http://www.deitte.com/" target="_top">Brian Deitte</a></li>
  </ul>
  </body>
  </html> 
  ]]>
    </mx:String>
    </mx:htmlText>
    
    </mx:Text> 

</mx:Application>