<?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>Mon, 06 Sep 2010 02:17:11 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.1</generator> <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>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>[...] 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><!--
This site's performance optimized by W3 Total Cache. Dramatically improve the speed and reliability of your blog!

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using apc
Page Caching using apc (user agent is rejected)
Database Caching 5/12 queries in 0.014 seconds using disk

Served from: cazzu.com @ 2010-09-06 07:01:42 -->