<?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>dominic-tancredi.com &#187; actionscript</title> <atom:link href="http://dominic-tancredi.com/category/programming/actionscript/feed/" rel="self" type="application/rss+xml" /><link>http://dominic-tancredi.com</link> <description>art + science hacking</description> <lastBuildDate>Sat, 07 Jan 2012 22:34:42 +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>Flash &#8211; Googlemaps Mask Bug</title><link>http://dominic-tancredi.com/2009/10/08/flash-googlemaps-mask-bug/</link> <comments>http://dominic-tancredi.com/2009/10/08/flash-googlemaps-mask-bug/#comments</comments> <pubDate>Thu, 08 Oct 2009 14:29:05 +0000</pubDate> <dc:creator>dominic</dc:creator> <category><![CDATA[actionscript]]></category> <category><![CDATA[code hacking]]></category> <guid
isPermaLink="false">http://dominic-tancredi.com/?p=107</guid> <description><![CDATA[I just found a bug in Googlemaps&#8217; Flash component. BUG: When a mask is used over the map component, the copyright and MapTypeControls Fonts (possibly other control fonts) are hidden. The buttons still work. Originally, the map itself didn&#8217;t have a mask, but was imported into a wrapper banner ad that had the mask &#8211; [...]]]></description> <content:encoded><![CDATA[<p>I just found a bug in Googlemaps&#8217; Flash component.</p><p><strong>BUG:</strong> When a mask is used over the map component, the copyright and MapTypeControls Fonts (possibly other control fonts) are hidden. The buttons still work.</p><p>Originally, the map itself didn&#8217;t have a mask, but was imported into a wrapper banner ad that had the mask &#8211; same issue. It took a while to isolate what the issue was. Hope this helps someone out. I&#8217;m posting images to showcase it:</p><div
id="attachment_110" class="wp-caption alignnone" style="width: 283px"><img
class="size-full wp-image-110" title="googlemaps_bug_wo_mask" src="http://dominic-tancredi.com/wp-content/uploads/2009/10/googlemaps_bug_wo_mask.png" alt="googlemaps_bug_wo_mask" width="273" height="322" /><p
class="wp-caption-text">googlemaps_bug_wo_mask</p></div><div
id="attachment_108" class="wp-caption alignnone" style="width: 287px"><img
class="size-full wp-image-108" title="googlemaps_bug_w_mask" src="http://dominic-tancredi.com/wp-content/uploads/2009/10/googlemaps_bug_w_mask.png" alt="googlemaps_bug_w_mask" width="277" height="320" /><p
class="wp-caption-text">googlemaps_bug_w_mask</p></div><p>Instead of using timeline, just use actionscript:</p><p>map.mask = mapMask;</p><p><a
href="http://code.google.com/p/gmaps-api-issues/issues/detail?id=1803&#038;q=apitype%3AFlash%20type%3ADefect&#038;sort=id%20-stars&#038;colspec=ID%20Type%20Status%20Introduced%20Fixed%20Summary%20Internal%20Stars">GoogleMaps Bug Tracking the Issue (link #1)</a></p><p><a
href="http://code.google.com/p/gmaps-api-issues/issues/detail?id=1681&#038;q=apitype%3AFlash%20type%3ADefect&#038;sort=id%20-stars&#038;colspec=ID%20Type%20Status%20Introduced%20Fixed%20Summary%20Internal%20Stars">GoogleMaps Bug Tracking the Issue (link #2)</a></p><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fdominic-tancredi.com%2F2009%2F10%2F08%2Fflash-googlemaps-mask-bug%2F&amp;title=Flash%20%26%238211%3B%20Googlemaps%20Mask%20Bug" id="wpa2a_2"><img
src="http://dominic-tancredi.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://dominic-tancredi.com/2009/10/08/flash-googlemaps-mask-bug/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Flash &#8211; ComboBox &#8211; Green Halo (won&#8217;t disable if you load into another swf bug)</title><link>http://dominic-tancredi.com/2009/09/17/flash-combobox-green-halo-wont-disable-if-you-load-into-another-swf-bug/</link> <comments>http://dominic-tancredi.com/2009/09/17/flash-combobox-green-halo-wont-disable-if-you-load-into-another-swf-bug/#comments</comments> <pubDate>Thu, 17 Sep 2009 20:41:54 +0000</pubDate> <dc:creator>dominic</dc:creator> <category><![CDATA[actionscript]]></category> <category><![CDATA[code hacking]]></category> <guid
isPermaLink="false">http://dominic-tancredi.com/?p=100</guid> <description><![CDATA[If you have a combox in a swf, and load that swf into a wrapper swf, it&#8217;s POSSIBLE the green halo will stick around long after you scroll and make a selection. Simply add this to your actionscript: yourComboBox.drawFocus = &#8220;&#8221;; yourComboBox.dropdown.drawFocus=&#8221;"; That should disable it. There. That&#8217;s a headache I hope I can spare [...]]]></description> <content:encoded><![CDATA[<p>If you have a combox in a swf, and load that swf into a wrapper swf, it&#8217;s POSSIBLE the green halo will stick around long after you scroll and make a selection.</p><p>Simply add this to your actionscript:</p><p><strong>yourComboBox.drawFocus = &#8220;&#8221;;<br
/> yourComboBox.dropdown.drawFocus=&#8221;";</strong></p><p>That should disable it. There. That&#8217;s a headache I hope I can spare you. I can&#8217;t tell you how long I worked with <strong>&#8220;_focusrect&#8221;</strong> and <strong>&#8220;focusRectEnabled&#8221;</strong> before find that solution.</p><p><strong>FTD</strong></p><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fdominic-tancredi.com%2F2009%2F09%2F17%2Fflash-combobox-green-halo-wont-disable-if-you-load-into-another-swf-bug%2F&amp;title=Flash%20%26%238211%3B%20ComboBox%20%26%238211%3B%20Green%20Halo%20%28won%26%238217%3Bt%20disable%20if%20you%20load%20into%20another%20swf%20bug%29" id="wpa2a_4"><img
src="http://dominic-tancredi.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://dominic-tancredi.com/2009/09/17/flash-combobox-green-halo-wont-disable-if-you-load-into-another-swf-bug/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> </channel> </rss>
