<?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>Adventures in Keyframes and Code &#187; Misc</title>
	<atom:link href="http://www.keyframesandcode.com/code/category/misc/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.keyframesandcode.com/code</link>
	<description>MaxScript, ActionScript, PHP &#38; JavaScript</description>
	<lastBuildDate>Wed, 06 Oct 2010 23:49:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ideal default Flash IDE setup for Developers</title>
		<link>http://www.keyframesandcode.com/code/development/flash/actionscript/flash-ide-developer-setup/</link>
		<comments>http://www.keyframesandcode.com/code/development/flash/actionscript/flash-ide-developer-setup/#comments</comments>
		<pubDate>Wed, 06 Oct 2010 12:38:28 +0000</pubDate>
		<dc:creator>Dave Stewart</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.keyframesandcode.com/code/?p=301</guid>
		<description><![CDATA[Flash has a few places where you can set preferences, some of which are saved globally, some of which are saved per file. The per-file settings are a pain as they are forgotten for new files.
This post describes how to:

Disable file-specific global warnings, such as migration warnings  for onMouseDown
Use File &#62; New File &#62; [...]]]></description>
			<content:encoded><![CDATA[<p>Flash has a few places where you can set preferences, some of which are saved globally, some of which are saved per file. The per-file settings are a pain as they are forgotten for new files.</p>
<p>This post describes how to:</p>
<ul>
<li>Disable file-specific global warnings, such as <strong>migration warnings  for onMouseDown</strong></li>
<li>Use File &gt; New File &gt; Templates to specify default settings, such as turning off <strong>Always declare stage instance</strong></li>
</ul>
<h3>Disabling warnings</h3>
<p>I tried the <a href="http://opensource.adobe.com/wiki/display/flexsdk/Coding+Conventions#CodingConventions-Eventhandlernames">adobe-recommended</a> handler names for about 6 months before reverting back to <strong>onMouseDown</strong> etc which is  far more readable in both the code and project outline in FlashDevelop. The thing is, Adobe by default in ActionScript 3.0 you get a migration warning on every publish. Annoying!</p>
<p>I&#8217;ve finally found out that you can toggle these warnings using the <strong>EnabledWarnings.xml</strong> file, by simply setting the enabled attribute to false for the desired warning.</p>
<p>The file can be found in the following location:</p>
<pre>Win: C:/&lt;Install Path&gt;/&lt;Version&gt;/en/Configuration/ActionScript 3.0/EnabledWarnings.xml
Mac: HD|Applications|&lt;Version&gt;|Configuration|ActionScript 3.0|EnabledWarnings.xml</pre>
<p>There are about 30 warnings in all, covering possible mistakes, coding style, and AS2 to AS3 code migration.</p>
<h3>Setting default file / file preference settings</h3>
<p>Did you know that it&#8217;s possible to create your own file templates, complete with settings found in:</p>
<pre>File &gt; Publish Settings... &gt; Flash &gt; ActionScript 3.0 Settings...</pre>
<p>This covers:</p>
<ul>
<li>Export classes in frame n</li>
<li>Strict mode</li>
<li>Warnings mode</li>
<li>Automatically declare stage instances</li>
</ul>
<p>If you simply create a folder called <strong>Templates </strong>in your user <strong>Configuration</strong> folder, then a named subfolder, and save an .fla file in there, it appears in the File &gt; New &gt; Templates list.</p>
<p>Not only this, but:</p>
<ul>
<li>The template group shows on the Flash startup screen</li>
<li>File &gt; New remembers your choice, so automatically pre-selects the last-used template</li>
<li>The File &gt; New &gt; Templates tab, Category and Template choice is remembered between sessions</li>
</ul>
<p>I now have a folder called <strong>Templates/Development</strong>, and a few different .fla files in there, all with the settings I mentioned above.</p>
<p>You could easily add some files with default timeline testing code, a few symbols, fonts, etc, as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.keyframesandcode.com/code/development/flash/actionscript/flash-ide-developer-setup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Export/import Outlook 2007 email account settings</title>
		<link>http://www.keyframesandcode.com/code/misc/export-outlook-email-account-settings/</link>
		<comments>http://www.keyframesandcode.com/code/misc/export-outlook-email-account-settings/#comments</comments>
		<pubDate>Mon, 30 Aug 2010 15:11:33 +0000</pubDate>
		<dc:creator>Dave Stewart</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.keyframesandcode.com/code/?p=293</guid>
		<description><![CDATA[I can&#8217;t believe I seem to be the only person on the web to work this one out, but here&#8217;s how you export and import email account settings between profiles &#8211; for which there is no option within Outlook itself.
First of all, open regedit32.exe from the search box in the start menu.
Then, navigate to this [...]]]></description>
			<content:encoded><![CDATA[<p>I can&#8217;t believe I seem to be the only person on the web to work this one out, but here&#8217;s how you export and import email account settings between profiles &#8211; for which there is no option within Outlook itself.</p>
<p>First of all, open regedit32.exe from the search box in the start menu.</p>
<p>Then, navigate to this key:</p>
<pre>[HKEY_USERS\S-1-5-21-xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxx\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\</pre>
<p>This should be showing a list of the mail profiles you have on your machine:</p>
<p><img class="alignnone size-full wp-image-296" title="regedit-outlook-profile" src="http://www.keyframesandcode.com/code/wp-content/uploads/2010/08/regedit-outlook-profile.png" alt="regedit-outlook-profile" width="610" height="390" /></p>
<p>Navigate slightly further down the tree this time, to the key labelled:</p>
<pre>&lt;Profile Name&gt;\9375CFF0413111d3B88A00104B2A6676\</pre>
<p>This is the key that stores a list of all the email accounts in your Outlook profile:</p>
<p><img class="alignnone size-full wp-image-297" title="regedit-outlook-accounts" src="http://www.keyframesandcode.com/code/wp-content/uploads/2010/08/regedit-outlook-accounts.png" alt="regedit-outlook-accounts" width="610" height="390" /></p>
<p>To transfer these accounts to a different profile, or a different machine, do the following:</p>
<ol>
<li>export the registry branch 9375&#8230; to a new .reg file</li>
<li>open the new file in a text editor</li>
<li>do a find and replace for /&lt;Profile Name&gt;/ substituting the text between the slashes with your new profile name</li>
<li>save the reg file</li>
<li>double-click on the reg file to import it into the registry</li>
</ol>
<p>If you did everything correctly, and the named profile exists, when you reopen Outlook, and go to Tools &gt; Account settings&#8230; you should see your newly imported accounts:</p>
<p><img class="alignnone size-full wp-image-298" title="outlook-accounts" src="http://www.keyframesandcode.com/code/wp-content/uploads/2010/08/outlook-accounts.png" alt="outlook-accounts" width="521" height="424" /></p>
<p>It really does appear to be as simple as that. Yay <img src='http://www.keyframesandcode.com/code/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.keyframesandcode.com/code/misc/export-outlook-email-account-settings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Accurate screen-to-print sizing in Photoshop</title>
		<link>http://www.keyframesandcode.com/code/misc/accurate-screen-to-print-sizing-in-photoshop/</link>
		<comments>http://www.keyframesandcode.com/code/misc/accurate-screen-to-print-sizing-in-photoshop/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 14:30:19 +0000</pubDate>
		<dc:creator>Dave Stewart</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.keyframesandcode.com/code/?p=231</guid>
		<description><![CDATA[I learnt how to set up Photoshop today so that the screen displays images at the exact same size they will print out, which is great for previewing how your work will look without endless printing and reprinting.
Here&#8217;s what you do:

Note the size of your screen height in pixels (mine is 1024)
Measure the physical height [...]]]></description>
			<content:encoded><![CDATA[<p>I learnt how to set up Photoshop today so that the screen displays images at the exact same size they will print out, which is great for previewing how your work will look without endless printing and reprinting.</p>
<p>Here&#8217;s what you do:</p>
<ol>
<li>Note the size of your screen height in pixels (mine is 1024)</li>
<li>Measure the physical height of the pixel-area of your screen using a ruler (mine measured 27.0 cm exactly)</li>
<li>Divide the number of pixels by the number of centimetres (1024 / 27 = 37.925)</li>
<li>Enter this number in the Screen Resolution box under Preferences &gt; Units &amp; Rulers:</li>
</ol>
<p><img src="http://www.keyframesandcode.com/code/wp-content/uploads/2010/02/units.png" width="583" height="343" /></p>
<p>Photoshop will now display your images at the correct size when you choose View &gt; Print Size.</p>
<p>However, it&#8217;s a bit of pain to have to go to the menu option each time, but an easy solution is to simply map View &gt; Print Size to the CTRL + ` (top left key):</p>
<p><img src="http://www.keyframesandcode.com/code/wp-content/uploads/2010/02/keyboard.png" alt="keyboard" width="583" height="418" /></p>
<p>Now, you can easily swap between 100% and Print Size by alternating between CTRL+1 and CTRL+`</p>
]]></content:encoded>
			<wfw:commentRss>http://www.keyframesandcode.com/code/misc/accurate-screen-to-print-sizing-in-photoshop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

