<?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">

<replacedBy href="xrayviewer.html" />

    <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="XRayViewer" type="html">
        <p>
        All this little app does is host the XRay connector and let you load a local swf.
        Then it displays the swf with some simple controls to play/stop/advance/back.  The
        big benefit is you can then use <a href="http://www.osflash.org/xray">XRay</a> to
        inspect the swf without changing any code around.
        </p>
        <p>
        In the screenshot below a swf with 4 different arrow graphics has been loaded.  Each
        graphic is on a new frame.
        </p>
        </article>

        <article type="img" url="xrayviewer/screenshot1.png" />

		<article heading="Compatibility" type="html">
        <p>
        Right now, it's rather limited in the swf's it can load.
        <ul>
          <li>They must be AVM2 (ie. targetting flash player 9, made by Flash CS3 or FlexBuilder 2/3)</li>
          <li>Flex apps don't work - There's a sandboxing issue I need to work on.</li>
        </ul>
        So what's it good for?
        <ul>
          <li>A Flash designer gives you a swf and you want to see how it's organized.</li>
        </ul>
        </p>
        </article>


        <article heading="Downloads" type="html"  >
        <p>
        AIR File: <a href="http://rogue-development.com/xrayviewer/XRayViewer.air">XRayViewer.air</a>
        </p>
			<p>Assuming you have Flash Player 7 or higher, you should be able to
			simply click the badge below to install the AIR runtime and
			the application. </p>
		<p>

		 <div>
			<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="217" height="180" id="badgeInstaller">
				<param name="movie" value="/AgileBadgeInstaller/badge.swf" />
				<param name="flashvars" value="appname=AgileAgenda&amp;appurl=http://rogue-development.com/xrayviewer/XRayViewer.air&amp;airversion=1.0.M6&amp;imageurl=" />
				<!--[if !IE]>-->
				<object type="application/x-shockwave-flash" data="/AgileBadgeInstaller/badge.swf" width="217" height="180">
					<param name="flashvars" value="appname=XRayViewer&amp;appurl=http://rogue-development.com/xrayviewer/XRayViewer.air&amp;airversion=1.0.M6&amp;imageurl=" />
				<!--<![endif]-->
					
					<hr/>
						It looks like you don't have a recent enough version of Flash installed so the easy-install method won't work for you, please try the manual install below.					
					<br/>
                    <br />
                    Or you could <a href="http://www.adobe.com/go/getflashplayer">get the Flash player</a> and try again.
                    <br />
                    <hr />
                    
				<!--[if !IE]>-->
				</object>
				<!--<![endif]-->
			</object>
		</div>
			
		<script type="text/javascript" src="/AgileBadgeInstaller/swfobject.js"></script>
		<script type="text/javascript">
		  swfobject.registerObject("badgeInstaller", "9.0.115", "expressInstall.swf");
		</script>
			
			
		</p>
        </article>




		<article heading="Contact" type="html">
        <p>
        <img src="images/email2.gif" />
        Questions, comments?  Or even if you just find this useful, please shoot me an email to let me know.
        </p>
		</article>

		<article heading="License" type="html">
		<p>
		This application 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>
