<?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>FlexOOP &#187; Demo</title>
	<atom:link href="http://flexoop.com/tag/demo/feed/" rel="self" type="application/rss+xml" />
	<link>http://flexoop.com</link>
	<description>Flex, AIR, ColdFusion, and everything in between</description>
	<lastBuildDate>Tue, 13 Jul 2010 03:56:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Remove View Source From Context Menu</title>
		<link>http://flexoop.com/2008/12/remove-view-source-from-context-menu/</link>
		<comments>http://flexoop.com/2008/12/remove-view-source-from-context-menu/#comments</comments>
		<pubDate>Sun, 14 Dec 2008 04:29:44 +0000</pubDate>
		<dc:creator>Gareth</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Flex Builder]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[Demo]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[View Source]]></category>

		<guid isPermaLink="false">http://flexoop.com/?p=103</guid>
		<description><![CDATA[I had decided to create a demo application for my Flex Date Utils library. I thought it might be nice for people to just be able to see exactly what the library can do without having to download it and compile it. Right now it is just for the DateUtils portion of the library, but [...]]]></description>
			<content:encoded><![CDATA[<p>I had decided to create a demo application for my Flex Date Utils library.  I thought it might be nice for people to just be able to see exactly what the library can do without having to download it and compile it.  Right now it is just for the DateUtils portion of the library, but I&#8217;ll be adding Holiday and BusinessDay to the mix soon.</p>
<p>In order to make what I did more visible, I decided to enable the source code view when exporting the release build of the project.  After exporting the file and FTP&#8217;ing it to the server, I started to have some difficulties getting the source code view working properly.  Rather than wasting more time trying to get it working, I decided to just uncheck the Enable View Source check box, and re-export the project.  However, when I went to my swf and right clicked on it, &#8220;View Source&#8221; was still an option in the Context Menu.  I went back and tried cleaning my project, re-exporting it, deleting the swf and recreating the project.  Nothing seemed to be working.</p>
<p>I then figured I would try creating a new project and placing it under there.  As I was pasting the new application file, I noticed one new line had been added to my file<br />
viewSourceURL=&#8221;srcview/index.html&#8221;</p>
<p>Apparently when the compiler enabled &#8220;View Source&#8221;, it adds this line of code.  However, when it re-compiles the code with &#8220;View Source&#8221; disabled, it does not remove that attribute from the application tag.  30 minutes and lots of yelling later, this has now fixed the problem.  It would be nice if Adobe included this little tidbit in their livedocs as &#8220;make sure to check this&#8221;.</p>
<p>The demo app can be viewed <a href="http://flexoop.com/wp-content/uploads/FlexDateUtilsDemo/FlexDateUtilsDemo.html" target="_blank">here</a> for anyone interested.</p>
]]></content:encoded>
			<wfw:commentRss>http://flexoop.com/2008/12/remove-view-source-from-context-menu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
