<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - Winkyboy</title>
<link>http://snipplr.com/users/Winkyboy</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sat, 25 May 2013 20:17:09 GMT</pubDate>
<item>
<title>(C#) setLanguage in WinForms</title>
<link>http://snipplr.com/view/68111/setlanguage-in-winforms/</link>
<description><![CDATA[ <p>Just a snippet I like; this can be called on GotFocus or LostFocus of a field, and it *attempts* to set the input language to the desired language.</p> ]]></description>
<pubDate>Tue, 06 Nov 2012 06:57:10 GMT</pubDate>
<guid>http://snipplr.com/view/68111/setlanguage-in-winforms/</guid>
</item>
<item>
<title>(JavaScript) Hide Sencha Touch list items dynamically via CSS</title>
<link>http://snipplr.com/view/65770/hide-sencha-touch-list-items-dynamically-via-css/</link>
<description><![CDATA[ <p>Although I realize one should be able to filter a store to remove unwanted items in the list, this allows the list items through and just hides them via CSS.</p> ]]></description>
<pubDate>Sat, 23 Jun 2012 06:45:37 GMT</pubDate>
<guid>http://snipplr.com/view/65770/hide-sencha-touch-list-items-dynamically-via-css/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 invert image transparency</title>
<link>http://snipplr.com/view/54809/as3-invert-image-transparency/</link>
<description><![CDATA[ <p>This inverts the transparency on a Bitmap (probably supplied a PNG source) that specifically has two colors in it; "#656565" and "transparent" - you can tweak the threshold lines specifically if you'd like to modify that to use a range, or whatever.

Adapted from http://stackoverflow.com/questions/608087/flex-actionscript-white-to-transparent and http://www.sephiroth.it/tutorials/flashPHP/thresold/</p> ]]></description>
<pubDate>Fri, 03 Jun 2011 08:17:38 GMT</pubDate>
<guid>http://snipplr.com/view/54809/as3-invert-image-transparency/</guid>
</item>
<item>
<title>(ActionScript 3) Calling Javascript (JS) function from Flash file (AS3)</title>
<link>http://snipplr.com/view/38290/calling-javascript-js-function-from-flash-file-as3/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 04 Aug 2010 01:44:11 GMT</pubDate>
<guid>http://snipplr.com/view/38290/calling-javascript-js-function-from-flash-file-as3/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Get Object Names from GetObjectsUnderPoint</title>
<link>http://snipplr.com/view/38186/as3-get-object-names-from-getobjectsunderpoint/</link>
<description><![CDATA[ <p>Calling this will conditionally trace the list of object names underneath your mouse point. It will only trace when the list of objects beneath the mouse actually changes.</p> ]]></description>
<pubDate>Sun, 01 Aug 2010 23:46:36 GMT</pubDate>
<guid>http://snipplr.com/view/38186/as3-get-object-names-from-getobjectsunderpoint/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 GetNextHighestDepth</title>
<link>http://snipplr.com/view/38024/as3-getnexthighestdepth/</link>
<description><![CDATA[ <p>Often used in conjunction with dragging elements around the screen, you may want the item most recently picked up to jump to the top of the "stack." Here's how to do it. In the event handler you create, you tell the item's parent to set its child's index to the highest number of its children.</p> ]]></description>
<pubDate>Thu, 29 Jul 2010 12:47:34 GMT</pubDate>
<guid>http://snipplr.com/view/38024/as3-getnexthighestdepth/</guid>
</item>
<item>
<title>(ActionScript 3) AS3: Rounding to nearest N</title>
<link>http://snipplr.com/view/37923/as3-rounding-to-nearest-n/</link>
<description><![CDATA[ <p>syntax:

roundToNearest(45, YourValueHere);</p> ]]></description>
<pubDate>Tue, 27 Jul 2010 05:01:57 GMT</pubDate>
<guid>http://snipplr.com/view/37923/as3-rounding-to-nearest-n/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Projectile Motion Tutorial</title>
<link>http://snipplr.com/view/35317/as3-projectile-motion-tutorial/</link>
<description><![CDATA[ <p>A convenient and educational tutorial for creating a bouncing ball-type game.</p> ]]></description>
<pubDate>Sat, 29 May 2010 11:02:49 GMT</pubDate>
<guid>http://snipplr.com/view/35317/as3-projectile-motion-tutorial/</guid>
</item>
<item>
<title>(ActionScript 3) Create your own custom events in AS3</title>
<link>http://snipplr.com/view/35296/create-your-own-custom-events-in-as3/</link>
<description><![CDATA[ <p>A very easy way to have child movieclips cause events in their parent code to occur.</p> ]]></description>
<pubDate>Fri, 28 May 2010 09:52:43 GMT</pubDate>
<guid>http://snipplr.com/view/35296/create-your-own-custom-events-in-as3/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 ComboBox extremely basic example</title>
<link>http://snipplr.com/view/27121/as3-combobox-extremely-basic-example/</link>
<description><![CDATA[ <p>This is the most simple example of a ComboBox created in AS3, based mostly on Adobe's example from http://help.adobe.com/en_US/ActionScript/3.0_UsingComponentsAS3/WS5b3ccc516d4fbf351e63e3d118a9c65b32-7fa9.html

Inside the zip file you will find two folders. The first is this example with a ComboBox dragged onto the stage of the FLA with a supporting .AS file to populate it and make it work. The second example shows a ComboBox created and populated entirely by actionscript.</p> ]]></description>
<pubDate>Tue, 26 Jan 2010 17:03:32 GMT</pubDate>
<guid>http://snipplr.com/view/27121/as3-combobox-extremely-basic-example/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Dropdown/Flyout menu</title>
<link>http://snipplr.com/view/23082/as3-dropdownflyout-menu/</link>
<description><![CDATA[ <p>There ARE probably better dropdown menus than this one, but for simple purposes this works well. This has a button that reveals a menu that drops down. It could be easily tweaked to move upward instead. Uses Tweener.</p> ]]></description>
<pubDate>Fri, 13 Nov 2009 16:27:35 GMT</pubDate>
<guid>http://snipplr.com/view/23082/as3-dropdownflyout-menu/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Form Field focus/blur functions</title>
<link>http://snipplr.com/view/22413/as3-form-field-focusblur-functions/</link>
<description><![CDATA[ <p>Paste this into your AS file to add focus and blur events to your text/form fields. If your field contains YOUR DEFAULT MESSAGE when focus is brought to it, it will erase itself, to be ready for text entry. If focus is lost while the field is completely empty, the default message will return.</p> ]]></description>
<pubDate>Tue, 03 Nov 2009 12:21:28 GMT</pubDate>
<guid>http://snipplr.com/view/22413/as3-form-field-focusblur-functions/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Email Validation</title>
<link>http://snipplr.com/view/22409/as3-email-validation/</link>
<description><![CDATA[ <p>The source below is the function from the website with the corrected regular expression found in the site's comments. This is a nigh-one-line function for validating a string as an email address.</p> ]]></description>
<pubDate>Tue, 03 Nov 2009 12:05:56 GMT</pubDate>
<guid>http://snipplr.com/view/22409/as3-email-validation/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Banner Template</title>
<link>http://snipplr.com/view/22179/as3-banner-template/</link>
<description><![CDATA[ <p>This is an AS3 version of the banner template I created a while back in AS2. The code has been placed in the accompanying banner.as file, with the exception of a little bit of code within the dynamically-centering button you'll see placed on the stage.

Just like the AS2 version, this is: An empty FLA to be repurposed for creating other banners of varying size. Clickable area is resized automatically to fit the stage size, and a sample button with rollover states is included. 

I removed the frames-based animation; you can just add your own as you feel.

(Uses Tweener from http://code.google.com/p/tweener/ )</p> ]]></description>
<pubDate>Fri, 30 Oct 2009 11:23:54 GMT</pubDate>
<guid>http://snipplr.com/view/22179/as3-banner-template/</guid>
</item>
<item>
<title>(ActionScript) AS2 debugging script</title>
<link>http://snipplr.com/view/17888/as2-debugging-script/</link>
<description><![CDATA[ <p>This can be used instead of "trace" to populate a text field in addition to the standard trace output. The textfield stays hidden until a selected key combination is pressed, thus allowing you to use it in a staging or, if need be, a production environment while keeping it hidden.

Obviously it would be best to remove it from production when it debugging is finally complete, and you should change the key combination to something of your own making.</p> ]]></description>
<pubDate>Tue, 04 Aug 2009 12:02:30 GMT</pubDate>
<guid>http://snipplr.com/view/17888/as2-debugging-script/</guid>
</item>
<item>
<title>(CSS) Text Rotation with CSS</title>
<link>http://snipplr.com/view/17615/text-rotation-with-css/</link>
<description><![CDATA[ <p>Fairly simple, cross-browser way to rotate text using only CSS.</p> ]]></description>
<pubDate>Wed, 29 Jul 2009 09:41:28 GMT</pubDate>
<guid>http://snipplr.com/view/17615/text-rotation-with-css/</guid>
</item>
<item>
<title>(ActionScript) AS2 Banner with ClickTag Template</title>
<link>http://snipplr.com/view/17589/as2-banner-with-clicktag-template/</link>
<description><![CDATA[ <p>An empty FLA to be repurposed for creating other banners of varying size. Clickable area is resized automatically to fit the stage size, and a sample button with rollover states is included.  Looping and loop delay are set according to actionscript variables in the first frame of the parent timeline. 

(Uses mc_tween2 from http://hosted.zeh.com.br/mctween/ )</p> ]]></description>
<pubDate>Tue, 28 Jul 2009 17:02:08 GMT</pubDate>
<guid>http://snipplr.com/view/17589/as2-banner-with-clicktag-template/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Video Player, placed on timeline, with spinning preloader</title>
<link>http://snipplr.com/view/17390/as3-video-player-placed-on-timeline-with-spinning-preloader/</link>
<description><![CDATA[ <p>An ActionScript3 video player placed on the stage, configurable by FlashVars. It displays a spinning loader until the video loads.

Also see http://snipplr.com/view/11606/ for another AS3 video code template
Read about AS3 video in this in-depth tutorial: http://www.republicofcode.com/tutorials/flash/as3flvplayback/</p> ]]></description>
<pubDate>Thu, 23 Jul 2009 12:35:36 GMT</pubDate>
<guid>http://snipplr.com/view/17390/as3-video-player-placed-on-timeline-with-spinning-preloader/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Image Loader with circular preloader spinner</title>
<link>http://snipplr.com/view/15958/as3-image-loader-with-circular-preloader-spinner/</link>
<description><![CDATA[ <p>Not a really elegant design, but it lets you mess around with the loading code easily.</p> ]]></description>
<pubDate>Mon, 15 Jun 2009 16:12:17 GMT</pubDate>
<guid>http://snipplr.com/view/15958/as3-image-loader-with-circular-preloader-spinner/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Calling a parent function from a child movieclip</title>
<link>http://snipplr.com/view/15434/as3-calling-a-parent-function-from-a-child-movieclip/</link>
<description><![CDATA[ <p>I believe there are more elegant ways of doing this, but this does work for referencing a function on the main timeline of a shell/parent movieclip by a loaded, child movieclip.  This would be useful particularly when you have a separate navigation SWF that is loaded into a shell/holder.</p> ]]></description>
<pubDate>Mon, 01 Jun 2009 16:22:38 GMT</pubDate>
<guid>http://snipplr.com/view/15434/as3-calling-a-parent-function-from-a-child-movieclip/</guid>
</item>
</channel>
</rss>