<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><language>en-us</language><copyright>Copyright 2006</copyright><managingEditor>palrich@gmail.com</managingEditor><webMaster>palrich@gmail.com</webMaster><lastBuildDate>Tue, 07 Sep 2010 14:50:29 +0000</lastBuildDate><pubDate>Tue, 07 Sep 2010 14:50:29 +0000</pubDate><ttl>60</ttl><generator>WeirdLooking.com</generator><link>http://www.weirdlooking.com/</link><description>WeirdLooking.com: Michael Barton's Blog</description><title>WeirdLooking.com: Michael Barton's Blog</title><image><url>http://www.weirdlooking.com/images/feed.png</url><title>WeirdLooking.com: Michael Barton's Blog</title><link>http://www.weirdlooking.com/</link></image><item><title>actionscript still sucks</title><dc:creator>Michael Barton</dc:creator><link>http://www.weirdlooking.com/blog/actionscript-still-sucks</link><guid>http://www.weirdlooking.com/blog/actionscript-still-sucks</guid><pubDate>Tue, 11 Jul 2006 02:49:15 +0000</pubDate><description>&lt;div style=&quot;float: right; margin: 2px; padding: 2px; border: solid 1px #555555;&quot;&gt;&lt;a href=&quot;//www.weirdlooking.com/blog/actionscript-still-sucks/barcode.jpg&quot;&gt;&lt;img src=&quot;//www.weirdlooking.com/blog/actionscript-still-sucks/barcode.jpg/200:*&quot; alt=&quot;Click to enlargen&quot; /&gt;&lt;/a&gt;&lt;/div&gt;The last few days, I&amp;rsquo;ve been working on a Flash thingy that can grab barcodes from the webcam.&amp;nbsp; This is another part of the project from my last post.&amp;nbsp; It&amp;rsquo;s actually kind of fun getting my hands dirty with pixels again.&lt;br /&gt;&lt;br /&gt;If you&amp;rsquo;re wondering what that white space below the webcam image is, JOIN THE CLUB.&amp;nbsp; I&amp;rsquo;ve been through the code&amp;#8230; I don&amp;rsquo;t know how many times.&amp;nbsp; The Flash layout system hates me.&lt;br /&gt;&lt;br /&gt;I&amp;rsquo;m sure that part of the problem is my ghetto open source &lt;a href=&quot;http://www.flashdevelop.org/community/&quot; style=&quot;position: relative; padding-left: 8px; zoom: 1;&quot;&gt;&lt;span style=&quot;position: absolute; top: -5px; left: 0px; width: 16px; height: 16px; background: URL(http://www.weirdlooking.com/exticon?http%3A%2F%2Fwww.flashdevelop.org%2Fcommunity%2F) no-repeat center center; -moz-opacity: 0.3; opacity: 0.3; filter:alpha(opacity=30);&quot;&gt;&lt;/span&gt;development tools&lt;/a&gt; for Flash.&amp;nbsp; But until I have $700 to sink into something that is mostly a hobby, this is what I have available.&lt;br /&gt;&lt;br /&gt;And to everyone about to tell me to pirate it:&amp;nbsp; eat me.</description><category>actionscript</category><category>barcode</category><category>webcam</category><comments>http://www.weirdlooking.com/blog/actionscript-still-sucks#comments</comments><wfw:comment>http://www.weirdlooking.com/comments/62</wfw:comment><wfw:commentRss>http://www.weirdlooking.com/rss/comments/62</wfw:commentRss><slash:comments>5</slash:comments></item><item><title>i hate actionscript</title><dc:creator>Michael Barton</dc:creator><link>http://www.weirdlooking.com/blog/i-hate-actionscript</link><guid>http://www.weirdlooking.com/blog/i-hate-actionscript</guid><pubDate>Mon, 03 Jul 2006 11:24:35 +0000</pubDate><description>I needed to make a Flash movie containing pictures that could be dragged out onto the surrounding HTML elements.&amp;nbsp; And it almost worked, too.&lt;br /&gt;&lt;br /&gt;You can pass information from Flash to HTML by sending the browser to a javascript: URL, so the idea was to trap the mouse-down event in Flash, then pass a message to the javascript telling it that it&amp;rsquo;s currently in a dragging state.&amp;nbsp; Replicate the dragging graphic in both Flash and HTML, and you can almost imagine this method working.&lt;br /&gt;&lt;br /&gt;Except&amp;#8230; if you try to drag something outside of Flash, it refuses to give the mouse events back.&amp;nbsp; Flash continues receiving events though, so you could theoretically pass those back to the browser yourself.&amp;nbsp; But calling getURL(&amp;rsquo;javascript:&amp;#8230;&amp;rsquo;) to share the current mouse position causes IE to &amp;ldquo;click!&amp;rdquo; for every pixel the mouse moves.&lt;br /&gt;&lt;br /&gt;I&amp;rsquo;m not really a Flash guy, so this may be possible via some other chicanery.&amp;nbsp; But based on currently available data, I&amp;rsquo;m going to call it a defeat.&lt;br /&gt;&lt;br /&gt;Mike: 0, Flash: 1</description><category>computers and internet</category><category>actionscript</category><category>javascript</category><comments>http://www.weirdlooking.com/blog/i-hate-actionscript#comments</comments><wfw:comment>http://www.weirdlooking.com/comments/61</wfw:comment><wfw:commentRss>http://www.weirdlooking.com/rss/comments/61</wfw:commentRss><slash:comments>4</slash:comments></item></channel></rss>