<?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>4th Dimension Development &#187; Flex</title>
	<atom:link href="http://4thddev.com/category/development/flex-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://4thddev.com</link>
	<description>Web Design and Development</description>
	<lastBuildDate>Mon, 10 May 2010 23:40:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Flex and missing browser scrollbar</title>
		<link>http://4thddev.com/2009/12/30/flex-and-missing-browser-scrollbar/</link>
		<comments>http://4thddev.com/2009/12/30/flex-and-missing-browser-scrollbar/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 16:07:16 +0000</pubDate>
		<dc:creator>Wes Hunt</dc:creator>
				<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://4thddev.com/?p=131</guid>
		<description><![CDATA[Working on a site recently that is going to be a CodeIgniter/PHP site with several Flex modules added in, I encountered a peculiar problem. Because my Flex applications are not controlling site structure (navigation, headers, footers, etc.) the user needs to have a typical browser experience. Allowing the user to scroll with the browser is [...]]]></description>
			<content:encoded><![CDATA[<p>Working on a site recently that is going to be a CodeIgniter/PHP site with several Flex modules added in, I encountered a peculiar problem.  Because my Flex applications are not controlling site structure (navigation, headers, footers, etc.) the user needs to have a typical browser experience.  Allowing the user to scroll with the browser is much simpler than training them to use scrollbars inside my application in this use case.</p>
<p>The Flex/Flashbuilder generated HTML template however, disables browser scrolling in a couple of places.  This is fine for full page Flex applications, but you may want to turn this off for hybrid applications.</p>
<p>First, Flashbuilder adds a style:</p>
<p><strong><span style="color: #003366;">body { margin: 0px; overflow:hidden }</span></strong></p>
<p>Change this to:</p>
<p><strong><span style="color: #003366;">body { margin: 0px; overflow:scroll; }</span></strong></p>
<p>Then look for your body tag:</p>
<p><strong><span style="color: #003366;">&lt;body scroll=&#8221;no&#8221;&gt;</span></strong></p>
<p>and change it to:</p>
<p><strong><span style="color: #003366;">&lt;body&gt;</span></strong></p>
<p>and that&#8217;s all!  This will be different if you&#8217;re using the SWFObject to embed your Flex.</p>
]]></content:encoded>
			<wfw:commentRss>http://4thddev.com/2009/12/30/flex-and-missing-browser-scrollbar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
