<?xml version="1.0" encoding="ISO-8859-1" ?>
					<rss version="2.0">
						<channel>
							<title>flCodr snippets</title>
							<link>http://www.flcodr.com</link>
							<description>RSS feed of user submitted snippets from www.flCodr.com</description>
							<language>English</language>
							<image>
								<title>flCodr</title>
								<url>http://flcodr.com/images/iPhoneicon.png</url>
								<link>http://flcodr.com/</link>
								<width>57</width>
								<height>57</height>
							</image><item>
						 <title>load and resize .swf</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=170</link>
						 <description><![CDATA[What if an .swf you want to play has the wrong size or dimensions, and you don't have a .mov or .avi or .flv to make a new .swf? Change the scaleX and scaleY properties and generate a new .swf with this code. Note: remember to change the name of your .fla and output file. 
  In this example, ford.swf is too small so we load it and generate a larger one, which I called bigford.swf.]]></description>
					 </item><item>
						 <title>Control sound volume of loaded .swf</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=169</link>
						 <description><![CDATA[How to control sound volume when loading an .swf? Add this to your code describing your player. It should also work for other implementations of the SoundTransform class, but I've only used it for .swfs because there are other ways to control .flv sounds.

    ]]></description>
					 </item><item>
						 <title>AS3, FP10 - Color Management</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=168</link>
						 <description><![CDATA[Flash's new color management code.
Found on John Nack of Adobe's website.
Article below.

http://blogs.adobe.com/jnack/2008/10/get_better_color_through_fp10.html]]></description>
					 </item><item>
						 <title>AS3 - Loading and Controlling a SWF</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=167</link>
						 <description><![CDATA[Loads a SWF, and allows you to control it from the main movie.]]></description>
					 </item><item>
						 <title>AS3 - Duplicate Movieclip</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=166</link>
						 <description><![CDATA[Duplicating a Movieclip in AS3 is a little different than AS2. This should be helpful for those making the transition.]]></description>
					 </item><item>
						 <title>AS3 - Autosize Text Field</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=165</link>
						 <description><![CDATA[Autosize a Text Field Dynamically. CENTER can be replaced with LEFT or RIGHT too.]]></description>
					 </item><item>
						 <title>AS3 - Open Download Dialog Box</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=164</link>
						 <description><![CDATA[Opens the download dialog box. Also it tracks percentage downloaded &amp;amp; catches Security &amp;amp; File Not Found errors.]]></description>
					 </item><item>
						 <title>AS3 - Importing Variables from a File</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=163</link>
						 <description><![CDATA[Imports variables from a file &amp;#40;tested with .txt&amp;#41;. Variables in file are seperated by an ampersand (&amp;amp;). Example : var1=fred&amp;amp;var2=tom&amp;amp;var3=joe]]></description>
					 </item><item>
						 <title>AS3 - Data Posting (for forms, etc)</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=162</link>
						 <description><![CDATA[Quick code for posting variables to a URL]]></description>
					 </item><item>
						 <title>AS3 - Tracking with Google Analytics</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=160</link>
						 <description><![CDATA[Easy tracking from Flash to Google Analytics. Uses ExternalInterface.]]></description>
					 </item><item>
						 <title>AS3 - TweenFilterLite Drop Shadow</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=159</link>
						 <description><![CDATA[Created for use with the Tweening engine TweenFilterLite, using the Glow effect.
http://blog.greensock.com/tweenfilterliteas3/]]></description>
					 </item><item>
						 <title>AS3 - TweenFilterLite Glow</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=158</link>
						 <description><![CDATA[Created for use with the Tweening engine TweenFilterLite, using the Glow effect.
http://blog.greensock.com/tweenfilterliteas3/]]></description>
					 </item><item>
						 <title>AS3 - TweenFilterLite Blur</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=157</link>
						 <description><![CDATA[Created for use with the Tweening engine TweenFilterLite, using the Blur effect.
http://blog.greensock.com/tweenfilterliteas3/]]></description>
					 </item><item>
						 <title>AS3 - Button (button mode &amp;amp; children off)</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=156</link>
						 <description><![CDATA[Creates button code with button mode enabled (meaning you can use the hand cursor &amp;amp; internal frame _up, _down, _over system). Also shuts off children clicks for easier internal references.]]></description>
					 </item><item>
						 <title>onEnter frame for as 3</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=155</link>
						 <description><![CDATA[onEnter frame for as 3]]></description>
					 </item><item>
						 <title>replacement of geturl for as 3</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=154</link>
						 <description><![CDATA[geturl]]></description>
					 </item><item>
						 <title>Odd or Even</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=153</link>
						 <description><![CDATA[Actionscript to check if a number is odd or even]]></description>
					 </item><item>
						 <title>Parse external CSS</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=152</link>
						 <description><![CDATA[Loads and parses an external CSS file]]></description>
					 </item><item>
						 <title>Local or Server</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=151</link>
						 <description><![CDATA[Test to see if a file is local or on the server]]></description>
					 </item><item>
						 <title>Advertisement Click Tag Handler for AS3</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=150</link>
						 <description><![CDATA[Recently i have been given the task of doing some advertisement work, and i ran into the problem of the CLICK TAG for Actionscript 3 its a pretty basic predicament, but its always better to have a snippet for it, youll save a lot of time, i dont like Button instaces so my button clip its a MovieClip thats why i set the buttonMode and useHandCursor to true]]></description>
					 </item><item>
						 <title>AMFPHP</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=148</link>
						 <description><![CDATA[this is a simple class to connect to a basic AMFPHP service
in the example i used the
gateway.objectEncoding = ObjectEncoding.AMF0; 
because my AMFPHP version is 1 and AS3 defaults the object encoding to AMF3

here is the snippet in your php code

&amp;lt;?php
class x1fm {
 function x1fm() {
 $this-&amp;gt;methodTable = array(
 &amp;quot;query&amp;quot; =&amp;gt; array(
 &amp;quot;description&amp;quot; =&amp;gt; &amp;quot;No description given.&amp;quot;,
 &amp;quot;arguments&amp;quot; =&amp;gt; array(&amp;quot;text&amp;quot;),
 &amp;quot;access&amp;quot; =&amp;gt; &amp;quot;remote&amp;quot;
 )
 );
 }
 function query($object) {
 
 // do custom stuff
 
 return $data;
 }
}
?&amp;gt;
]]></description>
					 </item><item>
						 <title>TIC - Create JAWS readable text</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=146</link>
						 <description><![CDATA[Creates a JAW’s description for the current layer. The function must pass in the string of text
to be read aloud by JAWS.]]></description>
					 </item><item>
						 <title>TIC - Tab enable multiple objects</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=145</link>
						 <description><![CDATA[Sets multiple buttons to be tab enabled and also defines the tab index each button. This
function must pass in four variables; the instance name, the instance name number, the
amount of instances and the tab index that the first button must have. For example if there
were six buttons on the stage with the names of btn15 through to btn20 the following code
would be used. The function will then automatically set up the tab indexes for all buttons. The
function is set up so that it traces out the tabIndex’s created. This can be used in conjunction with the createTab() function.]]></description>
					 </item><item>
						 <title>TIC - Create feedback message</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=144</link>
						 <description><![CDATA[Will display a pop up window that can be used to display short feedback to the user. The pop up window will stay on the screen for a prescribed amount of time and then automatically disappear. To use the function pass in the feedback message in quotes, the x position, y position, alpha level and duration for
the message to be displayed. The function can optionally call another function when the message has disappeared called feedbackCallBack(). This is the only function that can be called, but feedbackCallBack() can be used to call another function.]]></description>
					 </item><item>
						 <title>TIC - Tab enable an object</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=142</link>
						 <description><![CDATA[Sets a single button to be tab enabled and also defines the tab index for that button. This function must pass in two variables; the instance name and the tab index that the button must have. This can be used in conjunction with the createTabbing() function.]]></description>
					 </item><item>
						 <title>TIC - Create layer title</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=141</link>
						 <description><![CDATA[Sets the title text for the current layer. This will override the name defined in the config layer. The function must pass in a string of text to be displayed]]></description>
					 </item><item>
						 <title>TIC - Create/Display an instruction box</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=138</link>
						 <description><![CDATA[Creates and positions an instruction box UI component on the screen. The function must pass in the string of text to be displayed within the instruction box.]]></description>
					 </item><item>
						 <title>TIC - Controlling Menu Items</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=135</link>
						 <description><![CDATA[Initialises the menu buttons. If not called the menu will appear but will not function. The function must pass in an array of values which correspond to the button position in the menu. A value of 1 turns that button on, and 0 turns it off. Use the Code Helper panel to quickly generate the code for this, by selecting options from the drop down list.]]></description>
					 </item><item>
						 <title>Normalize, Interpolate and Map values.</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=132</link>
						 <description><![CDATA[//normalize(value, min, max) takes a value within a given range and converts it to a number between 0 and 1 

//interpolate(min, max, value) is linear interpolation. It takes a normalized value and a range and returns the actual value for the interpolated value in that range.

//map(value, min1, max1, min2, max2) takes a value in a given range (min1, max1) and finds the corresonding value in the next range(min2, max2).]]></description>
					 </item><item>
						 <title>Keyboard Listener</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=131</link>
						 <description><![CDATA[Adds a listener to the up and down keys so that a movie clip can be moved around the stage]]></description>
					 </item><item>
						 <title>Draggable object</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=129</link>
						 <description><![CDATA[Allows you to create an object to drag around the screen. You can also set constraints as to the max/min x and y values. If the user drags the object further than these points then the object will tween back to its starting position]]></description>
					 </item><item>
						 <title>Dynamic HTML text </title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=128</link>
						 <description><![CDATA[Sets up a dynamic text box to be formatted in HTML]]></description>
					 </item><item>
						 <title>loader for swf AS3 - load into your target player / movie clip</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=127</link>
						 <description><![CDATA[Usually when you load an swf or image in Flash, you want it to appear in a little video frame or component. This code loads it into your 'targeted' mc. I have lifted this from a helpful person in the Adobe forum for AS3.]]></description>
					 </item><item>
						 <title>loader for swf AS3</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=126</link>
						 <description><![CDATA[Very short 2-line code, equivalent to the old loadMovie() in AS 1 &amp;amp; 2. I lifted this from the Adobe forum.]]></description>
					 </item><item>
						 <title>movie loader AS3 - tres simple</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=123</link>
						 <description><![CDATA[2-line version of AS3's equivalent of loadMovie()...see other loaders for targeting into a player or empty clip]]></description>
					 </item><item>
						 <title>Get current month</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=121</link>
						 <description><![CDATA[Returns the string name of the current month]]></description>
					 </item><item>
						 <title>Get current time and date</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=120</link>
						 <description><![CDATA[Function that will return the current time and date aswell as the day name]]></description>
					 </item><item>
						 <title>Custom context menu</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=119</link>
						 <description><![CDATA[Use this script to create a custom context menu.

Usefull to ensure your name is always on your projects]]></description>
					 </item><item>
						 <title>Attach movie clip dynamically</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=118</link>
						 <description><![CDATA[Code to dynamically add a movie clip to the stage at runtime]]></description>
					 </item><item>
						 <title>Set alpha level</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=117</link>
						 <description><![CDATA[ Quick script to set the alpha level of a movieclip]]></description>
					 </item><item>
						 <title>Enable/disable movieclips</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=116</link>
						 <description><![CDATA[This function allows all movie clips and object to be enabled and disabled with ease. The function will also drop the alpha level of disabled objects. Simply use enableObject(instanceName) to enable an object and disableObject to disable it. Does not need quotes around the instance name and will also work with using this.
]]></description>
					 </item><item>
						 <title>Remove maximise button in media playback</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=114</link>
						 <description><![CDATA[Parameter to remove the maximise button on the media playback window from Flash 8. Display is the instance name of the object.]]></description>
					 </item><item>
						 <title>Return Browser URL</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=111</link>
						 <description><![CDATA[With ExternalInterface class, we can now call any Javascript function that is written on the HTML page or even inside the flash file itself. ExternalInterface is similar in functionality to the fscommand() but is recommended for Javascript-Actionscript communication. 

In the example below, i wrote the javascript function inside the flash file inside instead of on the HTML page. Next, i use the ExternalInterface.call method to execute the javascript function and pass the variable back into a actionscript function. 

One important condition that you need to set in order to work is you had to give an id value to the flash object tag in the HTML file:

&amp;lt;object classid=&amp;quot;clsid:d27cdb6e-ae6d-11cf-96b8-444553540000&amp;quot; codebase=&amp;quot;http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0&amp;quot; id=&amp;quot;browser_address&amp;quot; ....&amp;gt; ]]></description>
					 </item><item>
						 <title>Round number</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=110</link>
						 <description><![CDATA[A simple function to return an expression formatted as a number rounded off to the specified number of decimal places. 

In fact, in PHP and ASP there is standard bulit in function, number_format &amp;amp;amp; FormatNumber to perform this, but there seem to be none in Flash. Thus, i decided to write one and call it formatNum. 

In my formatNum, you will need to pass 2 variables in:
i) the value to be formatted, in either string or number variables
ii) number of decimal places to be formatted ]]></description>
					 </item><item>
						 <title>Create hyperlinks using array</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=109</link>
						 <description><![CDATA[Creates a function to turn buttons into hyperlinks. This assumes that you have six buttons/movieclips on the stage with instance names of btn0, btn1, btn2, btn3, btn4 and btn5]]></description>
					 </item><item>
						 <title>Access something in the timeline dynamically</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=108</link>
						 <description><![CDATA[]]></description>
					 </item><item>
						 <title>Tween inport classes for as2</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=103</link>
						 <description><![CDATA[The two classes required for tweens created through script to work. Just a handy snippet, doesn't actually do anything]]></description>
					 </item><item>
						 <title>Disable, enable movieclips with function</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=102</link>
						 <description><![CDATA[Nice little helper function to enable/disable movie clips. Saves time and the amount of code needed in projects]]></description>
					 </item><item>
						 <title>Initialisation Script</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=101</link>
						 <description><![CDATA[Useful script to create a function that will only run once. Acts as an initialisation script]]></description>
					 </item><item>
						 <title>Switch Statement</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=100</link>
						 <description><![CDATA[Shows how to construct a switch statement]]></description>
					 </item><item>
						 <title>Motion Tween Mask</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=98</link>
						 <description><![CDATA[Allows you to use a single button to dynamically (through script) move a mask over a movie clip(s).

This assumes that there is a movie clip that has been set up as a mask. It is this that is being moved on each button press.]]></description>
					 </item><item>
						 <title>Tooltip/hint</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=97</link>
						 <description><![CDATA[Create's a tooltip that hover's above a button. This assumes that you have a movieclip on the stage called tooltip, and inside that tooltip is a dynamic text box called tiptext. I could have dynamically created this but its easy enough to create one. Buttons should be labelled myBtn0, myBtn1 etc. Write the button name in the definitionName array and the description in the definition array]]></description>
					 </item><item>
						 <title>Loop</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=96</link>
						 <description><![CDATA[Basic loop that is triggered by a button press. Will continue to run for a given amount of iterations.]]></description>
					 </item><item>
						 <title>Add and remove radio buttons dynamically (through script)</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=94</link>
						 <description><![CDATA[Allows you to add and remove radio buttons by using a for loop. Add the Y position to an array and keep the x position constant (if required). Notice that (i) is being used for the depth index. If you use getNextHighestDepth then removing the buttons fails. You will need to use unloadMovie() which removes the instance from the library.]]></description>
					 </item><item>
						 <title>Text object properties</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=89</link>
						 <description><![CDATA[Various properties of the text obect]]></description>
					 </item><item>
						 <title>True or false game</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=88</link>
						 <description><![CDATA[Script to create a true or false game using radio buttons. Allows for multiple groups of radio buttons and also has a reset and solution function.]]></description>
					 </item><item>
						 <title>Arrays</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=87</link>
						 <description><![CDATA[Various functions and methods to do with arrays (join, split, loop, add, remove etc)]]></description>
					 </item><item>
						 <title>Add page to print job</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=86</link>
						 <description><![CDATA[Adds a page to a print job]]></description>
					 </item><item>
						 <title>Print Job</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=85</link>
						 <description><![CDATA[Create's a print job, and prints the contents of myMovieClip]]></description>
					 </item><item>
						 <title>Sound Amplifier</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=84</link>
						 <description><![CDATA[Displays a visual readout of the left and right audio channels ]]></description>
					 </item><item>
						 <title>Timer in AS3</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=83</link>
						 <description><![CDATA[Creates a timer using AS3]]></description>
					 </item><item>
						 <title>New Document Class</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=82</link>
						 <description><![CDATA[This snippet creates a skeleton document class for your OOP Flash projects.]]></description>
					 </item><item>
						 <title>Toggle - on/off function</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=81</link>
						 <description><![CDATA[Creates a toggle function, can be attached to a button and used for an on/off function]]></description>
					 </item><item>
						 <title>simple JavaScript call</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=79</link>
						 <description><![CDATA[Calls Java Script function in html. openNew]]></description>
					 </item><item>
						 <title>Removing movieclips through script</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=78</link>
						 <description><![CDATA[Methods to remove a movie clip through script]]></description>
					 </item><item>
						 <title>Simple pre-loader</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=77</link>
						 <description><![CDATA[Will display the percentage of a movie that is loaded. Can also be used with a graphic]]></description>
					 </item><item>
						 <title>Add mouse click to Flow List (AF Components)</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=75</link>
						 <description><![CDATA[The code is for the AF Components flow list and will add mouse click event to call a function that loads the description from the XML document for the event target item into a dynamic text field.]]></description>
					 </item><item>
						 <title>HEX to RGB</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=74</link>
						 <description><![CDATA[Converts a colour from hexadecimal to RGB]]></description>
					 </item><item>
						 <title>Modify colour of movieclip</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=73</link>
						 <description><![CDATA[Changes the colour of a movie clip via code]]></description>
					 </item><item>
						 <title>Collapse Whitespace function for Actionscript</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=72</link>
						 <description><![CDATA[This function will strip out all tabs and return characters. It will also collapse all runs of multiple spaces down to one. It will also remove a leading and trailing spaces. It is similar to the php_strip_whiespace() function in PHP.]]></description>
					 </item><item>
						 <title>Add child to tab index</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=71</link>
						 <description><![CDATA[Allows nested movie clips to be tabbed. Assumes you are using tab index]]></description>
					 </item><item>
						 <title>SWF Security Snippet</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=68</link>
						 <description><![CDATA[Code that checks to see where the swf is sitting and if it is not in the correct domain will re-direct to a domain.]]></description>
					 </item><item>
						 <title>Clock</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=67</link>
						 <description><![CDATA[Code to create a clock using script]]></description>
					 </item><item>
						 <title>Format price</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=66</link>
						 <description><![CDATA[Function to format a currency value]]></description>
					 </item><item>
						 <title>Draw a box</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=65</link>
						 <description><![CDATA[Function to draw a box using script]]></description>
					 </item><item>
						 <title>Url encode a string</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=64</link>
						 <description><![CDATA[Function similar to PHP to encode a string]]></description>
					 </item><item>
						 <title>Combo Box listener</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=55</link>
						 <description><![CDATA[Add a listener]]></description>
					 </item><item>
						 <title>Coin Flip</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=49</link>
						 <description><![CDATA[Uses the Random Number Generator snippet to simulate the toss of a coin 10 times]]></description>
					 </item><item>
						 <title>Random Number Generator</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=48</link>
						 <description><![CDATA[Function to generate a random number. Pass in two numbers - min num and max num for the range and an option decimal place value. Search for Coin Flip for an example of how to use this]]></description>
					 </item><item>
						 <title>Create Tab index</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=47</link>
						 <description><![CDATA[Function that allows you to set up the tab index of objects and movieclips. You must pass in the instance name and tab value that you wish to associate with it]]></description>
					 </item><item>
						 <title>Load external XML (as2)</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=45</link>
						 <description><![CDATA[Load in an external xml file using actionscript 2]]></description>
					 </item><item>
						 <title>For Loop (as2 and as3)</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=44</link>
						 <description><![CDATA[For loop for action script 2 and 3. Simply change the value of num for the amount of iterations]]></description>
					 </item><item>
						 <title>Video Set Up</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=43</link>
						 <description><![CDATA[A few variables to set up a Video Object in as2 (old style). Includes script to remove the 'full screen' button from the top right corner. Display is the name of the MediaPlayback component]]></description>
					 </item><item>
						 <title>Add point (marker) to GMap </title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=42</link>
						 <description><![CDATA[Adds a point/marker to a GMap. Use with the Locator panel from www.blog.sizzla-media.co.uk]]></description>
					 </item><item>
						 <title>Centre of Map - GMap</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=41</link>
						 <description><![CDATA[Trace the centre of the map in a GMap component]]></description>
					 </item><item>
						 <title>Email validation</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=40</link>
						 <description><![CDATA[Regular expression to validate emails using as2]]></description>
					 </item><item>
						 <title>Convert degree's to radians</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=39</link>
						 <description><![CDATA[Forumla to convert degree's to radians and vice versa]]></description>
					 </item><item>
						 <title>Drag and drop</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=38</link>
						 <description><![CDATA[Create a drag and drop on a movie clip in action script3]]></description>
					 </item><item>
						 <title>Add event listener (click)</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=37</link>
						 <description><![CDATA[Adds a click event listener to a movie clip.]]></description>
					 </item><item>
						 <title>Word count</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=36</link>
						 <description><![CDATA[Returns the number of words in a string]]></description>
					 </item><item>
						 <title>Find and replace on string</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=35</link>
						 <description><![CDATA[Searches a string for a character(s) and replaces with another character]]></description>
					 </item><item>
						 <title>Detect when mouse leaves stage</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=34</link>
						 <description><![CDATA[Detects when the mouse leaves the stage/movie]]></description>
					 </item><item>
						 <title>Email regular expression</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=33</link>
						 <description><![CDATA[Checks to see if an email fits the regular expression pattern. e.g test@domain.com]]></description>
					 </item><item>
						 <title>LoadVars - send data to server side page</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=29</link>
						 <description><![CDATA[Code to send data to a server side page (asp/asp.net or php). Also listens out for a reply. Simply change the variables to fit your situation]]></description>
					 </item><item>
						 <title>New GMap with info window</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=27</link>
						 <description><![CDATA[Sets up a new GMap component with a pop up info window. This requires the <a href="http://www.afcomponents.com/components/g_map/">GMap</a>; component from Advanced Flash Components. You can also use the <a href="http://www.blog.sizzla-media.co.uk/index.php/2008/04/04/flash-locator-panel/">locator</a> panel to find the latitutude and longitude]]></description>
					 </item><item>
						 <title>Timer</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=26</link>
						 <description><![CDATA[A simple timer for Flash files. Change startBtn to the name of the movie clip that you want to invoke the timer. Remove the onPress for the timer to start automatically]]></description>
					 </item><item>
						 <title>Jaws Reader Control</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=25</link>
						 <description><![CDATA[Code needed to enable an object/movieclip to be read by Jaws screenreader.  jawsControl is the name of the movieclip on the stage. Replace the tabIndex a number of your choice]]></description>
					 </item><item>
						 <title>Motion Tween</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=24</link>
						 <description><![CDATA[Code to set up a new motion tween]]></description>
					 </item><item>
						 <title>Custom FLV playback</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=23</link>
						 <description><![CDATA[Code required to play back a flash video file]]></description>
					 </item><item>
						 <title>Play external sound</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=22</link>
						 <description><![CDATA[Code required to play an external sound]]></description>
					 </item><item>
						 <title>Load External XML</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=18</link>
						 <description><![CDATA[Code to load an external XML file]]></description>
					 </item><item>
						 <title>Air Accept Drag and Drop</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=17</link>
						 <description><![CDATA[Code to allow an air app to accept drag and drop files]]></description>
					 </item><item>
						 <title>New Air Native Window</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=16</link>
						 <description><![CDATA[Sets up a new native window for an air project]]></description>
					 </item><item>
						 <title>Tweener Random Loop</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=15</link>
						 <description><![CDATA[Tweener random loop]]></description>
					 </item><item>
						 <title>PaperVision 3D Scene Setup</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=14</link>
						 <description><![CDATA[Code to setup a 3D scene for a PaperVision project]]></description>
					 </item><item>
						 <title>PaperVision 3D Imports</title>
						 <link>http://www.flcodr.com/viewSnippet.php?snippetID=13</link>
						 <description><![CDATA[Code to import the correct classes for a PaperVision 3D project]]></description>
					 </item></channel>
				 </rss>