<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/actionscript-3/tags/index</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Fri, 24 May 2013 08:09:08 GMT</pubDate>
<item>
<title>(ActionScript 3) AS3 Insert and Delete Characters at TextField CaretIndex Position - adrianparr</title>
<link>http://snipplr.com/view/60933/as3-insert-and-delete-characters-at-textfield-caretindex-position/</link>
<description><![CDATA[ <p>This code gets the current caretIndex in the textfield and then inserts the specified string at that point. The caretIndex position is then updated using setSelection, ready for the next insertion. This was developed to be used with an on-screen keyboard (for entering text into a textfield when the user is in fullscreen mode). The backspace button is intended to function in the same manner as pressing the delete key on your keyboard.</p> ]]></description>
<pubDate>Thu, 17 Nov 2011 22:09:46 GMT</pubDate>
<guid>http://snipplr.com/view/60933/as3-insert-and-delete-characters-at-textfield-caretindex-position/</guid>
</item>
<item>
<title>(ActionScript 3) Find Index on ArrayCollection for ComboBox Selection - msdevweb</title>
<link>http://snipplr.com/view/49958/find-index-on-arraycollection-for-combobox-selection/</link>
<description><![CDATA[ <p>Used to retriev a index, for example to select a item on a combobox with the arrayCollection as dataProvider.

Usage:
comboBoxNames.selectedIndex = findIndex(arrayColNames, "field_on_array_collection", "value_to_compare_with_field_in_array_coll");

Returns the arrayCollection index that corresponds to compared item. If item is not found on arrayCollection it return -1.</p> ]]></description>
<pubDate>Thu, 03 Mar 2011 06:14:28 GMT</pubDate>
<guid>http://snipplr.com/view/49958/find-index-on-arraycollection-for-combobox-selection/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Search for a Value in Array and Return it's Position Index - adrianparr</title>
<link>http://snipplr.com/view/29889/as3-search-for-a-value-in-array-and-return-its-position-index/</link>
<description><![CDATA[ <p>If the item cannot be found then the return value is NaN. This function only returns the index of the first occurence found, so it's not very good if you have multiple occurrences of the same value in the array.</p> ]]></description>
<pubDate>Wed, 17 Mar 2010 10:00:05 GMT</pubDate>
<guid>http://snipplr.com/view/29889/as3-search-for-a-value-in-array-and-return-its-position-index/</guid>
</item>
</channel>
</rss>