<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 18:41:08 +0000</lastBuildDate>
    <item>
      <title>(JavaScript) Injecting HTML from a file into an Ext.Panel - LeeProbert</title>
      <link>https://snipplr.com/view/51361/injecting-html-from-a-file-into-an-extpanel</link>
      <description>&lt;p&gt;Sometimes you have a load of HTML that is difficult to write up as a String from within a javascript function so this is an example of a simple Panel with an event for after rendering that injects it with content from a file.&lt;/p&gt;</description>
      <pubDate>Thu, 31 Mar 2011 07:42:18 UTC</pubDate>
      <guid>https://snipplr.com/view/51361/injecting-html-from-a-file-into-an-extpanel</guid>
    </item>
    <item>
      <title>(MXML) Spark Button skin with scaling transition - LeeProbert</title>
      <link>https://snipplr.com/view/39098/spark-button-skin-with-scaling-transition</link>
      <description>&lt;p&gt;Here's a simple Button skin that will scale up and down on roll over and out. The important thing to note is that the skin is a simple ellipse with a label so the scale effect needs to happen from the centre point of the skin. To do this you need to set the transformX and transformY properties of the skin to half the width and height of the skin. In this example the skin is an ellipse with a simple plus icon and a label.&lt;/p&gt;</description>
      <pubDate>Mon, 16 Aug 2010 01:56:15 UTC</pubDate>
      <guid>https://snipplr.com/view/39098/spark-button-skin-with-scaling-transition</guid>
    </item>
    <item>
      <title>(Objective C) Using stretchable images in Obj-C buttons - LeeProbert</title>
      <link>https://snipplr.com/view/39039/using-stretchable-images-in-objc-buttons</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 13 Aug 2010 19:33:48 UTC</pubDate>
      <guid>https://snipplr.com/view/39039/using-stretchable-images-in-objc-buttons</guid>
    </item>
    <item>
      <title>(MXML) Spark RichText and columns bug - LeeProbert</title>
      <link>https://snipplr.com/view/36660/spark-richtext-and-columns-bug</link>
      <description>&lt;p&gt;Seems to be a bug with RichText if you are using columnCount and using dynamic sizing of your component.&lt;/p&gt;</description>
      <pubDate>Sun, 04 Jul 2010 01:33:25 UTC</pubDate>
      <guid>https://snipplr.com/view/36660/spark-richtext-and-columns-bug</guid>
    </item>
    <item>
      <title>(MXML) SparkSkin with animated filter - LeeProbert</title>
      <link>https://snipplr.com/view/36585/sparkskin-with-animated-filter</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 02 Jul 2010 02:37:55 UTC</pubDate>
      <guid>https://snipplr.com/view/36585/sparkskin-with-animated-filter</guid>
    </item>
    <item>
      <title>(MXML) Spark Animated Filter example with Move tween - LeeProbert</title>
      <link>https://snipplr.com/view/36479/spark-animated-filter-example-with-move-tween</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 30 Jun 2010 01:30:53 UTC</pubDate>
      <guid>https://snipplr.com/view/36479/spark-animated-filter-example-with-move-tween</guid>
    </item>
    <item>
      <title>(MXML) Spark Animated Filter example - LeeProbert</title>
      <link>https://snipplr.com/view/36478/spark-animated-filter-example</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 30 Jun 2010 00:52:48 UTC</pubDate>
      <guid>https://snipplr.com/view/36478/spark-animated-filter-example</guid>
    </item>
    <item>
      <title>(MXML) Spark Animation and Easing classes usage - LeeProbert</title>
      <link>https://snipplr.com/view/36335/spark-animation-and-easing-classes-usage</link>
      <description>&lt;p&gt;Here's some example of how to apply Spark easing classes using MXML&lt;/p&gt;</description>
      <pubDate>Fri, 25 Jun 2010 21:09:14 UTC</pubDate>
      <guid>https://snipplr.com/view/36335/spark-animation-and-easing-classes-usage</guid>
    </item>
    <item>
      <title>(Objective C) SynthesizeSingleton definition header - LeeProbert</title>
      <link>https://snipplr.com/view/32737/synthesizesingleton-definition-header</link>
      <description>&lt;p&gt;This class is used to turn an object into a singleton.&#13;
&#13;
Usage : SYNTHESIZE_SINGLETON_FOR_CLASS(ClassName);&#13;
&#13;
Place in your implementation.&#13;
&#13;
thank you Matt Gallagher&lt;/p&gt;</description>
      <pubDate>Thu, 22 Apr 2010 11:36:46 UTC</pubDate>
      <guid>https://snipplr.com/view/32737/synthesizesingleton-definition-header</guid>
    </item>
    <item>
      <title>(Objective C) Archiving and Unarchiving DataModel Object - LeeProbert</title>
      <link>https://snipplr.com/view/32736/archiving-and-unarchiving-datamodel-object</link>
      <description>&lt;p&gt;This is a follow up to another snippet which shows how to create the object you want to archive and unarchive.&lt;/p&gt;</description>
      <pubDate>Thu, 22 Apr 2010 11:34:06 UTC</pubDate>
      <guid>https://snipplr.com/view/32736/archiving-and-unarchiving-datamodel-object</guid>
    </item>
    <item>
      <title>(Objective C) DataModel Object for archiving - LeeProbert</title>
      <link>https://snipplr.com/view/32735/datamodel-object-for-archiving</link>
      <description>&lt;p&gt;Here's a simple object class that has been set up so it can be archived using the NSKeyedUnarchiver and NSKeyedArchiver classes. This process in another snippet.&lt;/p&gt;</description>
      <pubDate>Thu, 22 Apr 2010 11:29:43 UTC</pubDate>
      <guid>https://snipplr.com/view/32735/datamodel-object-for-archiving</guid>
    </item>
    <item>
      <title>(ActionScript 3) Manually dragging an object - LeeProbert</title>
      <link>https://snipplr.com/view/32071/manually-dragging-an-object</link>
      <description>&lt;p&gt;Using StartDrag can be problematic and buggy in Flash. I've found that sometimes you don't get the position of the object your dragging updated and it can really mess with any tweens and effects you apply on the object you are dragging afterward. Manually dragging an object is usually better. This code will do the job for you.&#13;
&#13;
There's a lot of extra baggage in here but you can see the general point of it.&lt;/p&gt;</description>
      <pubDate>Thu, 15 Apr 2010 12:17:20 UTC</pubDate>
      <guid>https://snipplr.com/view/32071/manually-dragging-an-object</guid>
    </item>
    <item>
      <title>(ActionScript 3) Custom Preloader for Flex with RSL support - LeeProbert</title>
      <link>https://snipplr.com/view/31981/custom-preloader-for-flex-with-rsl-support</link>
      <description>&lt;p&gt;This preloader allows you to track the progress of the runtime shared libraries that are downloading as well as the overall progress.&lt;/p&gt;</description>
      <pubDate>Thu, 15 Apr 2010 08:34:57 UTC</pubDate>
      <guid>https://snipplr.com/view/31981/custom-preloader-for-flex-with-rsl-support</guid>
    </item>
    <item>
      <title>(ActionScript 3) Detecting when text has run into the end of the ContainerController in a TextFlow object - LeeProbert</title>
      <link>https://snipplr.com/view/31906/detecting-when-text-has-run-into-the-end-of-the-containercontroller-in-a-textflow-object</link>
      <description>&lt;p&gt;This snippet shows how you can detect when a FlowElement that has been added to a TextFlow object (Text Layout Framework) has run to the end of the container that is flowing into. You may have linked containers that you are flowing a load of lorem ipsum into for a mock up and you want the containers to be full of text. You will need to detect when the text has reached the end otherwise the flow will continue but not be visible.&lt;/p&gt;</description>
      <pubDate>Thu, 15 Apr 2010 03:18:25 UTC</pubDate>
      <guid>https://snipplr.com/view/31906/detecting-when-text-has-run-into-the-end-of-the-containercontroller-in-a-textflow-object</guid>
    </item>
    <item>
      <title>(ActionScript 3) Detecting when text has run into the end of the ContainerController in a TextFlow object - LeeProbert</title>
      <link>https://snipplr.com/view/31905/detecting-when-text-has-run-into-the-end-of-the-containercontroller-in-a-textflow-object</link>
      <description>&lt;p&gt;This snippet shows how you can detect when a FlowElement that has been added to a TextFlow object (Text Layout Framework) has run to the end of the container that is flowing into. You may have linked containers that you are flowing a load of lorem ipsum into for a mock up and you want the containers to be full of text. You will need to detect when the text has reached the end otherwise the flow will continue but not be visible.&lt;/p&gt;</description>
      <pubDate>Thu, 15 Apr 2010 03:18:24 UTC</pubDate>
      <guid>https://snipplr.com/view/31905/detecting-when-text-has-run-into-the-end-of-the-containercontroller-in-a-textflow-object</guid>
    </item>
    <item>
      <title>(ActionScript 3) Zoom in to a link in a TextFlow within a scaled container in a Scroller viewport - LeeProbert</title>
      <link>https://snipplr.com/view/31072/zoom-in-to-a-link-in-a-textflow-within-a-scaled-container-in-a-scroller-viewport</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 07 Apr 2010 15:42:30 UTC</pubDate>
      <guid>https://snipplr.com/view/31072/zoom-in-to-a-link-in-a-textflow-within-a-scaled-container-in-a-scroller-viewport</guid>
    </item>
    <item>
      <title>(ActionScript 3) Get the server/domain name that your SWF is running on - LeeProbert</title>
      <link>https://snipplr.com/view/31067/get-the-serverdomain-name-that-your-swf-is-running-on</link>
      <description>&lt;p&gt;In Flex the Application needs to be complete so run this code within your applicationComplete event handler and pass a Boolean into a Data model somewhere so you can use it elsewhere.&lt;/p&gt;</description>
      <pubDate>Wed, 07 Apr 2010 13:25:38 UTC</pubDate>
      <guid>https://snipplr.com/view/31067/get-the-serverdomain-name-that-your-swf-is-running-on</guid>
    </item>
    <item>
      <title>(ActionScript 3) Detecting if your SWF is running over HTTP or locally - LeeProbert</title>
      <link>https://snipplr.com/view/31066/detecting-if-your-swf-is-running-over-http-or-locally</link>
      <description>&lt;p&gt;In Flex the Application needs to be complete so run this code within your applicationComplete event handler and pass a Boolean into a Data model somewhere so you can use it elsewhere.&lt;/p&gt;</description>
      <pubDate>Wed, 07 Apr 2010 12:54:23 UTC</pubDate>
      <guid>https://snipplr.com/view/31066/detecting-if-your-swf-is-running-over-http-or-locally</guid>
    </item>
    <item>
      <title>(ActionScript 3) Remove all the FlowElement objects from a TextFlow - LeeProbert</title>
      <link>https://snipplr.com/view/30457/remove-all-the-flowelement-objects-from-a-textflow</link>
      <description>&lt;p&gt;Remove all the FlowElement objects from a TextFlow without removing the TextFlow itself.&lt;/p&gt;</description>
      <pubDate>Mon, 29 Mar 2010 05:18:24 UTC</pubDate>
      <guid>https://snipplr.com/view/30457/remove-all-the-flowelement-objects-from-a-textflow</guid>
    </item>
    <item>
      <title>(ActionScript 3) Import DAE and add external file as material - LeeProbert</title>
      <link>https://snipplr.com/view/30218/import-dae-and-add-external-file-as-material</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 24 Mar 2010 09:41:56 UTC</pubDate>
      <guid>https://snipplr.com/view/30218/import-dae-and-add-external-file-as-material</guid>
    </item>
    <item>
      <title>(ActionScript 3) Finding the position of an element within a TextFlow - LeeProbert</title>
      <link>https://snipplr.com/view/30200/finding-the-position-of-an-element-within-a-textflow</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 24 Mar 2010 05:37:14 UTC</pubDate>
      <guid>https://snipplr.com/view/30200/finding-the-position-of-an-element-within-a-textflow</guid>
    </item>
    <item>
      <title>(ActionScript 3) Creating a TextFlow Configuration object - LeeProbert</title>
      <link>https://snipplr.com/view/30198/creating-a-textflow-configuration-object</link>
      <description>&lt;p&gt;The FontsManager class has embedded fonts in it. This is not a TLF class.&lt;/p&gt;</description>
      <pubDate>Wed, 24 Mar 2010 05:33:42 UTC</pubDate>
      <guid>https://snipplr.com/view/30198/creating-a-textflow-configuration-object</guid>
    </item>
    <item>
      <title>(Other) Spark general button Skin - LeeProbert</title>
      <link>https://snipplr.com/view/29717/spark-general-button-skin</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 13 Mar 2010 11:37:10 UTC</pubDate>
      <guid>https://snipplr.com/view/29717/spark-general-button-skin</guid>
    </item>
    <item>
      <title>(Other) AStarMap pathfinding grid (use with AStar class) - LeeProbert</title>
      <link>https://snipplr.com/view/29715/astarmap-pathfinding-grid-use-with-astar-class</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 13 Mar 2010 11:19:42 UTC</pubDate>
      <guid>https://snipplr.com/view/29715/astarmap-pathfinding-grid-use-with-astar-class</guid>
    </item>
    <item>
      <title>(Other) AStar pathfinding class (use with AStarMap) - LeeProbert</title>
      <link>https://snipplr.com/view/29714/astar-pathfinding-class-use-with-astarmap</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 13 Mar 2010 11:19:02 UTC</pubDate>
      <guid>https://snipplr.com/view/29714/astar-pathfinding-class-use-with-astarmap</guid>
    </item>
    <item>
      <title>(Other) Magnifying Glass class (requires PixelBender file) - LeeProbert</title>
      <link>https://snipplr.com/view/29713/magnifying-glass-class-requires-pixelbender-file</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 13 Mar 2010 10:54:04 UTC</pubDate>
      <guid>https://snipplr.com/view/29713/magnifying-glass-class-requires-pixelbender-file</guid>
    </item>
    <item>
      <title>(Other) Class used for object following mouse with elasticity including keyboard control capture - LeeProbert</title>
      <link>https://snipplr.com/view/29712/class-used-for-object-following-mouse-with-elasticity-including-keyboard-control-capture</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 13 Mar 2010 10:51:35 UTC</pubDate>
      <guid>https://snipplr.com/view/29712/class-used-for-object-following-mouse-with-elasticity-including-keyboard-control-capture</guid>
    </item>
  </channel>
</rss>
