<?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>Mark Ledford&#039;s Web Dev Blog &#187; Uncategorized</title>
	<atom:link href="http://www.markledford.com/blog/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.markledford.com/blog</link>
	<description>Documenting the trials and triumphs of a mobile / front end web developer</description>
	<lastBuildDate>Fri, 03 Feb 2012 19:16:15 +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>Fix for when Flex and your debug flash player won&#8217;t connect for a debug session</title>
		<link>http://www.markledford.com/blog/2008/08/06/fix-for-when-flex-and-your-debug-flash-player-wont-connect-for-a-debug-session/</link>
		<comments>http://www.markledford.com/blog/2008/08/06/fix-for-when-flex-and-your-debug-flash-player-wont-connect-for-a-debug-session/#comments</comments>
		<pubDate>Thu, 07 Aug 2008 04:16:24 +0000</pubDate>
		<dc:creator>markledford</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.markledford.com/blog/?p=19</guid>
		<description><![CDATA[Luckily this guy wasted hours finding a fix to this strange issue so I didn&#8217;t have to. Right click on the swf and click on &#8220;debugger&#8221; in the flash context menu (if the &#8220;Where is the debugger or host application running?&#8221; pop up isn&#8217;t already open). Select the &#8220;Other Machine&#8221; radio box button and type [...]]]></description>
			<content:encoded><![CDATA[<p>Luckily <a href="http://therush.wordpress.com/2008/03/11/resolved-flex-builder-3-debugger-stopped-working/" target="_blank">this guy wasted hours finding a fix to this strange issue</a> so I didn&#8217;t have to. Right click on the swf and click on &#8220;debugger&#8221; in the flash context menu (if the &#8220;Where is the debugger or host application running?&#8221; pop up isn&#8217;t already open). Select the &#8220;Other Machine&#8221; radio box button and type in &#8220;127.0.0.1&#8243;.Â  Voila. Why does this work when &#8220;localhost&#8221; was already selected by default? No idea but i&#8217;ll be getting something done tonight. Thank you guy and your blog.</p>
<p>If this doesn&#8217;tÂ  solve your issue and your using Firefox 3 check out <a href="http://bugs.adobe.com/jira/browse/FB-13064" target="_blank">this Jira</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.markledford.com/blog/2008/08/06/fix-for-when-flex-and-your-debug-flash-player-wont-connect-for-a-debug-session/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to launch Flex debug session via keyboard shortcut on mac (part deux)</title>
		<link>http://www.markledford.com/blog/2008/07/30/how-to-launch-flex-debug-session-via-keyboard-shortcut-on-mac-part-deux/</link>
		<comments>http://www.markledford.com/blog/2008/07/30/how-to-launch-flex-debug-session-via-keyboard-shortcut-on-mac-part-deux/#comments</comments>
		<pubDate>Wed, 30 Jul 2008 16:40:28 +0000</pubDate>
		<dc:creator>markledford</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.markledford.com/blog/?p=18</guid>
		<description><![CDATA[So continuing on this post I took a gander at Flex > Preferences > Keys to get my command-f11 key working&#8230; with success! Under the list of keyboard shortcuts about halfway down the &#8220;>Category]]></description>
			<content:encoded><![CDATA[<p>So continuing on <a href="http://www.markledford.com/blog/?p=17">this post</a> I took a gander at Flex > Preferences > Keys to get my command-f11 key working&#8230; with success! Under the list of keyboard shortcuts about halfway down the &#8220;>Category<&#8221; column is Run/Debug. The command &#8220;Run Last Launched&#8221; is mapped to Command-F11 as it should be but under the &#8220;When&#8221; column it is set to &#8220;In Windows&#8221;. Not sure what all &#8220;In Windows&#8221; entails but I edited this shortcut adding a new &#8220;When&#8221; to this shortcut found under the drop down list called &#8220;Editing Flex Source&#8221; and bam, functional command-f11. Sure beats the kung-fu move of a keyboard shortcut mentioned in my last entry.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.markledford.com/blog/2008/07/30/how-to-launch-flex-debug-session-via-keyboard-shortcut-on-mac-part-deux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to launch Flex debug session via keyboard shortcut on mac</title>
		<link>http://www.markledford.com/blog/2008/07/29/how-to-launch-flex-debug-session-via-keyboard-shortcut-on-mac/</link>
		<comments>http://www.markledford.com/blog/2008/07/29/how-to-launch-flex-debug-session-via-keyboard-shortcut-on-mac/#comments</comments>
		<pubDate>Wed, 30 Jul 2008 05:38:32 +0000</pubDate>
		<dc:creator>markledford</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.markledford.com/blog/?p=17</guid>
		<description><![CDATA[Â  OMG. For over 2 years I&#8217;ve launched Flex by mousing over to the little bug icon and clicking. I&#8217;ve done it so often its become second nature. All because I took one look at this cryptic glyph sequence, tried to guess..tecute it, then gave up to pretend this shortcut didn&#8217;t exist. After a brief [...]]]></description>
			<content:encoded><![CDATA[<p>Â <img src="http://markledford.com/bloghost/flexshortcut.png" /><br />
OMG. For over 2 years I&#8217;ve launched Flex by mousing over to the little bug icon and clicking. I&#8217;ve done it so often its become second nature. All because I took one look at this cryptic glyph sequence, tried to guess..tecute it, then gave up to pretend this shortcut didn&#8217;t exist.</p>
<p>After a brief stint back in the Flash IDE&#8211;instantly returnign to hitting command-enter to debug, I came back to Flex with the determination to slay this gnarly shortcut sequence once and for all. And here&#8217;s the secret:</p>
<p>That up arrow icon is shift.Â  Thats an easy one. The bizzare serif-X-with-one-leg-missing glyph represents alt/option. Yeah I don&#8217;t understand that either. Then there&#8217;s the letter &#8220;D&#8221; and &#8220;F&#8221;. Naturally, hitting all 4 together does nothing. But wait, see the slight excess kerning between those 2 letters? Thats a space. It means let go of the current key combination before hitting the next letter. And there it goes.</p>
<p>Why 4 keys in 2 combinations just to debug your project? Seams a little absurd for one of the most important and common shortcuts. Is every other normal key combination really taken? Really? I&#8217;m using the Eclipse plugin version of Flex btw, but I assume its the same with the stand alone.</p>
<p>Did anyone else have trouble with this? Don&#8217;t make me feel stupid and annoyed all by myself :P</p>
<p>UPDATE: Figured out how to get the more straight forward command-f11 shortcut working <a href="http://www.markledford.com/blog/?p=18">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.markledford.com/blog/2008/07/29/how-to-launch-flex-debug-session-via-keyboard-shortcut-on-mac/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Serious (and seriously obscure) bug with flash embed code redirects and variables in IE</title>
		<link>http://www.markledford.com/blog/2008/07/24/serious-and-seriously-obscure-bug-with-flash-embed-code-variables-and-ie/</link>
		<comments>http://www.markledford.com/blog/2008/07/24/serious-and-seriously-obscure-bug-with-flash-embed-code-variables-and-ie/#comments</comments>
		<pubDate>Thu, 24 Jul 2008 18:27:51 +0000</pubDate>
		<dc:creator>markledford</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.markledford.com/blog/?p=16</guid>
		<description><![CDATA[Haven&#8217;t been posting too frequently, been pretty busy at KickApps working on the Widget Studio. I&#8217;d like to write about it in another entry at another time but for now I&#8217;d like to help expose a pretty vicious bug we&#8217;ve encountered during the course of developing this app. The Widget Studio is a Flex based [...]]]></description>
			<content:encoded><![CDATA[<p>Haven&#8217;t been posting too frequently, been pretty busy at <a href="http://kickapps.com">KickApps</a> working on the <a href="http://affiliate.kickapps.com/kickapps/widget/displayManageFeed.kickAction?nav=WB#/widget_manager/">Widget Studio</a>. I&#8217;d like to write about it in another entry at another time but for now I&#8217;d like to help expose a pretty vicious bug we&#8217;ve encountered during the course of developing this app.</p>
<p>The Widget Studio is a Flex based WYSIWYG widget generator who&#8217;s end product is embed code for widgets. The embed src points to a server side redirect that returns our main SWF file with some variables appended to it. These variables have to be dynamic to pass things like the build version number (cache control) and refferal url to the swf. After much debugging we realized if querystring variables are appended to the redirect in &lt;embed src=&#8221;"/&gt; then variables attached to the swf from inside the redirect do not get passed to the SWF in IE.Â  After much googling, these are the only 2 entries we could find on the matter:</p>
<p><a href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2245594&amp;SiteID=1" target="_blank">MSDN forum post</a><br />
<a href="http://www.jeroenwijering.com/?thread=11441" target="_blank">JW Player (?) forum post</a></p>
<p>If both appended-to-redirect and inside-redirect variables are neccessary, the only viable answer is a rest style architecture to pass variables to your SWF (assuming, like in our case, the appended-to-redirect variables can&#8217;t be moved to flashVars as they are used by the redirect script itself)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.markledford.com/blog/2008/07/24/serious-and-seriously-obscure-bug-with-flash-embed-code-variables-and-ie/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Event.INIT and Event.COMPLETE don&#8217;t fire when loading an unpacked swc</title>
		<link>http://www.markledford.com/blog/2008/07/24/eventinit-and-eventcomplete-dont-fire-when-loading-an-unpacked-swc/</link>
		<comments>http://www.markledford.com/blog/2008/07/24/eventinit-and-eventcomplete-dont-fire-when-loading-an-unpacked-swc/#comments</comments>
		<pubDate>Thu, 24 Jul 2008 18:01:13 +0000</pubDate>
		<dc:creator>markledford</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[flex]]></category>

		<guid isPermaLink="false">http://www.markledford.com/blog/?p=12</guid>
		<description><![CDATA[Cleaning out the wordpress there were a few posts I hadn&#8217;t finished. This one is mainly a for-future-reference for myself. I&#8217;ve been doing some run-time class loading involving loading SWF files into the same ApplicationDomain as the container via Loader then using getDefinitionByName to access new instances of the loaded classes. I was perplexed that [...]]]></description>
			<content:encoded><![CDATA[<p>Cleaning out the wordpress there were a few posts I hadn&#8217;t finished. This one is mainly a for-future-reference for myself.</p>
<p>I&#8217;ve been doing some run-time class loading involving loading SWF files into the same ApplicationDomain as the container via Loader then using getDefinitionByName to access new instances of the loaded classes. I was perplexed that the INIT and COMPLETE events weren&#8217;t being dispatched and found some info <a href="http://blog.andre-michelle.com/2007/generate-accessible-swf-does-not-generate-a-swf/" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.markledford.com/blog/2008/07/24/eventinit-and-eventcomplete-dont-fire-when-loading-an-unpacked-swc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SecurityError: Error #2000: No active security context.</title>
		<link>http://www.markledford.com/blog/2008/07/24/securityerror-error-2000-no-active-security-context/</link>
		<comments>http://www.markledford.com/blog/2008/07/24/securityerror-error-2000-no-active-security-context/#comments</comments>
		<pubDate>Thu, 24 Jul 2008 17:51:01 +0000</pubDate>
		<dc:creator>markledford</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[bugs]]></category>

		<guid isPermaLink="false">http://www.markledford.com/blog/?p=15</guid>
		<description><![CDATA[Always interesting to throw an error that has only 4 obscure results in google. Using setTimeout with navigateToURL: var urlRequest:URLRequest = new URLRequest&#40;&#34;http://google.com&#34;&#41;; setTimeout&#40;navigateToURL, 1000, urlRequest, &#34;_blank&#34;&#41;; Generates: SecurityError: Error #2000: No active security context. at global/flash.net::navigateToURL() at Function/http://adobe.com/AS3/2006/builtin::apply() at &#60;anonymous&#62;() at SetIntervalTimer/onTimer() at flash.utils::Timer/_timerDispatch() at flash.utils::Timer/tick() A work around is to wrap the call [...]]]></description>
			<content:encoded><![CDATA[<p>Always interesting to throw an error that has only 4 obscure results in google.<br />
Using setTimeout with navigateToURL:</p>
<div class="codecolorer-container actionscript3 default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="actionscript3 codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #6699cc; font-weight: bold;">var</span> urlRequest<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=urlrequest%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:urlrequest.html"><span style="color: #004993;">URLRequest</span></a> = <span style="color: #0033ff; font-weight: bold;">new</span> <a href="http://www.google.com/search?q=urlrequest%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:urlrequest.html"><span style="color: #004993;">URLRequest</span></a><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;http://google.com&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
<span style="color: #004993;">setTimeout</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">navigateToURL</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #000000; font-weight:bold;">1000</span><span style="color: #000066; font-weight: bold;">,</span> urlRequest<span style="color: #000066; font-weight: bold;">,</span> <span style="color: #990000;">&quot;_blank&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span></div></div>
<p>Generates:<br />
SecurityError: Error #2000: No active security context.<br />
at global/flash.net::navigateToURL()<br />
at Function/http://adobe.com/AS3/2006/builtin::apply()<br />
at &lt;anonymous&gt;()<br />
at SetIntervalTimer/onTimer()<br />
at flash.utils::Timer/_timerDispatch()<br />
at flash.utils::Timer/tick()</p>
<p>A work around is to wrap the call in an anonymous function:<br />
setTimeout(function():void { navigateToURL(urlRequest, &#8220;_blank&#8221;); }, 1000);</p>
]]></content:encoded>
			<wfw:commentRss>http://www.markledford.com/blog/2008/07/24/securityerror-error-2000-no-active-security-context/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>Fix for Eclipse tab reordering &#8220;feature&#8221;  (MRU tab positioning policy)</title>
		<link>http://www.markledford.com/blog/2008/03/18/fix-for-eclipse-tab-reordering-feature-mru-tab-positioning-policy/</link>
		<comments>http://www.markledford.com/blog/2008/03/18/fix-for-eclipse-tab-reordering-feature-mru-tab-positioning-policy/#comments</comments>
		<pubDate>Tue, 18 Mar 2008 18:25:45 +0000</pubDate>
		<dc:creator>markledford</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[flex]]></category>

		<guid isPermaLink="false">http://www.markledford.com/blog/?p=14</guid>
		<description><![CDATA[I love using Eclipse for my day to day but I hate how it automatically re-orders my tabs. It looks like other people view the Eclipse &#8220;MRU&#8221; tab positioning policy as a burden as well. If you know what I&#8217;m talking about and want your tabs to remain where you put them, try installing this [...]]]></description>
			<content:encoded><![CDATA[<p>I love using Eclipse for my day to day but I hate how it automatically re-orders my tabs. It looks like other people view the <a href="http://andrei.gmxhome.de/eclipseMRUbug.html">Eclipse &#8220;MRU&#8221; tab positioning policy as a burden</a> as well.</p>
<p>If you know what I&#8217;m talking about and want your tabs to remain where you put them, try installing this Eclipse plugin made to do exactly that: <a href="http://andrei.gmxhome.de/skins/index.html">Extended VS Presentation plugin</a><br />
Its got some other really nice features but check it out and see for yourself.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.markledford.com/blog/2008/03/18/fix-for-eclipse-tab-reordering-feature-mru-tab-positioning-policy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Conditional breakpoint: enterDebugger()</title>
		<link>http://www.markledford.com/blog/2008/01/13/conditional-breakpoint-enterdebugger/</link>
		<comments>http://www.markledford.com/blog/2008/01/13/conditional-breakpoint-enterdebugger/#comments</comments>
		<pubDate>Sun, 13 Jan 2008 09:06:58 +0000</pubDate>
		<dc:creator>markledford</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[flex actionscript]]></category>

		<guid isPermaLink="false">http://www.markledford.com/blog/?p=5</guid>
		<description><![CDATA[Here&#8217;s a handy tip I recalled reading about but never really learned to appreciated until recently. You can run the package level function flash.debugger.enterDebugger anywhere in your code to break out into the flex debugger pragmatically. If you&#8217;ve ever had to step through the same break point repeatedly in the same debug session you can [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a handy tip I recalled reading about but never really learned to appreciated until recently. You can run the package level function flash.debugger.enterDebugger anywhere in your code to break out into the flex debugger pragmatically.  If you&#8217;ve ever had to step through the same break point repeatedly in the same debug session you can just throw this in an if statement instead and save some time and frustration.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.markledford.com/blog/2008/01/13/conditional-breakpoint-enterdebugger/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello World!</title>
		<link>http://www.markledford.com/blog/2007/12/24/hello-world/</link>
		<comments>http://www.markledford.com/blog/2007/12/24/hello-world/#comments</comments>
		<pubDate>Mon, 24 Dec 2007 21:01:38 +0000</pubDate>
		<dc:creator>markledford</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.markledford.com/blog/?p=3</guid>
		<description><![CDATA[So I&#8217;ve been planning to put up a flash related blog for some time. Hopefully it&#8217;ll be as useful as I&#8217;ve found some other developer blogs. Here we go!]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;ve been planning to put up a flash related blog for some time. Hopefully it&#8217;ll be as useful as I&#8217;ve found some other developer blogs. Here we go!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.markledford.com/blog/2007/12/24/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

