HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: /home/mmickelson/theflexguy.com/tools/htmlTextEditor/srcview/source/HelpWindow.mxml.html
<!-- saved from url=(0014)about:internet -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>HelpWindow.mxml</title>
<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
</head>

<body><pre><span class="mxmlCdata">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;</span>
<span class="mxmlComponent">&lt;mx:TitleWindow</span> xmlns:mx=&quot;<span class="mxmlString">http://www.adobe.com/2006/mxml</span>&quot; layout=&quot;<span class="mxmlString">absolute</span>&quot;
    title=&quot;<span class="mxmlString">Help</span>&quot; showCloseButton=&quot;<span class="mxmlString">true</span>&quot;
    close=&quot;PopUpManager.removePopUp<span class="asBracket">(</span><span class="asReserved">this</span><span class="asBracket">)</span>;&quot; creationComplete=&quot;initPopup<span class="asBracket">()</span>;&quot;<span class="mxmlComponent">&gt;</span>
    
    <span class="mxmlTag">&lt;mx:Script&gt;</span>
        <span class="asOperator">&lt;!</span><span class="asBracket">[</span>CDATA<span class="asBracket">[</span>
            <span class="asReserved">import</span> mx.events.CloseEvent;
            <span class="asReserved">import</span> mx.managers.PopUpManager;
            
            <span class="asReserved">private</span> <span class="asFunction">function</span> initPopup<span class="asBracket">()</span><span class="asOperator">:</span><span class="asReserved">void</span>
            <span class="asBracket">{</span>
                PopUpManager.centerPopUp<span class="asBracket">(</span><span class="asReserved">this</span><span class="asBracket">)</span>;
            <span class="asBracket">}</span>
        <span class="asBracket">]]</span><span class="asOperator">&gt;</span>
    <span class="mxmlTag">&lt;/mx:Script&gt;</span>
    <span class="mxmlComponent">&lt;mx:Text</span> left=&quot;<span class="mxmlString">5</span>&quot; right=&quot;<span class="mxmlString">5</span>&quot; top=&quot;<span class="mxmlString">5</span>&quot; bottom=&quot;<span class="mxmlString">5</span>&quot;<span class="mxmlComponent">&gt;</span>
        <span class="mxmlComponent">&lt;mx:htmlText&gt;</span>
            <span class="mxmlCdata">&lt;![CDATA[</span><span class="mxmlCdata">&lt;P&gt;&lt;FONT SIZE=&quot;12&quot; COLOR=&quot;#009900&quot;&gt;&lt;B&gt;How to use the htmlText Editor&lt;/B&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT SIZE=&quot;10&quot; COLOR=&quot;#0B333C&quot;&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT SIZE=&quot;10&quot; COLOR=&quot;#0B333C&quot;&gt;Type text into the top window and the bottom window will automatically give you the htmlText for it.  The htmlText is compatible with Flex since it is generated by Flex.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT SIZE=&quot;10&quot; COLOR=&quot;#0B333C&quot;&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT SIZE=&quot;10&quot; COLOR=&quot;#0B333C&quot;&gt;The Formatted Text window on the top allows you to format the text exactly how you want and see just how it will look.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT SIZE=&quot;10&quot; COLOR=&quot;#0B333C&quot;&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT SIZE=&quot;10&quot; COLOR=&quot;#0B333C&quot;&gt;Since you may not need all the HTML tags it generates, you can remove the tags using the selectors on the left side of the html portion of the window.  Just check the boxes next to the tags or properties you don&amp;apos;t want included and press &lt;B&gt;Remove tags&lt;/B&gt;.  This will strip the HTML of those tags until you change something in the Formatted Text portion of the screen.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT SIZE=&quot;10&quot; COLOR=&quot;#0B333C&quot;&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT SIZE=&quot;10&quot; COLOR=&quot;#0B333C&quot;&gt;If you remove tags and see that they really were needed, you can just uncheck the box and press &lt;B&gt;Remove tags&lt;/B&gt; again.  You must do this before you change the text in the Formatted Text window, otherwise the changes will not undo without re-formatting.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT SIZE=&quot;10&quot; COLOR=&quot;#0B333C&quot;&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT SIZE=&quot;10&quot; COLOR=&quot;#0B333C&quot;&gt;Once you&amp;apos;ve done all the editing and formatting needed, and you&amp;apos;ve stripped any unnecessary tags, you can click the &lt;B&gt;Copy HTML to clipboard&lt;/B&gt; button to paste the htmlText into your Flex project.&lt;/FONT&gt;&lt;/P&gt;&lt;LI&gt;&lt;FONT SIZE=&quot;10&quot; COLOR=&quot;#0B333C&quot;&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT SIZE=&quot;10&quot; COLOR=&quot;#0B333C&quot;&gt;NOTE: This help text was created using this very program! &lt;FONT COLOR=&quot;#FF0000&quot;&gt;&lt;B&gt;:)&lt;/B&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/LI&gt;</span><span class="mxmlCdata">]]&gt;</span>
        <span class="mxmlComponent">&lt;/mx:htmlText&gt;</span>
    <span class="mxmlComponent">&lt;/mx:Text&gt;</span>
    
<span class="mxmlComponent">&lt;/mx:TitleWindow&gt;</span></pre></body>
</html>