<br />
<b>Warning</b>:  include() [<a href='function.include'>function.include</a>]: Unable to access /var/www/html/rogue-development/blog2/wp-content/advanced-cache.php in <b>/var/www/html/rogue-development/blog2/wp-settings.php</b> on line <b>62</b><br />
<br />
<b>Warning</b>:  include(/var/www/html/rogue-development/blog2/wp-content/advanced-cache.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in <b>/var/www/html/rogue-development/blog2/wp-settings.php</b> on line <b>62</b><br />
<br />
<b>Warning</b>:  include() [<a href='function.include'>function.include</a>]: Failed opening '/var/www/html/rogue-development/blog2/wp-content/advanced-cache.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in <b>/var/www/html/rogue-development/blog2/wp-settings.php</b> on line <b>62</b><br />
<br />
<b>Notice</b>:  add_option was called with an argument that is <strong>deprecated</strong> since version 2.3 with no alternative available. in <b>/var/www/html/rogue-development/blog2/wp-includes/functions.php</b> on line <b>3468</b><br />
<br />
<b>Notice</b>:  register_sidebar_widget is <strong>deprecated</strong> since version 2.8! Use wp_register_sidebar_widget() instead. in <b>/var/www/html/rogue-development/blog2/wp-includes/functions.php</b> on line <b>3382</b><br />
<br />
<b>Notice</b>:  register_widget_control is <strong>deprecated</strong> since version 2.8! Use wp_register_widget_control() instead. in <b>/var/www/html/rogue-development/blog2/wp-includes/functions.php</b> on line <b>3382</b><br />
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Marc's Musings &#187; screenweaver</title>
	<atom:link href="http://www.rogue-development.com/blog2/category/screenweaver/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rogue-development.com/blog2</link>
	<description>Comments and thoughts on technology from Marc Hughes</description>
	<lastBuildDate>Tue, 29 Mar 2011 00:04:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Debugging a screenweaver application in Flex Builder</title>
		<link>http://www.rogue-development.com/blog2/2007/08/debugging-a-screenweaver-application-in-flex-builder/</link>
		<comments>http://www.rogue-development.com/blog2/2007/08/debugging-a-screenweaver-application-in-flex-builder/#comments</comments>
		<pubDate>Mon, 20 Aug 2007 17:46:00 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
				<category><![CDATA[flex]]></category>
		<category><![CDATA[screenweaver]]></category>

		<guid isPermaLink="false">http://rogue-development.com/blog2/?p=45</guid>
		<description><![CDATA[To debug a screenweaver application in Flex Builder on OSX I do the following: In your main screenweaver app, add in a command line parameter (-swf) to specify the swf to use. This will let you specify to load the debug version of the swf. Create your ScreenWeaver bundle however you normally do. Create a [...]]]></description>
			<content:encoded><![CDATA[<p>To debug a screenweaver application in Flex Builder on OSX I do the following:
<ol>
<li>In your main screenweaver app,  add in a command line parameter (-swf) to specify the swf to use.  This will let you specify to load the debug version of the swf.</li>
<li>Create your ScreenWeaver bundle however you normally do.</li>
<li>Create a shell file called launch.command (the extension .command is neccessary) next to your bundle</li>
<li>In launch.command enter in a command to launch the app.  I use something like:<br />/somepath/MyApplication.app/Contents/MacOS/swhx -swf MyApp-debug.swf</li>
<li>Click the little tiny arrow next to the debug button on your FlexBuilder toolbar.</li>
<li>Select &#8220;Other&#8230;&#8221;</li>
<li>Select your application on the left.</li>
<li>On the right, uncheck &#8220;Use Defaults&#8221;</li>
<li>Set the &#8220;Debug&#8221; line to your launch.command you created</li>
</ol>
<p><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.rogue-development.com/blog/uploaded_images/flex_options-727503.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://www.rogue-development.com/blog/uploaded_images/flex_options-727497.jpg" alt="" border="0" /></a></p>
<p>Now, you should be able to debug your application.  It should launch in your screenweaver shell and full debugging functionality from Flex Builder should work correctly.</p>
<p>This should work on windows if you replace the .command with a .bat file.</p>
<p>Our Screenweaver app will load a default non-debug swf if no &#8220;-swf&#8221; parameter is passed.  That way the loader doesn&#8217;t have to change for production vs. debug usage.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rogue-development.com/blog2/2007/08/debugging-a-screenweaver-application-in-flex-builder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

