<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Flexdream's Weblog</title>
	<atom:link href="http://flexdream.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://flexdream.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Fri, 10 Oct 2008 16:02:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='flexdream.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Flexdream's Weblog</title>
		<link>http://flexdream.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://flexdream.wordpress.com/osd.xml" title="Flexdream&#039;s Weblog" />
	<atom:link rel='hub' href='http://flexdream.wordpress.com/?pushpress=hub'/>
		<item>
		<title>DataGrid ItemEditor with Two Input Fields</title>
		<link>http://flexdream.wordpress.com/2008/10/10/datagrid-itemeditor-with-two-input-fields/</link>
		<comments>http://flexdream.wordpress.com/2008/10/10/datagrid-itemeditor-with-two-input-fields/#comments</comments>
		<pubDate>Fri, 10 Oct 2008 16:02:31 +0000</pubDate>
		<dc:creator>flexdream</dc:creator>
				<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://flexdream.wordpress.com/?p=43</guid>
		<description><![CDATA[Several folks have been asking about how to have a DataGrid ItemEditor with two input fields (say you want to separately edit first name and last name or something like that). It&#8217;s a bit tricky because of some missing pieces in the underlying Flash focus APIs and because of how Focus events work. Here is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexdream.wordpress.com&amp;blog=4101566&amp;post=43&amp;subd=flexdream&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Several folks have been asking about how to have a DataGrid ItemEditor with two input fields (say you want to separately edit first name and last name or something like that).</p>
<p>It&#8217;s a bit tricky because of some missing pieces in the underlying Flash focus APIs and because of how Focus events work. Here is my take on how to do it. Usual caveats apply (i.e, code is not supported and may have bugs etc).</p>
<p><a href="http://blogs.adobe.com/aharui/DataGridMultiFieldEditor/DataGridMultiFieldEditor.zip">Download Source</a><br />
<a href="http://blogs.adobe.com/aharui/DataGridMultiFieldEditor/DataGridMultiFieldEditorTest.swf">Run Example</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/flexdream.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexdream.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/flexdream.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexdream.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/flexdream.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/flexdream.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/flexdream.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/flexdream.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/flexdream.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexdream.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/flexdream.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexdream.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/flexdream.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexdream.wordpress.com/43/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexdream.wordpress.com&amp;blog=4101566&amp;post=43&amp;subd=flexdream&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://flexdream.wordpress.com/2008/10/10/datagrid-itemeditor-with-two-input-fields/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9c4f63515266e3303f8db93bdbcf3775?s=96&#38;d=identicon" medium="image">
			<media:title type="html">flexdream</media:title>
		</media:content>
	</item>
		<item>
		<title>Data Grid With CheckBox and ComboBox</title>
		<link>http://flexdream.wordpress.com/2008/10/10/data-grid-with-checkbox-and-combobox/</link>
		<comments>http://flexdream.wordpress.com/2008/10/10/data-grid-with-checkbox-and-combobox/#comments</comments>
		<pubDate>Fri, 10 Oct 2008 15:53:07 +0000</pubDate>
		<dc:creator>flexdream</dc:creator>
				<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://flexdream.wordpress.com/?p=40</guid>
		<description><![CDATA[&#60;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&#62; &#60;mx:Application xmlns:mx=&#8221;http://www.adobe.com/2006/mxml&#8221; layout=&#8221;vertical&#8221;&#62; &#60;mx:Script&#62; &#60;![CDATA[ import mx.collections.ArrayCollection; import mx.utils.ObjectProxy; [Bindable] private var comboArr:ArrayCollection = new ArrayCollection([new ObjectProxy({"checked":true}),new ObjectProxy({"checked":true}),new ObjectProxy({"checked":false}),new ObjectProxy({"checked":true}),new ObjectProxy({"checked":false})]); ]]&#62; &#60;/mx:Script&#62; &#60;mx:DataGrid dataProvider=&#8221;{comboArr}&#8221;&#62; &#60;mx:columns&#62; &#60;mx:DataGridColumn headerText=&#8221;Check Box&#8221; dataField=&#8221;checked&#8221;&#62; &#60;mx:itemRenderer&#62; &#60;mx:Component&#62; &#60;mx:Canvas&#62; &#60;mx:CheckBox id=&#8221;checks&#8221; selected=&#8221;{data.checked}&#8221; change=&#8221;{data.checked = this.checks.selected}&#8221;/&#62; &#60;/mx:Canvas&#62; &#60;/mx:Component&#62; &#60;/mx:itemRenderer&#62; &#60;/mx:DataGridColumn&#62; &#60;mx:DataGridColumn headerText=&#8221;Combo Box&#8221; dataField=&#8221;checked&#8221;&#62; &#60;mx:itemRenderer&#62; &#60;mx:Component&#62; &#60;mx:Canvas&#62; &#60;mx:ComboBox visible=&#8221;{data.checked}&#8221;&#62; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexdream.wordpress.com&amp;blog=4101566&amp;post=40&amp;subd=flexdream&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&gt;<br />
&lt;mx:Application xmlns:mx=&#8221;http://www.adobe.com/2006/mxml&#8221; layout=&#8221;vertical&#8221;&gt;<br />
&lt;mx:Script&gt;<br />
&lt;![CDATA[<br />
import mx.collections.ArrayCollection;<br />
import mx.utils.ObjectProxy;<br />
[Bindable] private var comboArr:ArrayCollection = new ArrayCollection([new ObjectProxy({"checked":true}),new ObjectProxy({"checked":true}),new ObjectProxy({"checked":false}),new ObjectProxy({"checked":true}),new ObjectProxy({"checked":false})]);<br />
]]&gt;<br />
&lt;/mx:Script&gt;</p>
<p>&lt;mx:DataGrid dataProvider=&#8221;{comboArr}&#8221;&gt;<br />
&lt;mx:columns&gt;<br />
&lt;mx:DataGridColumn headerText=&#8221;Check Box&#8221; dataField=&#8221;checked&#8221;&gt;<br />
&lt;mx:itemRenderer&gt;<br />
&lt;mx:Component&gt;<br />
&lt;mx:Canvas&gt;<br />
&lt;mx:CheckBox id=&#8221;checks&#8221; selected=&#8221;{data.checked}&#8221; change=&#8221;{data.checked = this.checks.selected}&#8221;/&gt;<br />
&lt;/mx:Canvas&gt;<br />
&lt;/mx:Component&gt;<br />
&lt;/mx:itemRenderer&gt;<br />
&lt;/mx:DataGridColumn&gt;<br />
&lt;mx:DataGridColumn headerText=&#8221;Combo Box&#8221; dataField=&#8221;checked&#8221;&gt;<br />
&lt;mx:itemRenderer&gt;<br />
&lt;mx:Component&gt;<br />
&lt;mx:Canvas&gt;<br />
&lt;mx:ComboBox visible=&#8221;{data.checked}&#8221;&gt;<br />
&lt;mx:dataProvider&gt;<br />
&lt;mx:ArrayCollection&gt;<br />
&lt;mx:source&gt;<br />
&lt;mx:String&gt;Data1&lt;/mx:String&gt;<br />
&lt;mx:String&gt;Data2&lt;/mx:String&gt;<br />
&lt;mx:String&gt;Data3&lt;/mx:String&gt;<br />
&lt;mx:String&gt;Data4&lt;/mx:String&gt;<br />
&lt;mx:String&gt;Data5&lt;/mx:String&gt;<br />
&lt;/mx:source&gt;<br />
&lt;/mx:ArrayCollection&gt;<br />
&lt;/mx:dataProvider&gt;<br />
&lt;/mx:ComboBox&gt;<br />
&lt;/mx:Canvas&gt;<br />
&lt;/mx:Component&gt;<br />
&lt;/mx:itemRenderer&gt;<br />
&lt;/mx:DataGridColumn&gt;<br />
&lt;/mx:columns&gt;<br />
&lt;/mx:DataGrid&gt;<br />
&lt;/mx:Application&gt;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/flexdream.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexdream.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/flexdream.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexdream.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/flexdream.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/flexdream.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/flexdream.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/flexdream.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/flexdream.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexdream.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/flexdream.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexdream.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/flexdream.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexdream.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexdream.wordpress.com&amp;blog=4101566&amp;post=40&amp;subd=flexdream&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://flexdream.wordpress.com/2008/10/10/data-grid-with-checkbox-and-combobox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9c4f63515266e3303f8db93bdbcf3775?s=96&#38;d=identicon" medium="image">
			<media:title type="html">flexdream</media:title>
		</media:content>
	</item>
		<item>
		<title>Replicating click Event on a MouseOver event in Flex Accordion</title>
		<link>http://flexdream.wordpress.com/2008/10/10/replicating-click-event-on-a-mouseover-event-in-flex-accordion/</link>
		<comments>http://flexdream.wordpress.com/2008/10/10/replicating-click-event-on-a-mouseover-event-in-flex-accordion/#comments</comments>
		<pubDate>Fri, 10 Oct 2008 13:09:36 +0000</pubDate>
		<dc:creator>flexdream</dc:creator>
				<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://flexdream.wordpress.com/?p=37</guid>
		<description><![CDATA[The following code is solution to a problem where you need to make the accordion component’s MouseOver event to behave like a click event. The code will work only in the case if you have not given the names to the AccordionHeader explicitly. Check the solution out here &#60;?xml version=”1.0″?&#62; &#60;mx:Application xmlns:mx=”http://www.adobe.com/2006/mxml”&#62; &#60;mx:Script&#62; &#60;![CDATA[ public [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexdream.wordpress.com&amp;blog=4101566&amp;post=37&amp;subd=flexdream&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The following code is solution to a problem where you need to make the accordion component’s MouseOver event to behave like a click event. The code will work only in the case if you have not given the names to the AccordionHeader explicitly. Check the solution out here<br />
<code><br />
&lt;?xml version=”1.0″?&gt;<br />
&lt;mx:Application xmlns:mx=”http://www.adobe.com/2006/mxml”&gt;<br />
&lt;mx:Script&gt;<br />
&lt;![CDATA[<br />
public function onMouseOver(evt:MouseEvent):void{<br />
var strName:String = evt.target.name;<br />
var strLen:int = String("_header").length;<br />
if(strName.indexOf("_header") &gt; -1){<br />
accordion.selectedIndex = int(strName.substr(strLen,strName.length));<br />
}<br />
}<br />
]]&gt;<br />
&lt;/mx:Script&gt;<br />
&lt;mx:Panel title=”Accordion Container Example” height=”90%” width=”90%”<br />
paddingTop=”10″ paddingLeft=”10″ paddingRight=”10″ paddingBottom=”10″&gt;<br />
&lt;mx:Label width=”100%” color=”blue”<br />
text=”Select an Accordion navigator button to change the panel.”/&gt;<br />
&lt;mx:Accordion id=”accordion” width=”100%” height=”100%” mouseOver=”onMouseOver(event)” &gt;<br />
&lt;!– Define each panel using a VBox container. –&gt;<br />
&lt;mx:VBox label=”Accordion Button for Panel 1″&gt;<br />
&lt;mx:Label text=”Accordion container panel 1″/&gt;<br />
&lt;/mx:VBox&gt;<br />
&lt;mx:VBox label=”Accordion Button for Panel 2″&gt;<br />
&lt;mx:Label text=”Accordion container panel 2″/&gt;<br />
&lt;/mx:VBox&gt;<br />
&lt;mx:VBox label=”Accordion Button for Panel 3″&gt;<br />
&lt;mx:Label text=”Accordion container panel 3″/&gt;<br />
&lt;/mx:VBox&gt;<br />
&lt;/mx:Accordion&gt;<br />
&lt;mx:Label width=”100%” color=”blue”<br />
text=”Programmatically select the panel using a Button control.”/&gt;<br />
&lt;mx:HBox&gt;<br />
&lt;mx:Button label=”Select Panel 1″ click=”accordion.selectedIndex=0;”/&gt;<br />
&lt;mx:Button label=”Select Panel 2″ click=”accordion.selectedIndex=1;”/&gt;<br />
&lt;mx:Button label=”Select Panel 3″ click=”accordion.selectedIndex=2;”/&gt;<br />
&lt;/mx:HBox&gt;<br />
&lt;/mx:Panel&gt;<br />
&lt;/mx:Application&gt;</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/flexdream.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexdream.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/flexdream.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexdream.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/flexdream.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/flexdream.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/flexdream.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/flexdream.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/flexdream.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexdream.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/flexdream.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexdream.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/flexdream.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexdream.wordpress.com/37/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexdream.wordpress.com&amp;blog=4101566&amp;post=37&amp;subd=flexdream&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://flexdream.wordpress.com/2008/10/10/replicating-click-event-on-a-mouseover-event-in-flex-accordion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9c4f63515266e3303f8db93bdbcf3775?s=96&#38;d=identicon" medium="image">
			<media:title type="html">flexdream</media:title>
		</media:content>
	</item>
		<item>
		<title>Enabling Handcursor on a MovieClip having dynamic TextField in AS3</title>
		<link>http://flexdream.wordpress.com/2008/10/10/enabling-handcursor-on-a-movieclip-having-dynamic-textfield-in-as3/</link>
		<comments>http://flexdream.wordpress.com/2008/10/10/enabling-handcursor-on-a-movieclip-having-dynamic-textfield-in-as3/#comments</comments>
		<pubDate>Fri, 10 Oct 2008 13:08:39 +0000</pubDate>
		<dc:creator>flexdream</dc:creator>
				<category><![CDATA[AS 3.0]]></category>

		<guid isPermaLink="false">http://flexdream.wordpress.com/?p=34</guid>
		<description><![CDATA[You can enable the hand cursor on a MovieClip by defining the following statement MovieClip.buttonMode = true; However the solution does not work in-case you have a dynamic textField in that movieclip. To enable hand in this case you have to additionally write the following statement MovieClip.mouseChildren = false; The reason is that the mouseChildren [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexdream.wordpress.com&amp;blog=4101566&amp;post=34&amp;subd=flexdream&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class="snap_preview">
<p>You can enable the hand cursor on a MovieClip by defining the following statement</p>
<p>MovieClip.buttonMode = true;</p>
<p>However the solution does not work in-case you have a dynamic textField in that movieclip. To enable hand in this case you have to additionally write the following statement</p>
<p>MovieClip.mouseChildren = false;</p>
<p>The reason is that the <strong>mouseChildren</strong> property determines whether or not the children of the object are mouse enabled. If an object is mouse enabled, a user can interact with it by using a mouse. The default is <code>true</code> which makes the dynamic textfield interactable and due to the textfield behaviour the flash player does not show the hand-cursor.</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/flexdream.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexdream.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/flexdream.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexdream.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/flexdream.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/flexdream.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/flexdream.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/flexdream.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/flexdream.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexdream.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/flexdream.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexdream.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/flexdream.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexdream.wordpress.com/34/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexdream.wordpress.com&amp;blog=4101566&amp;post=34&amp;subd=flexdream&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://flexdream.wordpress.com/2008/10/10/enabling-handcursor-on-a-movieclip-having-dynamic-textfield-in-as3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9c4f63515266e3303f8db93bdbcf3775?s=96&#38;d=identicon" medium="image">
			<media:title type="html">flexdream</media:title>
		</media:content>
	</item>
		<item>
		<title>Attaching MovieClip from library by passing classname as a string in function in AS3</title>
		<link>http://flexdream.wordpress.com/2008/10/10/attaching-movieclip-from-library-by-passing-classname-as-a-string-in-function-in-as3/</link>
		<comments>http://flexdream.wordpress.com/2008/10/10/attaching-movieclip-from-library-by-passing-classname-as-a-string-in-function-in-as3/#comments</comments>
		<pubDate>Fri, 10 Oct 2008 13:07:30 +0000</pubDate>
		<dc:creator>flexdream</dc:creator>
				<category><![CDATA[AS 3.0]]></category>

		<guid isPermaLink="false">http://flexdream.wordpress.com/?p=31</guid>
		<description><![CDATA[The post contains a solution for a case where you need to attach a Library symbol and you have to pass that class name as a string to the function. The approach followed here is by using the getDefinitionByName utility which interprets the string and convert it into a Class. Then you can use a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexdream.wordpress.com&amp;blog=4101566&amp;post=31&amp;subd=flexdream&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The post contains a solution for a case where you need to attach a Library symbol and you have to pass that class name as a string to the function.</p>
<p>The approach followed here is by using the getDefinitionByName utility which interprets the string and convert it into a Class. Then you can use a new syntax with that particular class. Following is a code for the same solution and you can download the source files from <a href="http://www.flexcomps.com/experiments/AttachMovieByFunction.zip">here</a>. The “testMC” here is a movieClip in library with the className as testMC and BaseClass as flash.display.MovieClip<br />
<code><br />
import flash.utils.getDefinitionByName;</code></p>
<p><code><br />
function addMovieFromLibrary(mcIName:String){<br />
var tMC:Class =  getDefinitionByName(mcIName) as Class;<br />
var newMc:MovieClip = new tMC() as MovieClip;<br />
addChild(newMc);<br />
}</code></p>
<p><code><br />
</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/flexdream.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexdream.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/flexdream.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexdream.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/flexdream.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/flexdream.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/flexdream.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/flexdream.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/flexdream.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexdream.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/flexdream.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexdream.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/flexdream.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexdream.wordpress.com/31/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexdream.wordpress.com&amp;blog=4101566&amp;post=31&amp;subd=flexdream&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://flexdream.wordpress.com/2008/10/10/attaching-movieclip-from-library-by-passing-classname-as-a-string-in-function-in-as3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9c4f63515266e3303f8db93bdbcf3775?s=96&#38;d=identicon" medium="image">
			<media:title type="html">flexdream</media:title>
		</media:content>
	</item>
		<item>
		<title>Get Data Grid Value on Button Click</title>
		<link>http://flexdream.wordpress.com/2008/10/10/get-data-grid-value-on-button-click/</link>
		<comments>http://flexdream.wordpress.com/2008/10/10/get-data-grid-value-on-button-click/#comments</comments>
		<pubDate>Fri, 10 Oct 2008 13:04:20 +0000</pubDate>
		<dc:creator>flexdream</dc:creator>
				<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://flexdream.wordpress.com/?p=28</guid>
		<description><![CDATA[&#60;?xml version=&#8221;1.0&#8243;?&#62; &#60;mx:Application xmlns:mx=&#8221;http://www.adobe.com/2006/mxml&#8221; width=&#8221;800&#8243;&#62; &#60;mx:Script&#62; &#60;![CDATA[ import mx.controls.Alert; import mx.events.ListEvent; import mx.collections.ArrayCollection; [Bindable] private var employees:ArrayCollection = new ArrayCollection([{"name":"Christina Coenraets","phone":"555-219-2270","email":"ccoenraets@fictitious.com","active":"true"},{"name":"Joanne Wall","phone":"555-219-2012","email":"jwall@fictitious.com","active":"true"},{"name":"Maurice Smith","phone":"555-219-2012","email":"maurice@fictitious.com","active":"false"},{"name":"Mary Jones","phone":"555-219-2000","email":"mjones@fictitious.com","active":"true"}]); private function dgItemClick(event:ListEvent):void{ if (event.columnIndex != 3) //to check if the button has not been clicked loadItem(event.itemRenderer.data); } public function loadItem(dataObj:Object):void{ var str:String = &#8220;&#8221;; for (var items:String in dataObj) { [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexdream.wordpress.com&amp;blog=4101566&amp;post=28&amp;subd=flexdream&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&lt;?xml version=&#8221;1.0&#8243;?&gt;<br />
&lt;mx:Application xmlns:mx=&#8221;<a href="http://www.adobe.com/2006/mxml" target="_blank">http://www.adobe.com/2006/mxml</a>&#8221; width=&#8221;800&#8243;&gt;<br />
&lt;mx:Script&gt;<br />
&lt;![CDATA[<br />
import mx.controls.Alert;<br />
import mx.events.ListEvent;<br />
import mx.collections.ArrayCollection;<br />
[Bindable] private var employees:ArrayCollection = new ArrayCollection([{"name":"Christina Coenraets","phone":"555-219-2270","email":"<a href="mailto:ccoenraets@fictitious.com" target="_blank">ccoenraets@fictitious.com</a>","active":"true"},{"name":"Joanne Wall","phone":"555-219-2012","email":"<a href="mailto:jwall@fictitious.com" target="_blank">jwall@fictitious.com</a>","active":"true"},{"name":"Maurice Smith","phone":"555-219-2012","email":"<a href="mailto:maurice@fictitious.com" target="_blank">maurice@fictitious.com</a>","active":"false"},{"name":"Mary Jones","phone":"555-219-2000","email":"<a href="mailto:mjones@fictitious.com" target="_blank">mjones@fictitious.com</a>","active":"true"}]);</p>
<p>private function dgItemClick(event:ListEvent):void{<br />
if (event.columnIndex != 3) //to check if the button has not been clicked<br />
loadItem(event.itemRenderer.data);<br />
}</p>
<p>public function loadItem(dataObj:Object):void{<br />
var str:String = &#8220;&#8221;;<br />
for (var items:String in dataObj)<br />
{<br />
if (items != &#8220;mx_internal_uid&#8221;)//this is an extra unique id that Flex assigns by itself<br />
str += items + &#8220;:&#8221; + dataObj[items] + &#8220;\n&#8221;;<br />
}<br />
Alert.show(str);<br />
}<br />
]]&gt;<br />
&lt;/mx:Script&gt;</p>
<p>&lt;mx:DataGrid id=&#8221;dg&#8221; width=&#8221;500&#8243; height=&#8221;200&#8243; rowCount=&#8221;5&#8243; dataProvider=&#8221;{employees}&#8221; itemClick=&#8221;dgItemClick(event)&#8221;&gt;<br />
&lt;mx:columns&gt;<br />
&lt;mx:DataGridColumn dataField=&#8221;name&#8221; headerText=&#8221;Name&#8221;/&gt;<br />
&lt;mx:DataGridColumn dataField=&#8221;phone&#8221; headerText=&#8221;Phone&#8221;/&gt;<br />
&lt;mx:DataGridColumn dataField=&#8221;email&#8221; headerText=&#8221;Email&#8221;/&gt;<br />
&lt;mx:DataGridColumn headerText=&#8221;"&gt;<br />
&lt;mx:itemRenderer&gt;<br />
&lt;mx:Component&gt;<br />
&lt;mx:Button label=&#8221;Select&#8221; click=&#8221;{outerDocument.loadItem(data)}&#8221;/&gt;<br />
&lt;/mx:Component&gt;<br />
&lt;/mx:itemRenderer&gt;<br />
&lt;/mx:DataGridColumn&gt;<br />
&lt;/mx:columns&gt;<br />
&lt;/mx:DataGrid&gt;</p>
<p>&lt;/mx:Application&gt;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/flexdream.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexdream.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/flexdream.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexdream.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/flexdream.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/flexdream.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/flexdream.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/flexdream.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/flexdream.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexdream.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/flexdream.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexdream.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/flexdream.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexdream.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexdream.wordpress.com&amp;blog=4101566&amp;post=28&amp;subd=flexdream&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://flexdream.wordpress.com/2008/10/10/get-data-grid-value-on-button-click/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9c4f63515266e3303f8db93bdbcf3775?s=96&#38;d=identicon" medium="image">
			<media:title type="html">flexdream</media:title>
		</media:content>
	</item>
		<item>
		<title>Trace from the browser, using standard trace()Trace from the browser, using standard trace()</title>
		<link>http://flexdream.wordpress.com/2008/08/22/trace-from-the-browser-using-standard-tracetrace-from-the-browser-using-standard-trace/</link>
		<comments>http://flexdream.wordpress.com/2008/08/22/trace-from-the-browser-using-standard-tracetrace-from-the-browser-using-standard-trace/#comments</comments>
		<pubDate>Fri, 22 Aug 2008 08:46:01 +0000</pubDate>
		<dc:creator>flexdream</dc:creator>
				<category><![CDATA[AS 3.0]]></category>

		<guid isPermaLink="false">http://flexdream.wordpress.com/?p=25</guid>
		<description><![CDATA[Some great 3rd party debug tools have been released in the past few months that expand upon the standard trace() in Flash. I recently wrote about one of them. Unfortunately, I&#8217;ve noticed myself not using these tools as often as I would like because its usually easier and quicker to just use trace(). The biggest [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexdream.wordpress.com&amp;blog=4101566&amp;post=25&amp;subd=flexdream&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class="step">Some great 3rd party debug tools have been released in the past few months that expand upon the standard trace() in Flash. I recently wrote about <a href="http://www.digitalflipbook.com/archives/2005/04/luminicboxlog_n.php">one of them</a>. Unfortunately, I&#8217;ve noticed myself not using these tools as often as I would like because its usually easier and quicker to just use trace(). The biggest drawback about trace, however, is that there&#8217;s no way to output from the browser &#8230; or is there?</div>
<div class="step">The other day I stumbled upon an <a href="http://www.actionscripts.org/tutorials/beginner/trace_and_debug_from_your_browser/index.shtml" target="_blank">article by Josh Buhler</a> at actionscript.org that shows you how to install the Flash Debug Player that&#8217;s buried in the application folders of Flash. The Debug Player, along with a text file, allows you to view standard traces from a swf in the browser. Now, if you&#8217;ve already read his article skip on down to the bottom of this page because I&#8217;ve added a step that will make you even happier. If you haven&#8217;t read his article yet, go on what are you waiting for? If, on the other hand, you like step-by-step instructions that get you up and running the fastest, I&#8217;ve recapped his process below. I&#8217;ve done this on both the mac and pc and can&#8217;t live without it now.</div>
<div class="step">
<div class="title"><strong>1) Uninstall your Flash Player</strong></div>
<div class="sub">Find the uninstaller here: 		<a href="http://www.adobe.com/support/flashplayer/downloads.html#uninstaller" target="_blank">Adobe Flash Player Uninstallers</a>.</div>
<p>Even though this is the first step, this is the one that you&#8217;re going to question the most, should I really uninstall my Flash Player and install the Debug Player? The answer is an emphatic &#8220;yes&#8221;. The Flash Debug Player is the exact same player with a very nice extra feature.</p></div>
<div class="step">
<div class="title"><strong>2) Install the Flash Debug Player</strong></div>
<p>Find the installer here: 	<a href="http://www.adobe.com/support/flashplayer/downloads.html" target="_blank">Adobe Flash Debug Players</a></div>
<div class="step">
<div class="title"><strong>3) Verify installation of the Flash Debug Player</strong></div>
<p>Restart your browser and right-click (ctrl-click) on a swf. 	You should have the &#8220;Debugger&#8221; option in the context menu, like the example below. 	<img class="block_image" src="http://www.digitalflipbook.com/mt/images/debugger.gif" border="1" alt="Flash Debug Player" width="192" height="86" /></div>
<div class="step">
<div class="title"><strong>4a) Create a text file named &#8220;mm.cfg&#8221;</strong></div>
<p>Save the file here:</p>
<div class="platform"><strong>OSX -</strong></div>
<div class="sub"><em>MacHD</em>:Library:Application Support:Macromedia:mm.cfg</div>
<div class="platform"><strong>Windows XP -</strong></div>
<div class="sub">C:\Documents and Settings\<em>username</em>\mm.cfg</div>
<div class="platform"><strong>Windows 2000 -</strong></div>
<div class="sub">C:\mm.cfg</div>
<div class="platform"><strong>Linux -</strong></div>
<div class="sub">home/<em>username</em>/mm.cfg</div>
</div>
<div class="step">
<div class="title"><strong>4b) Add properties to mm.cfg</strong></div>
<div class="sub">ErrorReportingEnable=0</div>
<div class="sub">TraceOutputFileEnable=1</div>
<div class="sub">MaxWarnings=0</div>
</div>
<div class="new_step"><strong>FLASH DEBUG PLAYERS 9,0,28,0 AND NEWER</strong></div>
<div class="step">
<div class="title"><strong>4c) The property <em>TraceOutputFileName</em> is no longer needed in mm.cfg. The default location of flashlog.txt has changed and cannot be modified from the following locations:</strong></div>
<div class="platform"><strong>OSX -</strong></div>
<div class="sub"><em>MacHD</em>:Users:<em>username</em>:Library:Preferences:Macromedia:Flash Player:Logs:flashlog.txt</div>
<div class="platform"><strong>Windows -</strong></div>
<div class="sub">C:\Documents and Settings\<em>username</em>\Application Data\Macromedia\Flash Player\Logs\flashlog.txt</div>
<div class="platform"><strong>Linux -</strong></div>
<div class="sub">home/<em>username</em>/Macromedia/Flash_Player/Logs/flashlog.txt</div>
</div>
<div class="new_step"><strong>FLASH DEBUG PLAYERS 9,0,16,0 AND OLDER</strong></div>
<div class="step">
<div class="title"><strong>4c) Add the property <em>TraceOutputFileName</em> to mm.cfg</strong></div>
<div class="platform"><strong>OSX -</strong></div>
<div class="sub">TraceOutputFileName=<em>MacHD</em>:Users:<em>username</em> <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> esktop:flashlog.txt</div>
<div class="platform"><strong>Windows -</strong></div>
<div class="sub">TraceOutputFileName=C:\Documents and Settings\<em>username</em>\Desktop\flashlog.txt</div>
</div>
<div class="new_step"><strong>ALL FLASH DEBUG PLAYERS</strong></div>
<div class="step">
<div class="title"><strong>5) Test the Flash Debug Player</strong></div>
<p>Either publish a swf that uses trace() and view it in the browser, or surf around and find out what other people have been tracing in their movies (that&#8217;s one of my favorite options). The traces have been output from the browser to the text file. Open up flashlog.txt and see for yourself, you know you want to.</p></div>
<div class="step">And there you go. I&#8217;m sure many of you are extremely happy right now, and you should be, this is a great tip. But after a few uses, you&#8217;re going to get really annoyed opening and closing the text file to view the new traces &#8230; if only there was a way to view the text file being updated in real time like the Output window in Flash. Here&#8217;s the new step that will make you rejoice.</div>
<div class="new_step"><strong>NEW STEP &#8230;</strong></div>
<div class="step">
<div class="title"><strong>6) View the text file updating in real time</strong></div>
<div class="platform"><strong>OSX -</strong></div>
<div class="sub">Open Terminal</div>
<div class="sub">At the prompt type:</div>
<div class="sub">&gt;&gt; cd <em>&lt;path to flashlog&#8217;s directory&gt;</em></div>
<div class="sub">&gt;&gt; tail -f flashlog.txt</div>
<div class="platform"><strong>Windows -</strong></div>
<div class="sub">Go to <a href="http://www.microsoft.com/technet/downloads/winsrvr/tools/default.mspx" target="_blank">Windows Server 2003 Tools</a>, and download <em>Windows Server 2003 Resource Kit Tools</em> near the bottom of the page. 		Although it says Windows Server 2003 all over the page, its also made for Windows XP.</div>
<div class="sub">Install</div>
<div class="sub">Open Command Prompt</div>
<div class="sub">At the prompt type:</div>
<div class="sub">&gt; cd <em>&lt;path to flashlog&#8217;s directory&gt;</em></div>
<div class="sub">&gt; tail -f flashlog.txt</div>
</div>
<div class="step">Browse to a swf online that uses trace() and watch the magic. Terminal and Command Prompt display the contents of flashlog.txt as it changes &#8230; its just like having Flash&#8217;s Output window, except this one works in the browser!!</div>
<div class="step">Isn&#8217;t this great? Like I said earlier, I&#8217;ve gotten this to work on both the mac and the pc and can&#8217;t live without it now. 	If you have any questions about these steps, feel free to email me or comment below and I&#8217;ll be glad to help.</div>
<div class="new_step"><strong>OPTIONAL WINDOWS STEPS &#8230;</strong></div>
<div class="step">
<div class="title"><strong>7) Create a batch file to quickly load up the flashlog in tail</strong></div>
<div class="sub">Create a text file and rename it flashlog.bat</div>
<div class="sub">Right-click on the batch file and select &#8220;Edit&#8221;</div>
<div class="sub">Add the following content to flashlog.bat:<br />
cd <em>&lt;path to flashlog&#8217;s directory&gt;</em><br />
tail -f flashlog.txt</div>
</div>
<div class="step">Double-click on the batch file to see it working.</div>
<div class="step">
<div class="title"><strong> <img src='http://s0.wp.com/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> Create a shortcut to the batch file to set the Command Prompt colors and options</strong></div>
<div class="sub">Right-click on the batch file and select &#8220;Create Shortcut&#8221;</div>
<div class="sub">Right-click on the shortcut and select &#8220;Properties&#8221;</div>
<div class="sub">To view the Command Prompt maximized change the pulldown under &#8220;Run:&#8221;<br />
To change the colors of the Command Prompt select the &#8220;Colors&#8221; tab<br />
Unfortunately the &#8220;Font&#8221; tab options are very limited<br />
Under the &#8220;Options&#8221; tab, select &#8220;QuickEdit mode&#8221; to be able to easily select and copy and paste<br />
Tip for copying and pasting in the Command Prompt:<br />
Select the text you want to copy and then right-click it, this puts the selected text into the clipboard &#8230; now just hit ctrl-v or paste in any other program.</div>
</div>
<p>Close out of the properties and double-click on the shortcut to see the flashlog with your colors and options.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/flexdream.wordpress.com/25/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/flexdream.wordpress.com/25/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/flexdream.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexdream.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/flexdream.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexdream.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/flexdream.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/flexdream.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/flexdream.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/flexdream.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/flexdream.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexdream.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/flexdream.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexdream.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/flexdream.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexdream.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexdream.wordpress.com&amp;blog=4101566&amp;post=25&amp;subd=flexdream&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://flexdream.wordpress.com/2008/08/22/trace-from-the-browser-using-standard-tracetrace-from-the-browser-using-standard-trace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9c4f63515266e3303f8db93bdbcf3775?s=96&#38;d=identicon" medium="image">
			<media:title type="html">flexdream</media:title>
		</media:content>

		<media:content url="http://www.digitalflipbook.com/mt/images/debugger.gif" medium="image">
			<media:title type="html">Flash Debug Player</media:title>
		</media:content>
	</item>
		<item>
		<title>General Known Issues in Flash Player 9.0</title>
		<link>http://flexdream.wordpress.com/2008/08/21/general-known-issues-in-flash-player-90/</link>
		<comments>http://flexdream.wordpress.com/2008/08/21/general-known-issues-in-flash-player-90/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 12:28:22 +0000</pubDate>
		<dc:creator>flexdream</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://flexdream.wordpress.com/?p=22</guid>
		<description><![CDATA[General Known Issues in Flash Player 9.0 · Flash Player cannot progressively load files that are greater than 2Gb · UILoader ignores scaleContent when content is loaded through loadBytes · Memory utilization could substantially increase when large numbers of bitmaps that are subject to mipmapping are loaded · Flash Player supports up to 30 frames [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexdream.wordpress.com&amp;blog=4101566&amp;post=22&amp;subd=flexdream&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class="snap_preview">
<p class="MsoNormal" style="margin:5pt 0;"><strong><span style="font-size:small;"><span style="font-family:Times New Roman;">General Known Issues in Flash Player 9.0</span></span></strong></p>
<p class="MsoNormal" style="text-indent:-0.25in;margin:5pt 0 5pt 0.5in;"><span style="font-family:Symbol;"><span><span style="font-size:small;">·</span><span style="font-family:&quot;"> </span></span></span><span style="font-size:small;font-family:Times New Roman;">Flash Player cannot progressively load files that are greater than 2Gb</span></p>
<p class="MsoNormal" style="text-indent:-0.25in;margin:5pt 0 5pt 0.5in;"><span style="font-family:Symbol;"><span><span style="font-size:small;">·</span><span style="font-family:&quot;"> </span></span></span><span style="font-size:small;font-family:Times New Roman;">UILoader ignores scaleContent when content is loaded through loadBytes </span></p>
<p class="MsoNormal" style="text-indent:-0.25in;margin:5pt 0 5pt 0.5in;"><span style="font-family:Symbol;"><span><span style="font-size:small;">·</span><span style="font-family:&quot;"> </span></span></span><span style="font-size:small;font-family:Times New Roman;">Memory utilization could substantially increase when large numbers of bitmaps that are subject to mipmapping are loaded </span></p>
<p class="MsoNormal" style="text-indent:-0.25in;margin:5pt 0 5pt 0.5in;"><span style="font-family:Symbol;"><span><span style="font-size:small;">·</span><span style="font-family:&quot;"> </span></span></span><span style="font-size:small;font-family:Times New Roman;">Flash Player supports up to 30 frames per second playback for video. </span></p>
<p class="MsoNormal" style="text-indent:-0.25in;margin:5pt 0 5pt 0.5in;"><span style="font-family:Symbol;"><span><span style="font-size:small;">·</span><span style="font-family:&quot;"> </span></span></span><span style="font-size:small;font-family:Times New Roman;">Opera and Netscape do not allow recursive calls using the ExternalInterface API into the Flash Player. This issue has been reported to Opera and Netscape. </span></p>
<p class="MsoNormal" style="text-indent:-0.25in;margin:5pt 0 5pt 0.5in;"><span style="font-family:Symbol;"><span><span style="font-size:small;">·</span><span style="font-family:&quot;"> </span></span></span><span style="font-size:small;font-family:Times New Roman;">In certain browsers, full-screen does not render correctly when the window is split between two monitors where one monitor has a higher resolution than the other. </span></p>
<p class="MsoNormal" style="text-indent:-0.25in;margin:5pt 0 5pt 0.5in;"><span style="font-family:Symbol;"><span><span style="font-size:small;">·</span><span style="font-family:&quot;"> </span></span></span><span style="font-size:small;font-family:Times New Roman;">Socket connecting to port under 1024 throws ioError, not securityError</span></p>
<p class="MsoNormal" style="text-indent:-0.25in;margin:5pt 0 5pt 0.5in;"><span style="font-family:Symbol;"><span><span style="font-size:small;">·</span><span style="font-family:&quot;"> </span></span></span><span style="font-size:small;font-family:Times New Roman;">When using the Flex profiler, if FlashPlayerTrust is incorrectly created as a file, the Flex profiler will crash. Please ensure FlashPlayerTrust is properly configured as a directory. </span></p>
<p class="MsoNormal" style="text-indent:-0.25in;margin:5pt 0 5pt 0.5in;"><span style="font-family:Symbol;"><span><span style="font-size:small;">·</span><span style="font-family:&quot;"> </span></span></span><span style="font-size:small;font-family:Times New Roman;">On the Windows standalone Flash Player, empty POST actions are changed to GET.</span></p>
<p class="MsoNormal" style="text-indent:-0.25in;margin:5pt 0 5pt 0.5in;"><span style="font-family:Symbol;"><span><span style="font-size:small;">·</span><span style="font-family:&quot;"> </span></span></span><span style="font-size:small;font-family:Times New Roman;">Subsequent loads of ActionScript 2.0 SWFs containing components into a parent ActionScript 3.0 SWF may cause some components to break. The components will work on the first load, but loading new, or unloading ActionScript 2.0 components of the same class may exhibit this behavior. </span></p>
<p class="MsoNormal" style="text-indent:-0.25in;margin:5pt 0 5pt 0.5in;"><span style="font-family:Symbol;"><span><span style="font-size:small;">·</span><span style="font-family:&quot;"> </span></span></span><span style="font-size:small;font-family:Times New Roman;">Developers should not rely on garbage collection if immediate clean up of active objects, such as display objects, streams and media, is expected. Use the appropriate ActionScript 3.0 APIs (close, removeEvent Listener, etc.) to get immediate behavior when cleaning up active objects. </span></p>
<p class="MsoNormal" style="text-indent:-0.25in;margin:5pt 0 5pt 0.5in;"><span style="font-family:Symbol;"><span><span style="font-size:small;">·</span><span style="font-family:&quot;"> </span></span></span><span style="font-size:small;font-family:Times New Roman;">The delete operator is intended to remove properties of an object, and cannot be used to remove members of a class. For more details on the delete operator, see the </span><a href="http://nitingore.wordpress.com/go/AS3LR"><span style="font-size:small;font-family:Times New Roman;">ActionScript 3.0 Language Reference</span></a><span style="font-size:small;font-family:Times New Roman;">. </span></p>
<p class="MsoNormal" style="text-indent:-0.25in;margin:5pt 0 5pt 0.5in;"><span style="font-family:Symbol;"><span><span style="font-size:small;">·</span><span style="font-family:&quot;"> </span></span></span><span style="font-size:small;font-family:Times New Roman;">Flash Player sound input does not work for OSX Audio MIDI sample rate settings higher than 48Khz. The microphone will either record noise or nothing. Some third party applications and MIDI breakout boxes will change the systemwide Audio settings on launch, and fail to return settings to default on close. To workaround this issue, go to Applications-&gt; Utilities-&gt; Audio MIDI Setup. Select Sound Input and change the properties for the ‘Built-in Input’ and/or ‘Built-in Microphone’ to a setting less than or equal to 48Khz. </span></p>
<p class="MsoNormal" style="text-indent:-0.25in;margin:5pt 0 5pt 0.5in;"><span style="font-family:Symbol;"><span><span style="font-size:small;">·</span><span style="font-family:&quot;"> </span></span></span><span style="font-size:small;font-family:Times New Roman;">The standalone player cannot self-register SWF and FLV file associations under Vista without administrator privileges. Workaround: Users should launch SAFlashPlayer.exe once with administrator privileges by right-clicking on the EXE and selecting “Run as administrator” so it can correctly set the registry properties. </span></p>
<p class="MsoNormal" style="text-indent:-0.25in;margin:5pt 0 5pt 0.5in;"><span style="font-family:Symbol;"><span><span style="font-size:small;">·</span><span style="font-family:&quot;"> </span></span></span><span style="font-size:small;font-family:Times New Roman;">Bitmap effects and filters cannot be printed.</span></p>
<p class="MsoNormal" style="text-indent:-0.25in;margin:5pt 0 5pt 0.5in;"><span style="font-family:Symbol;"><span><span style="font-size:small;">·</span><span style="font-family:&quot;"> </span></span></span><span style="font-size:small;font-family:Times New Roman;">Button label text may not redraw correctly upon exiting full screen mode. User must mouse over the text to force the redraw. </span></p>
<p class="MsoNormal" style="text-indent:-0.25in;margin:5pt 0 5pt 0.5in;"><span style="font-family:Symbol;"><span><span style="font-size:small;">·</span><span style="font-family:&quot;"> </span></span></span><span style="font-size:small;font-family:Times New Roman;">Transform Matrix transformations are not reflected in respective MovieClip/DisplayObject properties. Properties like scaleX, scaleY, and rotation are not changed as the result of changes to a DisplayObject’s transformation matrix (flash.geom.Transform, flash.geom.Matrix). However, changes to those properties are reflected in the matrix. If you change a property after changing the matrix, the matrix also resets to its original value. Affects ActionScript 2.0 and ActionScript 3.0. Workaround: If using matrix transformations, avoid using scaleX, scaleY, and rotation in favor of their respective matrix transformations. </span></p>
<p class="MsoNormal" style="text-indent:-0.25in;margin:5pt 0 5pt 0.5in;"><span style="font-family:Symbol;"><span><span style="font-size:small;">·</span><span style="font-family:&quot;"> </span></span></span><span style="font-size:small;font-family:Times New Roman;">Triggering stage.invalidate() during a “render” event listener fails. </span></p>
<p class="MsoNormal" style="text-indent:-0.25in;margin:5pt 0 5pt 0.5in;"><span style="font-family:Symbol;"><span><span style="font-size:small;">·</span><span style="font-family:&quot;"> </span></span></span><span style="font-size:small;font-family:Times New Roman;">Empty strings passed through External Interface API via JavaScript are converted to null. </span></p>
<p class="MsoNormal" style="text-indent:-0.25in;margin:5pt 0 5pt 0.5in;"><span style="font-family:Symbol;"><span><span style="font-size:small;">·</span><span style="font-family:&quot;"> </span></span></span><span style="font-size:small;font-family:Times New Roman;">Some users are experiencing sound problems under Windows due to lack of support for WaveOut with drivers for some video cards, such as Realtek and SoundMax. </span></p>
<p class="MsoNormal" style="text-indent:-0.25in;margin:5pt 0 5pt 0.5in;"><span style="font-family:Symbol;"><span><span style="font-size:small;">·</span><span style="font-family:&quot;"> </span></span></span><span style="font-size:small;font-family:Times New Roman;">Launching the context menu when in full-screen mode may temporarily reduce FLV video playback performance on Macintosh systems. </span></p>
<p class="MsoNormal" style="text-indent:-0.25in;margin:0 0 0 0.5in;"><span style="font-family:Symbol;"><span><span style="font-size:small;">·</span><span style="font-family:&quot;"> </span></span></span><span style="font-size:small;font-family:Times New Roman;">Although full-screen mode does not support text input, the text input cursor will display over input text fields. Workaround: dynamically convert input fields to dynamic text fields or disable TextInput components when in full-screen mode.</span></p>
</div>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/flexdream.wordpress.com/22/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/flexdream.wordpress.com/22/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/flexdream.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexdream.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/flexdream.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexdream.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/flexdream.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/flexdream.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/flexdream.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/flexdream.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/flexdream.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexdream.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/flexdream.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexdream.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/flexdream.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexdream.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexdream.wordpress.com&amp;blog=4101566&amp;post=22&amp;subd=flexdream&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://flexdream.wordpress.com/2008/08/21/general-known-issues-in-flash-player-90/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9c4f63515266e3303f8db93bdbcf3775?s=96&#38;d=identicon" medium="image">
			<media:title type="html">flexdream</media:title>
		</media:content>
	</item>
		<item>
		<title>MXML ActionScript Classes</title>
		<link>http://flexdream.wordpress.com/2008/08/10/mxml-actionscript-classes/</link>
		<comments>http://flexdream.wordpress.com/2008/08/10/mxml-actionscript-classes/#comments</comments>
		<pubDate>Sun, 10 Aug 2008 14:44:08 +0000</pubDate>
		<dc:creator>flexdream</dc:creator>
				<category><![CDATA[AS 3.0]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://flexdream.wordpress.com/?p=20</guid>
		<description><![CDATA[As you know, all MXML files are converted to ActionScript Classes which are later compiled in SWF file. If you want to view / study these automatically generated classes, you can use Compiler Argument -keep-generated-actionscript in Flex Builder Project. In Flex Builder navigate to Project &#62; Properties &#62; Flex Compiler &#62; Additional compiler arguments and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexdream.wordpress.com&amp;blog=4101566&amp;post=20&amp;subd=flexdream&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class="entry">
<div class="snap_preview">
<p class="MsoNormal">As you know, all MXML files are converted to ActionScript Classes which are later compiled in SWF file. If you want to view / study these automatically generated classes, you can use Compiler Argument -keep-generated-actionscript in Flex Builder Project.</p>
<p class="MsoNormal">In Flex Builder navigate to Project &gt; Properties &gt; Flex Compiler &gt; Additional compiler arguments and add following configuration: <strong>-keep-generated-actionscript</strong></p>
<p class="MsoNormal">This will create a folder named generated in project source folder which will have all ActionScript classes which Flex Builder automatically generates from MXML ({MXML file name}-generated).</p>
</div>
</div>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/flexdream.wordpress.com/20/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/flexdream.wordpress.com/20/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/flexdream.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexdream.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/flexdream.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexdream.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/flexdream.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/flexdream.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/flexdream.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/flexdream.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/flexdream.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexdream.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/flexdream.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexdream.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/flexdream.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexdream.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexdream.wordpress.com&amp;blog=4101566&amp;post=20&amp;subd=flexdream&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://flexdream.wordpress.com/2008/08/10/mxml-actionscript-classes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9c4f63515266e3303f8db93bdbcf3775?s=96&#38;d=identicon" medium="image">
			<media:title type="html">flexdream</media:title>
		</media:content>
	</item>
		<item>
		<title>Moock on ActionScript 4</title>
		<link>http://flexdream.wordpress.com/2008/07/29/moock-on-actionscript-4/</link>
		<comments>http://flexdream.wordpress.com/2008/07/29/moock-on-actionscript-4/#comments</comments>
		<pubDate>Tue, 29 Jul 2008 10:20:33 +0000</pubDate>
		<dc:creator>flexdream</dc:creator>
				<category><![CDATA[AS 4]]></category>

		<guid isPermaLink="false">http://flexdream.wordpress.com/?p=17</guid>
		<description><![CDATA[Thease feature  will probably be present in ActionScript 4 . Generic Functions: This functionality will add Java-style method overloading to ActionScript. A function must be defined with the keyword generic, but then mutliple methods (with different method signatures) can be used. Iterators and Generators: Increased support for iterating over a series of values using a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexdream.wordpress.com&amp;blog=4101566&amp;post=17&amp;subd=flexdream&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Thease feature  will probably be present in ActionScript 4 .</p>
<ul>
<li><strong>Generic Functions</strong>: This functionality will add Java-style method overloading to ActionScript.  A function must be defined with the keyword <code>generic</code>, but then mutliple methods (with different method signatures) can be used.</li>
<li><strong>Iterators and Generators</strong>: Increased support for iterating over a series of values using a class defined iterator. Both of these items are very Python-like.</li>
<li><strong>Proper Tail Calls</strong>: A function can properly call another function as its last operation &#8211; this adds increased support for recursion patterns.</li>
<li><strong>New Number Types</strong>: byte, double, decimal (and the current generic ‘Number’ type would be removed)</li>
<li><strong>Numeric Suffixes</strong>: As in Java, numeric literals will have suffixes to denote their specific numeric type.</li>
<li><strong>Vector Type</strong>: As in Java, there will be a mono-typed array called Vector.  Length can optionally be pre-defined at creation.</li>
<li><strong>Record Type</strong>: Describes the details of an object &#8211; easier to create than a class. I believe it is dynamic &#8211; in that it has required values, but additional properties can be defined per instance.</li>
<li><strong>Array Type</strong>: A type that describes what will be contained within an array. For example &#8211; you could say that you will have a 7-element array made up of Strings.</li>
<li><strong>Union Types</strong>: A property (or argument) could be one of a list of types (as opposed to now where a property has to be of one type &#8211; or no type). This would give you the ability to have an argument that could be a String or XML &#8211; but nothing else.</li>
</ul>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/flexdream.wordpress.com/17/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/flexdream.wordpress.com/17/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/flexdream.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexdream.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/flexdream.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexdream.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/flexdream.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/flexdream.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/flexdream.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/flexdream.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/flexdream.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexdream.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/flexdream.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexdream.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/flexdream.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexdream.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexdream.wordpress.com&amp;blog=4101566&amp;post=17&amp;subd=flexdream&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://flexdream.wordpress.com/2008/07/29/moock-on-actionscript-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9c4f63515266e3303f8db93bdbcf3775?s=96&#38;d=identicon" medium="image">
			<media:title type="html">flexdream</media:title>
		</media:content>
	</item>
	</channel>
</rss>
