<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: ActionScript 3 vs Flex 3: Buttons</title>
	<atom:link href="http://buildinternet.com/2008/12/actionscript-3-vs-flex-3-buttons/feed/" rel="self" type="application/rss+xml" />
	<link>http://buildinternet.com/2008/12/actionscript-3-vs-flex-3-buttons/</link>
	<description>Web Design, Development, and Business</description>
	<lastBuildDate>Sun, 26 May 2013 03:22:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Markus</title>
		<link>http://buildinternet.com/2008/12/actionscript-3-vs-flex-3-buttons/comment-page-1/#comment-14889</link>
		<dc:creator>Markus</dc:creator>
		<pubDate>Fri, 10 Sep 2010 19:52:44 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=396#comment-14889</guid>
		<description><![CDATA[Hi Zach,

i think it should be:

import mx.controls.Button;

instead of:

import mx.controls.button;

Thanks anyway, helps me to build my button :)

Kind regards]]></description>
		<content:encoded><![CDATA[<p>Hi Zach,</p>
<p>i think it should be:</p>
<p>import mx.controls.Button;</p>
<p>instead of:</p>
<p>import mx.controls.button;</p>
<p>Thanks anyway, helps me to build my button :)</p>
<p>Kind regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ronnie</title>
		<link>http://buildinternet.com/2008/12/actionscript-3-vs-flex-3-buttons/comment-page-1/#comment-13699</link>
		<dc:creator>Ronnie</dc:creator>
		<pubDate>Tue, 01 Jun 2010 12:12:27 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=396#comment-13699</guid>
		<description><![CDATA[Hi Zach,
I am trying to drag and drop buttons from a hbox to a canvas. However, after i drag and drop, it is vanishing from the hbox and appearing in canvas. I want it to also remain in hbox. My event handler is as follows:

public function dragButton(e:MouseEvent):void
{
				
if(e.buttonDown) 
{  
var button:Button = e.currentTarget as Button;
var buttonProxy:Button = new Button();
buttonProxy.width = button.width;
buttonProxy.height = button.height; 
var dragSource:DragSource = new DragSource(); 
dragSource.addData(button, &#039;button&#039;); 
DragManager.doDrag(button, dragSource, e);
//button.parent.addChild(button); 
} 
}

Actually i should be able to duplicate the button &quot;button&quot; and create a new button &quot;buttonProxy&quot; with same features as that of &quot;button&quot;. The actual button has a &quot;icon&quot; property. But when i create &quot;buttonProxy&quot; i cant seem  to have such property. What do i do?]]></description>
		<content:encoded><![CDATA[<p>Hi Zach,<br />
I am trying to drag and drop buttons from a hbox to a canvas. However, after i drag and drop, it is vanishing from the hbox and appearing in canvas. I want it to also remain in hbox. My event handler is as follows:</p>
<p>public function dragButton(e:MouseEvent):void<br />
{</p>
<p>if(e.buttonDown)<br />
{<br />
var button:Button = e.currentTarget as Button;<br />
var buttonProxy:Button = new Button();<br />
buttonProxy.width = button.width;<br />
buttonProxy.height = button.height;<br />
var dragSource:DragSource = new DragSource();<br />
dragSource.addData(button, &#8216;button&#8217;);<br />
DragManager.doDrag(button, dragSource, e);<br />
//button.parent.addChild(button);<br />
}<br />
}</p>
<p>Actually i should be able to duplicate the button &#8220;button&#8221; and create a new button &#8220;buttonProxy&#8221; with same features as that of &#8220;button&#8221;. The actual button has a &#8220;icon&#8221; property. But when i create &#8220;buttonProxy&#8221; i cant seem  to have such property. What do i do?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flex components and scripts may be you don't have &#124; Lemlinh.com</title>
		<link>http://buildinternet.com/2008/12/actionscript-3-vs-flex-3-buttons/comment-page-1/#comment-344</link>
		<dc:creator>Flex components and scripts may be you don't have &#124; Lemlinh.com</dc:creator>
		<pubDate>Sun, 04 Jan 2009 15:46:23 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=396#comment-344</guid>
		<description><![CDATA[[...] ActionScript 3 vs Flex 3: Buttons: Be familiar with both methods of coding and you’ll be making some of the best rich internet apps yet. This post outlines the basics of creating button with both ActionScript 3 and MXML in Flex. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] ActionScript 3 vs Flex 3: Buttons: Be familiar with both methods of coding and you’ll be making some of the best rich internet apps yet. This post outlines the basics of creating button with both ActionScript 3 and MXML in Flex. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using memcached
Database Caching using memcached
Object Caching 292/321 objects using disk: basic

Served from: buildinternet.com @ 2013-05-26 02:35:04 -->