<?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>Nick Kuh - Freelance iPhone and iPad Developer - Brighton, UK &#187; Bugs and issues</title>
	<atom:link href="http://www.nickkuh.com/category/flash-flex-air/bugs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nickkuh.com</link>
	<description>Nick Kuh is a Freelance iPhone and iPad Developer based in Brighton, UK</description>
	<lastBuildDate>Tue, 07 Sep 2010 10:38:22 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Getting 0,0 for multiple touches on iPhone?</title>
		<link>http://www.nickkuh.com/flash-flex-air/bugs/getting-00-for-multiple-touches-on-iphone/2009/05/</link>
		<comments>http://www.nickkuh.com/flash-flex-air/bugs/getting-00-for-multiple-touches-on-iphone/2009/05/#comments</comments>
		<pubDate>Mon, 25 May 2009 13:35:16 +0000</pubDate>
		<dc:creator>Nick Kuh</dc:creator>
				<category><![CDATA[Bugs and issues]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iphone multitouch]]></category>

		<guid isPermaLink="false">http://www.nickkuh.com/?p=158</guid>
		<description><![CDATA[
			
				
			
		
It&#8217;s taken a while for me to discover the simple solution as to why one of my 2 UITouch objects when grabbing the allTouches set from the iPhone SDK touchesMoved event always resulted in 0,0 co-ordinates in my view&#8230;
NSSet *allTouches = [event allTouches];
Solution: you need to switch on the multipleTouchEnabled property of the view you [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fbugs%2Fgetting-00-for-multiple-touches-on-iphone%2F2009%2F05%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fbugs%2Fgetting-00-for-multiple-touches-on-iphone%2F2009%2F05%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>It&#8217;s taken a while for me to discover the simple solution as to why one of my 2 UITouch objects when grabbing the allTouches set from the iPhone SDK touchesMoved event always resulted in 0,0 co-ordinates in my view&#8230;</p>
<blockquote><p>NSSet *allTouches = [event allTouches];</p></blockquote>
<p>Solution: you need to switch on the multipleTouchEnabled property of the view you want to get multiple touch events from!! ie:</p>
<blockquote><p>[self.view setMultipleTouchEnabled:YES];</p></blockquote>
<p>Hope this post helps others&#8230;</p>
<ul class="socialwrap size32 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fbugs%2Fgetting-00-for-multiple-touches-on-iphone%2F2009%2F05%2F&amp;title=Getting+0%2C0+for+multiple+touches+on+iPhone%3F" title="Bookmark this post : Getting 0,0 for multiple touches on iPhone? on Delicious"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fbugs%2Fgetting-00-for-multiple-touches-on-iphone%2F2009%2F05%2F&amp;title=Getting+0%2C0+for+multiple+touches+on+iPhone%3F&amp;bodytext=It%27s+taken+a+while+for+me+to+discover+the+simple+solution+as+to+why+one+of+my+2+UITouch+objects+when+grabbing+the+allTouches+set+from+the+iPhone+SDK+touchesMoved+event+always+resulted+in+0%2C0+co-ordinates+in+my+view...%0D%0ANSSet+%2AallTouches+%3D+%5Bevent+allTouches%5D%3B%0D%0ASolution%3A+you+need+to+switch+on+the+multipleTouchEnabled+pro" title="Digg this post : Getting 0,0 for multiple touches on iPhone?"><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fbugs%2Fgetting-00-for-multiple-touches-on-iphone%2F2009%2F05%2F&amp;t=Getting+0%2C0+for+multiple+touches+on+iPhone%3F" title="Recommend this post : Getting 0,0 for multiple touches on iPhone? on Facebook"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="reddit" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fbugs%2Fgetting-00-for-multiple-touches-on-iphone%2F2009%2F05%2F&amp;title=Getting+0%2C0+for+multiple+touches+on+iPhone%3F" title="Share this post : Getting 0,0 for multiple touches on iPhone? on Reddit"><span class="head">share via Reddit</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fbugs%2Fgetting-00-for-multiple-touches-on-iphone%2F2009%2F05%2F&amp;title=Getting+0%2C0+for+multiple+touches+on+iPhone%3F" title="Share this post : Getting 0,0 for multiple touches on iPhone? with Stumblers"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fbugs%2Fgetting-00-for-multiple-touches-on-iphone%2F2009%2F05%2F" title="Tweet this post : Getting 0,0 for multiple touches on iPhone? on Twitter"><span class="head">Tweet about it</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="" class="rss" href="http://www.nickkuh.com/flash-flex-air/bugs/getting-00-for-multiple-touches-on-iphone/2009/05/feed" title="Follow this post : Getting 0,0 for multiple touches on iPhone? comments"><span class="head">Subscribe to the comments on this post</span></a></li>
</ul>
<div class="clean"></div>
]]></content:encoded>
			<wfw:commentRss>http://www.nickkuh.com/flash-flex-air/bugs/getting-00-for-multiple-touches-on-iphone/2009/05/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unexpected scroll results with HBox/VBox/Containers using percent height/width</title>
		<link>http://www.nickkuh.com/flash-flex-air/unexpected-scroll-results-with-hboxvboxcontainers-using-percent-heightwidth/2009/04/</link>
		<comments>http://www.nickkuh.com/flash-flex-air/unexpected-scroll-results-with-hboxvboxcontainers-using-percent-heightwidth/2009/04/#comments</comments>
		<pubDate>Thu, 02 Apr 2009 11:57:19 +0000</pubDate>
		<dc:creator>Nick Kuh</dc:creator>
				<category><![CDATA[Adobe Flash, Flex and Air]]></category>
		<category><![CDATA[Bugs and issues]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[flex container]]></category>
		<category><![CDATA[percentHeight]]></category>

		<guid isPermaLink="false">http://www.nickkuh.com/?p=148</guid>
		<description><![CDATA[
			
				
			
		
The objective:
The screen grab below is taken from a Flex application I&#8217;m building. This page of the app comprises of 2 VBoxes inside an HBox. The 2 VBoxes need to size to 100% of the height of the HBox container. The user can edit any of the text fields. When the user edits the body [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Funexpected-scroll-results-with-hboxvboxcontainers-using-percent-heightwidth%2F2009%2F04%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Funexpected-scroll-results-with-hboxvboxcontainers-using-percent-heightwidth%2F2009%2F04%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p><strong>The objective:</strong></p>
<p>The screen grab below is taken from a Flex application I&#8217;m building. This page of the app comprises of 2 VBoxes inside an HBox. The 2 VBoxes need to size to 100% of the height of the HBox container. The user can edit any of the text fields. When the user edits the body text of the left column, if they use up all the vertical space of that left VBox then I&#8217;d like the VBox containing the title and the boy text to create scroll bars, not to resize it&#8217;s parent VBox. Simple right?</p>
<p><a href="http://www.nickkuh.com/wp-content/uploads/2009/04/picture-141.png"><img class="aligncenter size-full wp-image-151" title="picture-141" src="http://www.nickkuh.com/wp-content/uploads/2009/04/picture-141.png" alt="" width="500" height="203" /></a></p>
<p>Not so simple&#8230; Here&#8217;s a snippet of the code:</p>
<blockquote><p>&lt;mx:VBox width=&#8221;50%&#8221; height=&#8221;100%&#8221; styleName=&#8221;whiteContainer&#8221;&gt;</p>
<p>&lt;mx:Box direction=&#8221;vertical&#8221; width=&#8221;100%&#8221; height=&#8221;100%&#8221; styleName=&#8221;scrollableContentWithText&#8221; &gt;<br />
&lt;mx:HBox width=&#8221;100%&#8221; verticalAlign=&#8221;middle&#8221;&gt;<br />
&lt;mx:Image source=&#8221;assets/images/book74&#215;42.png&#8221; width=&#8221;74&#8243; height=&#8221;42&#8243; /&gt;<br />
&lt;controls:AdvancedTextArea id=&#8221;title1&#8243; multiline=&#8221;false&#8221; textModify=&#8221;captialize&#8221; styleName=&#8221;whiteContainerHeader&#8221; condenseWhite=&#8221;true&#8221; width=&#8221;100%&#8221; prompt=&#8221;{resourceManager.getString(&#8216;resources&#8217;,'ENTER_TEXT_PROMPT&#8217;).toUpperCase()}&#8221; /&gt;<br />
&lt;/mx:HBox&gt;<br />
&lt;controls:AdvancedTextArea id=&#8221;body1&#8243; styleName=&#8221;blueOnWhiteText&#8221; condenseWhite=&#8221;true&#8221; width=&#8221;100%&#8221; prompt=&#8221;{resourceManager.getString(&#8216;resources&#8217;,'ENTER_TEXT_PROMPT&#8217;)}&#8221; /&gt;<br />
&lt;/mx:Box&gt;<br />
&lt;/mx:VBox&gt;</p></blockquote>
<p>And here are the results when that body text gets too deep for the VBox:</p>
<p><a href="http://www.nickkuh.com/wp-content/uploads/2009/04/picture-13.png"><img class="aligncenter size-full wp-image-154" title="picture-13" src="http://www.nickkuh.com/wp-content/uploads/2009/04/picture-13.png" alt="" width="500" height="207" /></a></p>
<p>So the whole parent HBox ended up getting stretched. Not the results I expected.</p>
<p>The solution as it turns out is pretty straight forward. The VBox containing the left column needs it&#8217;s minHeight and minWidth properties set to 0! The reason is that with containers using percentage based sizing flex sets the min height and min width properties to the cumulative width and height of the container&#8217;s children components. So in my example as the editable text component gets deeper/taller this automatically increases the minHeight property of it&#8217;s parent container.</p>
<p>So by explicitly setting the parent container&#8217;s minHeight and minWidth to 0:</p>
<blockquote><p>&lt;mx:VBox width=&#8221;50%&#8221; height=&#8221;100%&#8221; styleName=&#8221;whiteContainer&#8221;&gt;<br />
&lt;mx:Box direction=&#8221;vertical&#8221; width=&#8221;100%&#8221; height=&#8221;100%&#8221; minHeight=&#8221;0&#8243; minWidth=&#8221;0&#8243; styleName=&#8221;scrollableContentWithText&#8221; &gt;<br />
&lt;mx:HBox width=&#8221;100%&#8221; verticalAlign=&#8221;middle&#8221;&gt;<br />
&lt;mx:Image source=&#8221;assets/images/book74&#215;42.png&#8221; width=&#8221;74&#8243; height=&#8221;42&#8243; /&gt;<br />
&lt;controls:AdvancedTextArea id=&#8221;title1&#8243; multiline=&#8221;false&#8221; textModify=&#8221;captialize&#8221; styleName=&#8221;whiteContainerHeader&#8221; condenseWhite=&#8221;true&#8221; width=&#8221;100%&#8221; prompt=&#8221;{resourceManager.getString(&#8216;resources&#8217;,'ENTER_TEXT_PROMPT&#8217;).toUpperCase()}&#8221; /&gt;<br />
&lt;/mx:HBox&gt;<br />
&lt;controls:AdvancedTextArea id=&#8221;body1&#8243; styleName=&#8221;blueOnWhiteText&#8221; condenseWhite=&#8221;true&#8221; width=&#8221;100%&#8221; prompt=&#8221;{resourceManager.getString(&#8216;resources&#8217;,'ENTER_TEXT_PROMPT&#8217;)}&#8221; /&gt;<br />
&lt;/mx:Box&gt;<br />
&lt;/mx:VBox&gt;</p></blockquote>
<p>&#8230; I ended up with the desired result:</p>
<p><a href="http://www.nickkuh.com/wp-content/uploads/2009/04/picture-15.png"><img class="aligncenter size-full wp-image-155" title="picture-15" src="http://www.nickkuh.com/wp-content/uploads/2009/04/picture-15.png" alt="" width="500" height="204" /></a></p>
<ul class="socialwrap size32 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Funexpected-scroll-results-with-hboxvboxcontainers-using-percent-heightwidth%2F2009%2F04%2F&amp;title=Unexpected+scroll+results+with+HBox%2FVBox%2FContainers+using+percent+height%2Fwidth" title="Bookmark this post : Unexpected scroll results with HBox/VBox/Containers using percent height/width on Delicious"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Funexpected-scroll-results-with-hboxvboxcontainers-using-percent-heightwidth%2F2009%2F04%2F&amp;title=Unexpected+scroll+results+with+HBox%2FVBox%2FContainers+using+percent+height%2Fwidth&amp;bodytext=The+objective%3A%0D%0A%0D%0AThe+screen+grab+below+is+taken+from+a+Flex+application+I%27m+building.+This+page+of+the+app+comprises+of+2+VBoxes+inside+an+HBox.+The+2+VBoxes+need+to+size+to+100%25+of+the+height+of+the+HBox+container.+The+user+can+edit+any+of+the+text+fields.+When+the+user+edits+the+body+text+of+the+left+column%2C+if+they" title="Digg this post : Unexpected scroll results with HBox/VBox/Containers using percent height/width"><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Funexpected-scroll-results-with-hboxvboxcontainers-using-percent-heightwidth%2F2009%2F04%2F&amp;t=Unexpected+scroll+results+with+HBox%2FVBox%2FContainers+using+percent+height%2Fwidth" title="Recommend this post : Unexpected scroll results with HBox/VBox/Containers using percent height/width on Facebook"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="reddit" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Funexpected-scroll-results-with-hboxvboxcontainers-using-percent-heightwidth%2F2009%2F04%2F&amp;title=Unexpected+scroll+results+with+HBox%2FVBox%2FContainers+using+percent+height%2Fwidth" title="Share this post : Unexpected scroll results with HBox/VBox/Containers using percent height/width on Reddit"><span class="head">share via Reddit</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Funexpected-scroll-results-with-hboxvboxcontainers-using-percent-heightwidth%2F2009%2F04%2F&amp;title=Unexpected+scroll+results+with+HBox%2FVBox%2FContainers+using+percent+height%2Fwidth" title="Share this post : Unexpected scroll results with HBox/VBox/Containers using percent height/width with Stumblers"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Funexpected-scroll-results-with-hboxvboxcontainers-using-percent-heightwidth%2F2009%2F04%2F" title="Tweet this post : Unexpected scroll results with HBox/VBox/Containers using percent height/width on Twitter"><span class="head">Tweet about it</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="" class="rss" href="http://www.nickkuh.com/flash-flex-air/unexpected-scroll-results-with-hboxvboxcontainers-using-percent-heightwidth/2009/04/feed" title="Follow this post : Unexpected scroll results with HBox/VBox/Containers using percent height/width comments"><span class="head">Subscribe to the comments on this post</span></a></li>
</ul>
<div class="clean"></div>
]]></content:encoded>
			<wfw:commentRss>http://www.nickkuh.com/flash-flex-air/unexpected-scroll-results-with-hboxvboxcontainers-using-percent-heightwidth/2009/04/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>NativeWindow class in AIR does not support Flex components</title>
		<link>http://www.nickkuh.com/flash-flex-air/nativewindow-class-in-air-does-not-support-flex-components/2008/11/</link>
		<comments>http://www.nickkuh.com/flash-flex-air/nativewindow-class-in-air-does-not-support-flex-components/2008/11/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 12:59:53 +0000</pubDate>
		<dc:creator>Nick Kuh</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Adobe Flash, Flex and Air]]></category>
		<category><![CDATA[Bugs and issues]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[adobe air]]></category>
		<category><![CDATA[nativewindow]]></category>

		<guid isPermaLink="false">http://www.nickkuh.com/?p=116</guid>
		<description><![CDATA[
			
				
			
		
Just a quick tip for any AIR developer&#8217;s searching for why there&#8217;s no addChild method in the NativeWindow class &#8211; I wasted a fair while on this over the weekend. I was adding Flex components to the stage property of NativeWindow and trying various other work arounds. Although you don&#8217;t get errors for doing this [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fnativewindow-class-in-air-does-not-support-flex-components%2F2008%2F11%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fnativewindow-class-in-air-does-not-support-flex-components%2F2008%2F11%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Just a quick tip for any AIR developer&#8217;s searching for why there&#8217;s no addChild method in the NativeWindow class &#8211; I wasted a fair while on this over the weekend. I was adding Flex components to the stage property of NativeWindow and trying various other work arounds. Although you don&#8217;t get errors for doing this the Flex components never appear when you test your app!</p>
<p>If you want to add Flex components to a new NativeWindow in AIR then this is what <strong>Window</strong> class is for. So don&#8217;t waste time creating a new NativeWindow and activating it, just create/subclass the Window class not NativeWindow and you&#8217;ll find all the stanard Flex component properties and methods <img src='http://www.nickkuh.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Duh!</p>
<ul class="socialwrap size32 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fnativewindow-class-in-air-does-not-support-flex-components%2F2008%2F11%2F&amp;title=NativeWindow+class+in+AIR+does+not+support+Flex+components" title="Bookmark this post : NativeWindow class in AIR does not support Flex components on Delicious"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fnativewindow-class-in-air-does-not-support-flex-components%2F2008%2F11%2F&amp;title=NativeWindow+class+in+AIR+does+not+support+Flex+components&amp;bodytext=Just+a+quick+tip+for+any+AIR+developer%27s+searching+for+why+there%27s+no+addChild+method+in+the+NativeWindow+class+-+I+wasted+a+fair+while+on+this+over+the+weekend.+I+was+adding+Flex+components+to+the+stage+property+of+NativeWindow+and+trying+various+other+work+arounds.+Although+you+don%27t+get+errors+for+doing+this+the+Fle" title="Digg this post : NativeWindow class in AIR does not support Flex components"><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fnativewindow-class-in-air-does-not-support-flex-components%2F2008%2F11%2F&amp;t=NativeWindow+class+in+AIR+does+not+support+Flex+components" title="Recommend this post : NativeWindow class in AIR does not support Flex components on Facebook"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="reddit" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fnativewindow-class-in-air-does-not-support-flex-components%2F2008%2F11%2F&amp;title=NativeWindow+class+in+AIR+does+not+support+Flex+components" title="Share this post : NativeWindow class in AIR does not support Flex components on Reddit"><span class="head">share via Reddit</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fnativewindow-class-in-air-does-not-support-flex-components%2F2008%2F11%2F&amp;title=NativeWindow+class+in+AIR+does+not+support+Flex+components" title="Share this post : NativeWindow class in AIR does not support Flex components with Stumblers"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fnativewindow-class-in-air-does-not-support-flex-components%2F2008%2F11%2F" title="Tweet this post : NativeWindow class in AIR does not support Flex components on Twitter"><span class="head">Tweet about it</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="" class="rss" href="http://www.nickkuh.com/flash-flex-air/nativewindow-class-in-air-does-not-support-flex-components/2008/11/feed" title="Follow this post : NativeWindow class in AIR does not support Flex components comments"><span class="head">Subscribe to the comments on this post</span></a></li>
</ul>
<div class="clean"></div>
]]></content:encoded>
			<wfw:commentRss>http://www.nickkuh.com/flash-flex-air/nativewindow-class-in-air-does-not-support-flex-components/2008/11/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Corner Radius Doesn&#8217;t work on HBox/VBox</title>
		<link>http://www.nickkuh.com/flash-flex-air/flex/corner-radius-doesnt-work-on-hboxvbox/2008/10/</link>
		<comments>http://www.nickkuh.com/flash-flex-air/flex/corner-radius-doesnt-work-on-hboxvbox/2008/10/#comments</comments>
		<pubDate>Mon, 06 Oct 2008 13:33:44 +0000</pubDate>
		<dc:creator>Nick Kuh</dc:creator>
				<category><![CDATA[Bugs and issues]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.nickkuh.com/?p=30</guid>
		<description><![CDATA[
			
				
			
		
I haven&#8217;t been responsible for the skinning on most of our Flex projects but today that&#8217;s exactly what I&#8217;ve been doing all day. I just discovered that setting the cornerRadius style of a HBox or VBox has no effect when used on it&#8217;s own in css or MXML. The style &#8216;borderStyle&#8217; also needs to be [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fflex%2Fcorner-radius-doesnt-work-on-hboxvbox%2F2008%2F10%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fflex%2Fcorner-radius-doesnt-work-on-hboxvbox%2F2008%2F10%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>I haven&#8217;t been responsible for the skinning on most of our Flex projects but today that&#8217;s exactly what I&#8217;ve been doing all day. I just discovered that setting the cornerRadius style of a HBox or VBox has no effect when used on it&#8217;s own in css or MXML. The style &#8216;borderStyle&#8217; also needs to be set to &#8217;solid&#8217; for the cornerRadius you&#8217;ve set to display! Weird&#8230;</p>
<ul class="socialwrap size32 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fflex%2Fcorner-radius-doesnt-work-on-hboxvbox%2F2008%2F10%2F&amp;title=Corner+Radius+Doesn%26%238217%3Bt+work+on+HBox%2FVBox" title="Bookmark this post : Corner Radius Doesn&#8217;t work on HBox/VBox on Delicious"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fflex%2Fcorner-radius-doesnt-work-on-hboxvbox%2F2008%2F10%2F&amp;title=Corner+Radius+Doesn%26%238217%3Bt+work+on+HBox%2FVBox&amp;bodytext=I+haven%27t+been+responsible+for+the+skinning+on+most+of+our+Flex+projects+but+today+that%27s+exactly+what+I%27ve+been+doing+all+day.+I+just+discovered+that+setting+the+cornerRadius+style+of+a+HBox+or+VBox+has+no+effect+when+used+on+it%27s+own+in+css+or+MXML.+The+style+%27borderStyle%27+also+needs+to+be+set+to+%27solid%27+for+the+corn" title="Digg this post : Corner Radius Doesn&#8217;t work on HBox/VBox"><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fflex%2Fcorner-radius-doesnt-work-on-hboxvbox%2F2008%2F10%2F&amp;t=Corner+Radius+Doesn%26%238217%3Bt+work+on+HBox%2FVBox" title="Recommend this post : Corner Radius Doesn&#8217;t work on HBox/VBox on Facebook"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="reddit" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fflex%2Fcorner-radius-doesnt-work-on-hboxvbox%2F2008%2F10%2F&amp;title=Corner+Radius+Doesn%26%238217%3Bt+work+on+HBox%2FVBox" title="Share this post : Corner Radius Doesn&#8217;t work on HBox/VBox on Reddit"><span class="head">share via Reddit</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fflex%2Fcorner-radius-doesnt-work-on-hboxvbox%2F2008%2F10%2F&amp;title=Corner+Radius+Doesn%26%238217%3Bt+work+on+HBox%2FVBox" title="Share this post : Corner Radius Doesn&#8217;t work on HBox/VBox with Stumblers"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fflex%2Fcorner-radius-doesnt-work-on-hboxvbox%2F2008%2F10%2F" title="Tweet this post : Corner Radius Doesn&#8217;t work on HBox/VBox on Twitter"><span class="head">Tweet about it</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="" class="rss" href="http://www.nickkuh.com/flash-flex-air/flex/corner-radius-doesnt-work-on-hboxvbox/2008/10/feed" title="Follow this post : Corner Radius Doesn&#8217;t work on HBox/VBox comments"><span class="head">Subscribe to the comments on this post</span></a></li>
</ul>
<div class="clean"></div>
]]></content:encoded>
			<wfw:commentRss>http://www.nickkuh.com/flash-flex-air/flex/corner-radius-doesnt-work-on-hboxvbox/2008/10/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Flex Builder 3 Development + Flash Player 10 Beta = Grief</title>
		<link>http://www.nickkuh.com/flash-flex-air/flex/flex-builder-3-development-flash-player-10-beta-grief/2008/10/</link>
		<comments>http://www.nickkuh.com/flash-flex-air/flex/flex-builder-3-development-flash-player-10-beta-grief/2008/10/#comments</comments>
		<pubDate>Fri, 03 Oct 2008 14:42:32 +0000</pubDate>
		<dc:creator>Nick Kuh</dc:creator>
				<category><![CDATA[Bugs and issues]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.nickkuh.com/?p=25</guid>
		<description><![CDATA[
			
				
			
		
I installed Flash Player 10 Beta the other day which unfortunately led to about 1 hours wasted Flex Development time this morning when I started work this morning. I tried run a Flex application I&#8217;ve been working on in debug mode. Last time I ran it on Friday it worked fine but this time I [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fflex%2Fflex-builder-3-development-flash-player-10-beta-grief%2F2008%2F10%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fflex%2Fflex-builder-3-development-flash-player-10-beta-grief%2F2008%2F10%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>I installed Flash Player 10 Beta the other day which unfortunately led to about 1 hours wasted Flex Development time this morning when I started work this morning. I tried run a Flex application I&#8217;ve been working on in debug mode. Last time I ran it on Friday it worked fine but this time I got an Eclipse alert the moment I tried to run the debug with the following message:</p>
<blockquote><p>/Library/Internet Plug-Ins/Flash Player.plugin</p>
<p>Flex Builder cannot locate the required debugger version of Flash Player. You might need to install the debugger version of Flash Player 9 or reinstall Flex Builder.</p>
<p>Do you want to try to debug with the current version?</p></blockquote>
<p>Click yes and the app runs but no debug traces back in Flex Builder.</p>
<p>The problem turned out to be that when I installed Flash 10 Beta Player it overwrote my default Flash 9 Debug Player. I found a reference to this bug in the <a href="http://bugs.adobe.com/jira/browse/FB-13474">Adobe Bugs DB</a>. Looks like as OS X specific bug.</p>
<p>Anyway, the solution is to <a href="http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14157&amp;sliceId=2">uninstall Flash Player</a> and then <a href="http://www.adobe.com/support/flashplayer/downloads.html">reinstall Flash 9 Debug version</a> which isn&#8217;t ideal as I&#8217;d like to keep Flash 10 Beta running.</p>
<p>If anyones knows how to run the 2 simultaneously please let me know <img src='http://www.nickkuh.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<ul class="socialwrap size32 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fflex%2Fflex-builder-3-development-flash-player-10-beta-grief%2F2008%2F10%2F&amp;title=Flex+Builder+3+Development+%2B+Flash+Player+10+Beta+%3D+Grief" title="Bookmark this post : Flex Builder 3 Development + Flash Player 10 Beta = Grief on Delicious"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fflex%2Fflex-builder-3-development-flash-player-10-beta-grief%2F2008%2F10%2F&amp;title=Flex+Builder+3+Development+%2B+Flash+Player+10+Beta+%3D+Grief&amp;bodytext=I+installed+Flash+Player+10+Beta+the+other+day+which+unfortunately+led+to+about+1+hours+wasted+Flex+Development+time+this+morning+when+I+started+work+this+morning.+I+tried+run+a+Flex+application+I%27ve+been+working+on+in+debug+mode.+Last+time+I+ran+it+on+Friday+it+worked+fine+but+this+time+I+got+an+Eclipse+alert+the+mome" title="Digg this post : Flex Builder 3 Development + Flash Player 10 Beta = Grief"><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fflex%2Fflex-builder-3-development-flash-player-10-beta-grief%2F2008%2F10%2F&amp;t=Flex+Builder+3+Development+%2B+Flash+Player+10+Beta+%3D+Grief" title="Recommend this post : Flex Builder 3 Development + Flash Player 10 Beta = Grief on Facebook"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="reddit" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fflex%2Fflex-builder-3-development-flash-player-10-beta-grief%2F2008%2F10%2F&amp;title=Flex+Builder+3+Development+%2B+Flash+Player+10+Beta+%3D+Grief" title="Share this post : Flex Builder 3 Development + Flash Player 10 Beta = Grief on Reddit"><span class="head">share via Reddit</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fflex%2Fflex-builder-3-development-flash-player-10-beta-grief%2F2008%2F10%2F&amp;title=Flex+Builder+3+Development+%2B+Flash+Player+10+Beta+%3D+Grief" title="Share this post : Flex Builder 3 Development + Flash Player 10 Beta = Grief with Stumblers"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fflex%2Fflex-builder-3-development-flash-player-10-beta-grief%2F2008%2F10%2F" title="Tweet this post : Flex Builder 3 Development + Flash Player 10 Beta = Grief on Twitter"><span class="head">Tweet about it</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="" class="rss" href="http://www.nickkuh.com/flash-flex-air/flex/flex-builder-3-development-flash-player-10-beta-grief/2008/10/feed" title="Follow this post : Flex Builder 3 Development + Flash Player 10 Beta = Grief comments"><span class="head">Subscribe to the comments on this post</span></a></li>
</ul>
<div class="clean"></div>
]]></content:encoded>
			<wfw:commentRss>http://www.nickkuh.com/flash-flex-air/flex/flex-builder-3-development-flash-player-10-beta-grief/2008/10/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
