<?xml version="1.0" encoding="UTF-8"?>
<!--

If you're seeing this, it means your browser isn't capable of client side XSLT transformations.
You can't view this website correctly, sorry.

Please get a real browser like Firefox
    http://www.mozilla.com/firefox/

-->
<?xml-stylesheet type="text/xsl" href="xslt/site.xsl"?>

<page title="Rogue-Development.com" blogindex="true">

    <navigation>
   		<page title="Home" page="index.xml" />
        <page title="Links" page="links.xml"/>
        <link title="Blog" url="http://marc-hughes.blogspot.com/index.html"/>
    </navigation>

    <content>
        <article type="img" url="images/logo.jpg" />

		<article heading="SwfControls" type="html">
        <p>
        A simple combo box and button that dynamically loads a swf for the different view states.  This
        is an easy way to include Flash designers in a Flex application.
        </p>
        </article>


		<article heading="Features" type="html">
        <p>
        <ul>
          <li>Simple to use</li>
          <li>Dynamically loads content so you can swap assets at runtime.</li>
          <li>Keyboard support.</li>
          <li>Simple 1-file (.swc) install</li>
        </ul>
        </p>
        </article>


        <article heading="Downloads" type="html">
        <p>
        Source is not yet available for download.
        </p>
        <p>
        <b><a href="swfControls/SwfControls.swc">SwfControls.swc</a></b> -
        Precompiled swc binary.  WARNING: I don't currently
        do any build management on this.  It's simply whatever I happened to have built before uploading.  When we hit a more
        stable point, I'll start making tested, numbered releases.
        </p>
        </article>



        <article heading="Example Usage" type="html">
        <p>
        First, download the .swc above.  Then add it to your FlexBuilder project library path.  Then you can use it to your heart's content in your mxml.
        </p>
        <p>
        The swf's loaded in should have four frames named up, over, down, sup to correspond to the different button states.  (sup is currently not used)
        </p>
        <pre>
        &lt;graphicalbutton:GraphicalComboBox popupBorderStyle=&quot;solid&quot;
  			    direction=&quot;right&quot;
				popupCornerRadius=&quot;6&quot;
				popupBackgroundAlpha=&quot;1&quot;
				popupBackgroundColor=&quot;#eeeeee&quot;
				popupVerticalGap=&quot;4&quot;
				popupTopPadding=&quot;5&quot;
				popupBottomPadding=&quot;5&quot;
				buttons=&quot;{[&apos;FlagWavy.swf&apos;,&apos;FlagRnd.swf&apos;,&apos;FlagSq.swf&apos;]}&quot;
				selectedIndex=&quot;0&quot;
				 x=&quot;44.5&quot; y=&quot;24&quot; id=&quot;box3&quot;/&gt;
		</pre>

		<p>You can get the full mxml source for the application below <a href="swfControls/sandbox.mxml">here</a>.</p>

        </article>

        <article heading="Example" type="iframe" url="popup_menu/sandbox.html" />

		<article heading="License" type="html">
		<p>
		This component is licensed under the MIT license.
		</p>
        <p>
        Copyright (c) 2007 Marc Hughes
		</p>
		<p>
		Permission is hereby granted, free of charge, to any person
		obtaining a copy of this software and associated documentation
		files (the "Software"), to deal in the Software without
		restriction, including without limitation the rights to use,
		copy, modify, merge, publish, distribute, sublicense, and/or sell
		copies of the Software, and to permit persons to whom the
		Software is furnished to do so, subject to the following
		conditions:
		</p>
		<p>
		The above copyright notice and this permission notice shall be
		included in all copies or substantial portions of the Software.
		</p>
		<p>
		THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
		EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
		OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
		NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
		HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
		WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
		FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
		OTHER DEALINGS IN THE SOFTWARE.
        </p>
        </article>


    </content>

</page>
