<?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>Stroep</title> <atom:link href="http://blog.stroep.nl/feed/" rel="self" type="application/rss+xml" /><link>http://blog.stroep.nl</link> <description>Just a collection of random works - Mark Knol</description> <lastBuildDate>Mon, 01 Feb 2010 19:23:04 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.2</generator> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>Arthouse</title><link>http://blog.stroep.nl/2010/02/arthouse/</link> <comments>http://blog.stroep.nl/2010/02/arthouse/#comments</comments> <pubDate>Mon, 01 Feb 2010 18:48:20 +0000</pubDate> <dc:creator>Mark Knol</dc:creator> <category><![CDATA[Generative art]]></category> <category><![CDATA[art]]></category> <category><![CDATA[arthouse]]></category> <category><![CDATA[gallery]]></category><guid isPermaLink="false">http://blog.stroep.nl/?p=891</guid> <description><![CDATA[<img alt="" src="http://farm3.static.flickr.com/2696/4314999961_70cf822676.jpg" class="alignleft" width="100" height="100" /><a href="http://popuparthouse.com/">Mocha ArtHouse</a> is an experimental space that fuses the experience of art, culture and food, and exist as a platform for young artist and performers. ArtHouse brings new artist and audiences together in a manner that is accessible and inspirational. ]]></description> <content:encoded><![CDATA[<p><img alt="" src="http://farm3.static.flickr.com/2696/4314999961_70cf822676.jpg" class="alignleft" width="100" height="100" /><a href="http://popuparthouse.com/">Mocha ArtHouse</a> is an experimental space that fuses the experience of art, culture and food, and exist as a platform for young artist and performers. ArtHouse brings new artist and audiences together in a manner that is accessible and inspirational.<br /> <br clear="both"/><br /> The gallery was 21 december 2009. Unfortunately, I couldn&#8217;t see it in real life, because it was in India, and I live in the Netherlands (yes, almost other side of the world, 6.400km). It was great to work with those guys, they have showed some of my favorites and send me nice photo&#8217;s. Hope to have an gallery like this in Holland ever too (someone interested to do this?) <img src='http://blog.stroep.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p><a href="http://www.flickr.com/photos/markknol/4314995981/" title="Arthouse by mark knol, on Flickr"><img src="http://farm5.static.flickr.com/4037/4314995981_4e84e9b0e2_b.jpg" width="570" alt="Arthouse" /></a></p><p><a href="http://www.flickr.com/photos/markknol/4315731550/" title="Arthouse by mark knol, on Flickr"><img src="http://farm5.static.flickr.com/4013/4315731550_2453f5a84f_b.jpg" width="570" alt="Arthouse" /></a></p><p><a href="http://www.flickr.com/photos/markknol/4315734932/" title="Arthouse by mark knol, on Flickr"><img src="http://farm3.static.flickr.com/2704/4315734932_9a06cc6afb_b.jpg" width="570" alt="Arthouse" /></a></p><p>&raquo; <a href="http://www.flickr.com/search/?w=25064547%40N06&#038;q=arthouse&#038;m=text">More photo&#8217;s here</a></p> ]]></content:encoded> <wfw:commentRss>http://blog.stroep.nl/2010/02/arthouse/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Updated design &#8211; Cleaner and less ads</title><link>http://blog.stroep.nl/2010/01/updated-design/</link> <comments>http://blog.stroep.nl/2010/01/updated-design/#comments</comments> <pubDate>Sun, 10 Jan 2010 20:56:30 +0000</pubDate> <dc:creator>Mark Knol</dc:creator> <category><![CDATA[Stroep]]></category> <category><![CDATA[2010]]></category> <category><![CDATA[design]]></category><guid isPermaLink="false">http://blog.stroep.nl/?p=864</guid> <description><![CDATA[<img src="http://blog.stroep.nl/wp-content/stroep-updated.jpg" alt="" title="Stroep updated" width="100" height="100" class="alignleft size-full wp-image-865" />What a nice title! I have updated my blog design. No, there are no shocking new features, just a more fresh and cleaner design. Yes, it is still black and in the 'stroep'-style, but I think it is really cleaner.  I think it is important too keep improving, so I hope you like it. I added some nice icons in the sidebar and jQuery rollovers. I have added rounded corners (only shown in modern browsers) and I really think it makes the site more friendly, which should be a good thing ;) ]]></description> <content:encoded><![CDATA[<p><img src="http://blog.stroep.nl/wp-content/stroep-updated.jpg" alt="" title="Stroep updated" width="100" height="100" class="alignleft size-full wp-image-865" />What a nice title! I have updated my blog design. No, there are no shocking new features, just a more fresh and more cleaner design. Yes, it is still black and in the &#8217;stroep&#8217;-style, but I think it is really a little bit better. I think it is important too keep improving, so I hope you like it. I added some nice icons in the sidebar and jQuery rollovers. I have added rounded corners (only shown in modern browsers) and I really think it makes the site more friendly, which should be a good thing <img src='http://blog.stroep.nl/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p><p>For all guys who use IE6, I have added a nice message for you. You cannot see my site anymore. It&#8217;s not a personal thing, but I really think this year we should all ban old crappy browsers. It would not take long till I show this message for IE7 too and some other out-dated browsers too. Let us update and enjoy fast modern browsing with new possibilities.</p><p>I have removed more Google ads from the blog. There were some ads between the posts and on the post-page. Now I have only 1 banner at the bottom of the sidebar. Yes; I have 2000 unique visitors in a month and no; I don&#8217;t earn a lot money with it, so basically the ads are useless. I dislike banners too, but still I hope to have a big hit one day and my ad is ready to be clicked (kidding) For real; one day I had the illusion I could be rich by placing these ads on my blog. But I&#8217;ve realized most people on my blog are looking for products, but looking for sources and inspiration. This site doesn&#8217;t target banner-clicking-people. I hope you are happy with it.</p> ]]></content:encoded> <wfw:commentRss>http://blog.stroep.nl/2010/01/updated-design/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Particle test center &#8211; video</title><link>http://blog.stroep.nl/2010/01/particle-test-center-video/</link> <comments>http://blog.stroep.nl/2010/01/particle-test-center-video/#comments</comments> <pubDate>Sat, 02 Jan 2010 08:12:38 +0000</pubDate> <dc:creator>Mark Knol</dc:creator> <category><![CDATA[Generative art]]></category> <category><![CDATA[particles]]></category> <category><![CDATA[video]]></category><guid isPermaLink="false">http://blog.stroep.nl/?p=847</guid> <description><![CDATA[<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/lOlfm-xhMJc&#038;hl=nl_NL&#038;fs=1&#038;color1=0x000000&#038;color2=0x33322F"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/lOlfm-xhMJc&#038;hl=nl_NL&#038;fs=1&#038;color1=0x000000&#038;color2=0x33322F" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="585" height="344"></embed></object>More info <a href="http://blog.stroep.nl/2009/12/particle-test-center/">here</a>]]></description> <content:encoded><![CDATA[<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/lOlfm-xhMJc&#038;hl=nl_NL&#038;fs=1&#038;color1=0x000000&#038;color2=0x33322F"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/lOlfm-xhMJc&#038;hl=nl_NL&#038;fs=1&#038;color1=0x000000&#038;color2=0x33322F" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="585" height="344"></embed></object></p><p>More info <a href="http://blog.stroep.nl/2009/12/particle-test-center/">here</a></p> ]]></content:encoded> <wfw:commentRss>http://blog.stroep.nl/2010/01/particle-test-center-video/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Particle test center</title><link>http://blog.stroep.nl/2009/12/particle-test-center/</link> <comments>http://blog.stroep.nl/2009/12/particle-test-center/#comments</comments> <pubDate>Tue, 29 Dec 2009 00:05:26 +0000</pubDate> <dc:creator>Mark Knol</dc:creator> <category><![CDATA[Actionscript]]></category><guid isPermaLink="false">http://blog.stroep.nl/?p=842</guid> <description><![CDATA[<img src="http://blog.stroep.nl/wp-content/particlecenter.jpg" alt="" title="particle center" width="100" height="100" class="alignleft size-full wp-image-844" />For a while now, I am experimenting with this new experiment. I created an algorithm with nested sinus/cosinus, to show of some cool 3d looking particles (no there is no 3d in it). It is amazing to see how many particles flash can move. I used components from bit-101 to have some interaction.<strong>Check:</strong> <a href="http://projects.stroep.nl/particles/">http://projects.stroep.nl/particles/</a>]]></description> <content:encoded><![CDATA[<p><img src="http://blog.stroep.nl/wp-content/particlecenter.jpg" alt="" title="particle center" width="100" height="100" class="alignleft size-full wp-image-844" />For a while now, I am experimenting with this new experiment. I created an algorithm with nested sinus/cosinus, to show of some cool 3d looking particles (no there is no 3d in it). It is amazing to see how many particles flash can move. I used components from bit-101 to have some interaction.</p><p><strong>Check:</strong> <a href="http://projects.stroep.nl/particles/">http://projects.stroep.nl/particles/</a></p> ]]></content:encoded> <wfw:commentRss>http://blog.stroep.nl/2009/12/particle-test-center/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Chain: Delayed function calling [updated]</title><link>http://blog.stroep.nl/2009/11/delayed-function-calling-chain/</link> <comments>http://blog.stroep.nl/2009/11/delayed-function-calling-chain/#comments</comments> <pubDate>Sat, 14 Nov 2009 12:00:36 +0000</pubDate> <dc:creator>Mark Knol</dc:creator> <category><![CDATA[Actionscript]]></category> <category><![CDATA[Code snippets]]></category> <category><![CDATA[as3]]></category> <category><![CDATA[chain]]></category> <category><![CDATA[class]]></category> <category><![CDATA[googlecode]]></category><guid isPermaLink="false">http://blog.stroep.nl/?p=824</guid> <description><![CDATA[<img src="http://blog.stroep.nl/wp-content/chain.jpg" alt="Chain" title="Chain" width="100" height="100" class="alignleft size-full wp-image-832" />I created a useful util-class to make delayed function calling easy. You can make a chain of functions, by adding them with a delay in milliseconds. This chain can be executed multiple times, even in reversed order. ]]></description> <content:encoded><![CDATA[<p><img src="http://blog.stroep.nl/wp-content/chain.jpg" alt="Chain" title="Chain" width="100" height="100" class="alignleft size-full wp-image-832" />I created a useful util-class to make delayed function calling easy. You can make a chain of functions, by adding them with a delay in milliseconds. This chain can be executed multiple times, even in reversed order.</p><p>Let&#8217;s take a look at a simple example of Chain.<br clear="both"/><div class="bbCSH" style="font-family: monospace;"><span style="color: #000000; ">var</span> myChain:Chain = <span style="color: #000000; ">new</span> Chain<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;&nbsp; &nbsp; <br /> myChain.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span> Event.<span style="color: #006600;">COMPLETE</span>, onComplete<span style="color: #66cc66;">&#41;</span>;<br /> myChain.<span style="color: #0066CC;">add</span><span style="color: #66cc66;">&#40;</span>one, <span style="color: #cc66cc;">2000</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #0066CC;">add</span><span style="color: #66cc66;">&#40;</span>two, <span style="color: #cc66cc;">500</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #0066CC;">add</span><span style="color: #66cc66;">&#40;</span>three, <span style="color: #cc66cc;">1000</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #0066CC;">play</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">2</span><span style="color: #66cc66;">&#41;</span>;</p><p><span style="color: #000000; ">function</span> one<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span> <span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;one&quot;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#125;</span><br /> <span style="color: #000000; ">function</span> two<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span> <span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;two&quot;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#125;</span><br /> <span style="color: #000000; ">function</span> three<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span> <span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;three&quot;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#125;</span><br /> <span style="color: #000000; ">function</span> onComplete<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">e</span>:Event<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span> <span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;done.&quot;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#125;</span></p><p><span style="color: #808080; font-style: italic;">/* trace output:<br /> one two three one two three done.<br /> */</span><br /> &nbsp;</div><p>What is happening here? At the first line we are instantiating the class, and the second line represents what chain does. There is a public function called &#8216;add&#8217;, which is an important part of the class. <em>add(one, 2000)</em> means: execute a function called &#8216;one&#8217; after 2000 milliseconds. <em>add(two,500).add(three,1000)</em> are functions that are called after one is finished, with other delays. You can create your own rhythm/sequence/pattern. At the end we see <em>play(2)</em>, which means: Execute the sequence of functions defined before, and repeat them 2 times. After that, dispatch event COMPLETE.</p><p>So that&#8217;s basically it. A cool part is you can play it reversed, using <em>playReversed()</em>. I am inspired by jQuery (which has nothing to do with this) to enable the ability to stick functions, but thats optional.</p><div class="bbCSH" style="font-family: monospace;"> myChain.<span style="color: #006600;">playReversed</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">2</span><span style="color: #66cc66;">&#41;</span>;</p><p><span style="color: #808080; font-style: italic;">/* trace output:<br /> three two one three two one<br /> */</span><br /> &nbsp;</div><p>Of course you can pauze/continue when you are playing, by calling <em>stop() / doContinue()</em>, and you can determine if it is currently playing using the <em>isPlaying</em>-getter.</p><p>These are all the public functions.</p><div class="bbCSH" style="font-family: monospace;"> <span style="color: #808080; font-style: italic;">/// Constructor</span><br /> <span style="color: #b1b100;">public</span> <span style="color: #000000; ">function</span> Chain<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span></p><p><span style="color: #808080; font-style: italic;">/// Adds a function at a specified interval (in milliseconds).</span><br /> <span style="color: #b1b100;">public</span> <span style="color: #000000; ">function</span> <span style="color: #0066CC;">add</span><span style="color: #66cc66;">&#40;</span>func:<span style="color: #000000; ">Function</span>, delay:<span style="color: #0066CC;">Number</span> = <span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span>:Chain</p><p><span style="color: #808080; font-style: italic;">/// Start playing the sequence and calling functions</span><br /> <span style="color: #b1b100;">public</span> <span style="color: #000000; ">function</span> <span style="color: #0066CC;">play</span><span style="color: #66cc66;">&#40;</span>repeatCount:<span style="color: #0066CC;">int</span> = <span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span></p><p><span style="color: #808080; font-style: italic;">/// Start playing the sequence reversed</span><br /> <span style="color: #b1b100;">public</span> <span style="color: #000000; ">function</span> playReversed<span style="color: #66cc66;">&#40;</span>repeatCount:<span style="color: #0066CC;">int</span> = <span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span></p><p><span style="color: #808080; font-style: italic;">/// Clears sequence list. Data will be removed.</span><br /> <span style="color: #b1b100;">public</span> <span style="color: #000000; ">function</span> <span style="color: #0066CC;">clear</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:Chain</p><p><span style="color: #808080; font-style: italic;">/// Stop playing, use doContinue to play futher from current point</span><br /> <span style="color: #b1b100;">public</span> <span style="color: #000000; ">function</span> <span style="color: #0066CC;">stop</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span></p><p><span style="color: #808080; font-style: italic;">/// Continue playing after a stop</span><br /> <span style="color: #b1b100;">public</span> <span style="color: #000000; ">function</span> doContinue<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:Chain</p><p><span style="color: #808080; font-style: italic;">/// Reset indexes</span><br /> <span style="color: #b1b100;">public</span> <span style="color: #000000; ">function</span> reset<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span></p><p><span style="color: #808080; font-style: italic;">/// Returns the string representation of the Chain private vars.</span><br /> <span style="color: #b1b100;">public</span> <span style="color: #000000; ">function</span> <span style="color: #0066CC;">toString</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">String</span></p><p><span style="color: #808080; font-style: italic;">/// Return chain is playing, stopped or completed</span><br /> <span style="color: #b1b100;">public</span> <span style="color: #000000; ">function</span> <span style="color: #0066CC;">get</span> isPlaying<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">Boolean</span><br /> &nbsp;</div><p>Hope you like it, let me know if you like to see extra/other related features.</p><p><strong>Download: <a href="http://code.google.com/p/stroep/source/browse/#svn/trunk/nl/stroep/chain">Chain</a></strong> (googlecode)</p><p><strong>Updates</strong><br /> - Private functions are protected<br /> - <em>add</em>-functions is now add(function, delay), where function is required.<br /> - Class now extends EventDispatcher and <em>play/playReversed</em> dispatches <em>Event.COMPLETE</em> after playing sequence, instead of calling onComplete function<br /> - Cleaned up code</p> ]]></content:encoded> <wfw:commentRss>http://blog.stroep.nl/2009/11/delayed-function-calling-chain/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>Update Image class &#8211; added contextMenu</title><link>http://blog.stroep.nl/2009/11/add-contextmenu-to-images/</link> <comments>http://blog.stroep.nl/2009/11/add-contextmenu-to-images/#comments</comments> <pubDate>Fri, 06 Nov 2009 17:35:13 +0000</pubDate> <dc:creator>Mark Knol</dc:creator> <category><![CDATA[Actionscript]]></category> <category><![CDATA[Other]]></category> <category><![CDATA[as3]]></category> <category><![CDATA[code]]></category> <category><![CDATA[image]]></category> <category><![CDATA[snippet]]></category><guid isPermaLink="false">http://blog.stroep.nl/?p=812</guid> <description><![CDATA[<img src="/wp-content/uploads/image-contextmenu.jpg" alt="" class="alignleft" />I've updated my <a href="http://blog.stroep.nl/2009/06/nlstroeputilsimage/">Image class</a>. It is irritating flashsites break the right-click contextmenu. Well, I can't fix that and Adobe should look at that, but I think it would nice to add some of the browser - features to my image class. ]]></description> <content:encoded><![CDATA[<p><img src="/wp-content/uploads/image-contextmenu.jpg" alt="" class="alignleft" />I&#8217;ve updated my <a href="http://blog.stroep.nl/2009/06/nlstroeputilsimage/">Image class</a>. It is irritating flashsites break the right-click contextmenu. Well, I can&#8217;t fix that and Adobe should look at that, but I think it would nice to add some of the browser &#8211; features to my image class.</p><p>Currently I have these options added to the Image class:</p><blockquote><p> <strong>View image</strong><br /> Views image in new window/tab. I used NavigateToURL to make this happen.</p><p><strong>Save Image as..</strong><br /> Saves image on your computer. I used my ImageClass.saveLocal() to make this happen. This is only available within FP10, but I think this is no problem anymore because < a href = "http://www.adobe.com/products/player_census/flashplayer/version_penetration.html" > 93 %</a> (September 2009) has FlashPlayer 10, so most people have it, and I don&#8217;t support outdated software <img src='http://blog.stroep.nl/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p><p><strong>Copy Image location</strong><br /> Copies the url to the clipboard, using System.setClipboard(url). It&#8217;s a pity I can&#8217;t create a &#8216;Copy Image&#8217; function, because pushing bitmapdata into the clipboard is only supported in AIR.</p><p><strong>Send Image</strong><br /> Sends the url to the mail-client, using &#8220;mailto:&#038;body=&#8221; + src. Also a pity; I can&#8217;t add the image directly into the mail.</p></blockquote><p><strong>How to enable the contextmenu:</strong></p><div class="bbCSH" style="font-family: monospace;"> <span style="color: #0066CC;">import</span> nl.<span style="color: #006600;">stroep</span>.<span style="color: #006600;">utils</span>.<span style="color: #006600;">Image</span>;</p><p><span style="color: #000000; ">var</span> myImage:Image = <span style="color: #000000; ">new</span> Image<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;myImage.jpg&quot;</span><span style="color: #66cc66;">&#41;</span>;<br /> myImage.<span style="color: #006600;">enableContextMenu</span> = <span style="color: #000000; ">true</span>; <span style="color: #808080; font-style: italic;">// enable it!</span><br /> <span style="color: #0066CC;">this</span>.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span>myImage<span style="color: #66cc66;">&#41;</span>;<br /> &nbsp;</div><p> I still love this class, I use it a lot. I want to encourage you to please add these kind of usability things to your apps / websites. And share them! Yes, it takes some extra time to create/add it, because this IS the finishing touch, but a lot of people will like this kind of features.</p><p><strong>Download</strong><br /> Check out the <a href="http://code.google.com/p/stroep/source/browse/trunk/nl/stroep/utils/Image.as">Image class</a> at<a href="http://code.google.com/p/stroep">googlecode</a></p> ]]></content:encoded> <wfw:commentRss>http://blog.stroep.nl/2009/11/add-contextmenu-to-images/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>getBounds for TextFields = getBitmapBounds()</title><link>http://blog.stroep.nl/2009/11/getbitmapbounds/</link> <comments>http://blog.stroep.nl/2009/11/getbitmapbounds/#comments</comments> <pubDate>Thu, 05 Nov 2009 18:05:32 +0000</pubDate> <dc:creator>Mark Knol</dc:creator> <category><![CDATA[Actionscript]]></category> <category><![CDATA[Code snippets]]></category> <category><![CDATA[bitmapdata]]></category> <category><![CDATA[snippet]]></category> <category><![CDATA[textfield]]></category><guid isPermaLink="false">http://blog.stroep.nl/?p=799</guid> <description><![CDATA[<img src="http://blog.stroep.nl/wp-content/snippet.jpg" alt="Code snippet" align="left" class="alignleft size-full wp-image-588" />I found out the getBounds()-function gives not exactly the right rectangle with a TextField. It always matches the border bounds, even if the borders are invisible. So i've created a more accurate function using getColorBoundsRect().]]></description> <content:encoded><![CDATA[<p><img src="http://blog.stroep.nl/wp-content/snippet.jpg" alt="Code snippet" align="left" class="alignleft size-full wp-image-588" />I found out the getBounds()-function gives not exactly the right rectangle with a TextField. It always matches the border bounds, even if the borders are invisible. So I&#8217;ve created a more accurate function using getColorBoundsRect().</p><p>Click on the words. Switch between getRect() and getTextFieldBounds() by clicking on the buttons below to see the difference.</p><p><object type="application/x-shockwave-flash" data="http://projects.stroep.nl/getBitmapBounds/GetBitmapBounds.swf" width="550" height="140"><param name="movie" value="http://projects.stroep.nl/getBitmapBounds/GetBitmapBounds.swf" /></object></p><p>» <a href="http://projects.stroep.nl/getBitmapBounds/GetBitmapBounds.zip"><b>Download source</b></a></p> ]]></content:encoded> <wfw:commentRss>http://blog.stroep.nl/2009/11/getbitmapbounds/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Generative art: Tiger</title><link>http://blog.stroep.nl/2009/10/generative-art-tiger/</link> <comments>http://blog.stroep.nl/2009/10/generative-art-tiger/#comments</comments> <pubDate>Sat, 03 Oct 2009 14:41:29 +0000</pubDate> <dc:creator>Mark Knol</dc:creator> <category><![CDATA[Generative art]]></category> <category><![CDATA[abstract]]></category> <category><![CDATA[genera]]></category> <category><![CDATA[tiger]]></category><guid isPermaLink="false">http://blog.stroep.nl/?p=793</guid> <description><![CDATA[Tiger represents power. I love to express strong animals with powerful lines. This one is created with actionscript (flash). I edited the composition with photoshop to add the text and changed contrast. The lines and letters are created generatively, using mouse gestures and random movements. I have worked hard to create this image, it is full with details, full of lines. Hope you like it.<a href="http://www.flickr.com/photos/markknol/3976348801/" title="tiger by mark knol, on Flickr"><img src="http://farm3.static.flickr.com/2562/3976348801_3a5e6be477_o.jpg" width="550" alt="tiger" /></a> <a href="http://www.flickr.com/photos/markknol/3976348449/" title="tiger.detail.01 by mark knol, on Flickr"><img src="http://farm4.static.flickr.com/3514/3976348449_018f1de39b.jpg" width="275" height="275" alt="tiger.detail.01" style="float:left" /></a> <a href="http://www.flickr.com/photos/markknol/3976348597/" title="tiger.detail.02 by mark knol, on Flickr"><img src="http://farm3.static.flickr.com/2497/3976348597_1943a69897.jpg" width="275" height="275" alt="tiger.detail.02" style="float:left" /></a> <br clear="both"/> full composition size: 10.000 x 7500 px]]></description> <content:encoded><![CDATA[<p>Tiger represents power. I love to express strong animals with powerful lines. This one is created with actionscript (flash). I edited the composition with photoshop to add the text and changed contrast. The lines and letters are created generatively, using mouse gestures and random movements. I have worked hard to create this image, it is full with details, full of lines. Hope you like it.</p><p><a href="http://www.flickr.com/photos/markknol/3976348801/" title="tiger by mark knol, on Flickr"><img src="http://farm3.static.flickr.com/2562/3976348801_3a5e6be477_o.jpg" width="550" alt="tiger" /></a><br /> <a href="http://www.flickr.com/photos/markknol/3976348449/" title="tiger.detail.01 by mark knol, on Flickr"><img src="http://farm4.static.flickr.com/3514/3976348449_018f1de39b.jpg" width="275" height="275" alt="tiger.detail.01" style="float:left" /></a> <a href="http://www.flickr.com/photos/markknol/3976348597/" title="tiger.detail.02 by mark knol, on Flickr"><img src="http://farm3.static.flickr.com/2497/3976348597_1943a69897.jpg" width="275" height="275" alt="tiger.detail.02" style="float:left" /></a><br /> <br clear="both"/><br /> full composition size: 10.000 x 7500 px</p> ]]></content:encoded> <wfw:commentRss>http://blog.stroep.nl/2009/10/generative-art-tiger/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>