<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: as3 code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Sat, 06 Sep 2008 20:06:12 GMT</pubDate>
    <description>DZone Snippets: as3 code</description>
    <item>
      <title>sys font alpha in as3</title>
      <link>http://snippets.dzone.com/posts/show/5402</link>
      <description>// apply a filter to a system font in order to adjust alpha&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;myTextField.filters = [new BlurFilter(0,0,0)];&lt;br /&gt;myTextField.alpha = 0.5;&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Sat, 19 Apr 2008 20:30:36 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/5402</guid>
      <author>deafmetal (noah aronsson-brown)</author>
    </item>
    <item>
      <title>Single-Line commenting in Actionscript with Textmate</title>
      <link>http://snippets.dzone.com/posts/show/5170</link>
      <description>- open the bundle editor and select the Actionscript bundle&lt;br /&gt;- use the add button to make a new preference item, give it a scope of source.actionscript&lt;br /&gt;- name it whatever&lt;br /&gt;- paste in the following:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;{   shellVariables = (&lt;br /&gt;        {   name = 'TM_COMMENT_START';&lt;br /&gt;            value = '// ';&lt;br /&gt;        },&lt;br /&gt;    );&lt;br /&gt;}&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;- that's it! got these instructions on IRC from Infininight: http://pastie.textmate.org/private/clmfldbv2sexjcd7u6qjw</description>
      <pubDate>Sun, 24 Feb 2008 22:49:14 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/5170</guid>
      <author>sikelianos (Zeke Sikelianos)</author>
    </item>
    <item>
      <title>AS3 FlashVars equivalent: LoaderInfo</title>
      <link>http://snippets.dzone.com/posts/show/5138</link>
      <description>// Add this to your package..&lt;br /&gt;import flash.text.*;&lt;br /&gt;&lt;br /&gt;// And throw this in wherever..&lt;br /&gt;var t:TextField = new TextField();&lt;br /&gt;t.autoSize = TextFieldAutoSize.LEFT;&lt;br /&gt;t.border = true;&lt;br /&gt;addChild(t);&lt;br /&gt;&lt;br /&gt;t.appendText("params:" + "\n");&lt;br /&gt;try {&lt;br /&gt;	var key:String;&lt;br /&gt;	var val:String;&lt;br /&gt;	var flashvars:Object = LoaderInfo(this.root.loaderInfo).parameters;&lt;br /&gt;	for (key in flashvars) {&lt;br /&gt;		val = String(flashvars[key]);&lt;br /&gt;		t.appendText("\t" + key + ":\t" + val + "\n");&lt;br /&gt;	}&lt;br /&gt;} catch (error:Error) {&lt;br /&gt;	t.appendText(error);&lt;br /&gt;}</description>
      <pubDate>Wed, 13 Feb 2008 18:25:17 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/5138</guid>
      <author>sikelianos (Zeke Sikelianos)</author>
    </item>
    <item>
      <title>Make AS3 clips turn cursor into a hand on rollover..</title>
      <link>http://snippets.dzone.com/posts/show/5131</link>
      <description>&lt;code&gt;&lt;br /&gt;  buttonMode = true; &lt;br /&gt;  mouseChildren = false;&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Mon, 11 Feb 2008 07:11:23 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/5131</guid>
      <author>sikelianos (Zeke Sikelianos)</author>
    </item>
    <item>
      <title>AS3 SwapDepths Equivalent</title>
      <link>http://snippets.dzone.com/posts/show/5130</link>
      <description>&lt;code&gt;&lt;br /&gt;function move_to_top() {&lt;br /&gt;  // This will move the current object to the topmost z-index&lt;br /&gt;  parent.setChildIndex(this, parent.numChildren-1);&lt;br /&gt;}&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Mon, 11 Feb 2008 06:30:34 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/5130</guid>
      <author>sikelianos (Zeke Sikelianos)</author>
    </item>
    <item>
      <title>inspect as3 type</title>
      <link>http://snippets.dzone.com/posts/show/4818</link>
      <description>// description of your code here&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;trace(describeType(TYPE-NAME));&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Tue, 27 Nov 2007 16:16:56 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/4818</guid>
      <author>yuanyc (yuanyunchang)</author>
    </item>
  </channel>
</rss>
