<?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>NewSourceMedia Blog &#187; mouse</title>
	<atom:link href="http://newsourcemedia.com/blog/tag/mouse/feed/" rel="self" type="application/rss+xml" />
	<link>http://newsourcemedia.com/blog</link>
	<description>Focused on Interactive Design, Development and Marketing</description>
	<lastBuildDate>Fri, 30 Dec 2011 04:30:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Fix flash focus to activate key clicks.</title>
		<link>http://newsourcemedia.com/blog/fix-flash-focus-to-activate-key-clicks/</link>
		<comments>http://newsourcemedia.com/blog/fix-flash-focus-to-activate-key-clicks/#comments</comments>
		<pubDate>Sun, 23 Dec 2007 00:22:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Workarounds]]></category>
		<category><![CDATA[activate]]></category>
		<category><![CDATA[active]]></category>
		<category><![CDATA[control]]></category>
		<category><![CDATA[controler]]></category>
		<category><![CDATA[flash problem]]></category>
		<category><![CDATA[initiate]]></category>
		<category><![CDATA[key clicks]]></category>
		<category><![CDATA[keyboard]]></category>
		<category><![CDATA[keys]]></category>
		<category><![CDATA[mouse]]></category>
		<category><![CDATA[navagation]]></category>

		<guid isPermaLink="false">http://newsourcemedia.com/blog/2007/12/22/fix-flash-focus-to-activate-key-clicks/</guid>
		<description><![CDATA[Problem with flash not working with key clicks. Using the JavaScript to focus the flash on load. Question: How do I initiate the flash with out using the mouse click. For example I built a flash game utilizes the keyboard &#8230; <a href="http://newsourcemedia.com/blog/fix-flash-focus-to-activate-key-clicks/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[Problem with flash not working with key clicks. Using the JavaScript to focus the flash on load.
<span id="more-160"></span>

<strong>Question:</strong> How do I initiate the flash with out using the mouse click. For example I built a flash game utilizes the keyboard as the main controller and I want the flash game to listen for the key clicks to move the item in the game. The problem is when the page loads, flash does not have the focus so clicking on any key only controls the browser window and not the flash.

<strong>Answer:</strong> Use a JavaScript call on the body tag “onLoad” event like below to set the focus on the flash game using the flash embed id name like so:
<p class="code">&lt;body onLoad="window.document.flashIDname.focus();"&gt;</p>

flashIDname = The is the name of flash movie without the ".swf".]]></content:encoded>
			<wfw:commentRss>http://newsourcemedia.com/blog/fix-flash-focus-to-activate-key-clicks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
