<?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: Flex Selection Rectangle</title>
	<atom:link href="http://blog.jeethukarthik.com/flex-selection-rectangle/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.jeethukarthik.com/flex-selection-rectangle/</link>
	<description>My thoughts on the intersection of art, media, technology, and more.</description>
	<lastBuildDate>Fri, 18 Jun 2010 13:42:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ronnie</title>
		<link>http://blog.jeethukarthik.com/flex-selection-rectangle/comment-page-1/#comment-364</link>
		<dc:creator>Ronnie</dc:creator>
		<pubDate>Tue, 25 May 2010 06:12:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeethukarthik.com/?p=109#comment-364</guid>
		<description>Hi Jeethu,

Thanks for this example. 
 
I am using this on a canvas. I have a few buttons embedded with images. I drag and drop them on to the canvas. Now  i would like to be able to select these images as i like using the selectionRectangle. I have used your example successfully. I can see the number of items selected in the label.

But i want to see the borders of the button prominently visible when i select like for example, when i select two of the images that have been dropped, then their should appear small boxes on the edges of the borders of the selected buttons. How do i do that?

Thanks in advance :)</description>
		<content:encoded><![CDATA[<p>Hi Jeethu,</p>
<p>Thanks for this example. </p>
<p>I am using this on a canvas. I have a few buttons embedded with images. I drag and drop them on to the canvas. Now  i would like to be able to select these images as i like using the selectionRectangle. I have used your example successfully. I can see the number of items selected in the label.</p>
<p>But i want to see the borders of the button prominently visible when i select like for example, when i select two of the images that have been dropped, then their should appear small boxes on the edges of the borders of the selected buttons. How do i do that?</p>
<p>Thanks in advance <img src='http://blog.jeethukarthik.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://blog.jeethukarthik.com/flex-selection-rectangle/comment-page-1/#comment-361</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Tue, 13 Apr 2010 18:10:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeethukarthik.com/?p=109#comment-361</guid>
		<description>Thank you, this helped me a lot.</description>
		<content:encoded><![CDATA[<p>Thank you, this helped me a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeethu Karthik</title>
		<link>http://blog.jeethukarthik.com/flex-selection-rectangle/comment-page-1/#comment-349</link>
		<dc:creator>Jeethu Karthik</dc:creator>
		<pubDate>Wed, 03 Mar 2010 06:57:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeethukarthik.com/?p=109#comment-349</guid>
		<description>@Sai You might be nesting the selection rectangle within some container. That may be the problem</description>
		<content:encoded><![CDATA[<p>@Sai You might be nesting the selection rectangle within some container. That may be the problem</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sai</title>
		<link>http://blog.jeethukarthik.com/flex-selection-rectangle/comment-page-1/#comment-344</link>
		<dc:creator>Sai</dc:creator>
		<pubDate>Wed, 24 Feb 2010 19:33:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeethukarthik.com/?p=109#comment-344</guid>
		<description>Hey jeethu, 

Thanks for then nice post, it is helping me now, but when i try to draw a rect on the image i encounter a few problems, the x and y values will be greater than where i clicked on the image, always.

is there a solution for this.</description>
		<content:encoded><![CDATA[<p>Hey jeethu, </p>
<p>Thanks for then nice post, it is helping me now, but when i try to draw a rect on the image i encounter a few problems, the x and y values will be greater than where i clicked on the image, always.</p>
<p>is there a solution for this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Baycik</title>
		<link>http://blog.jeethukarthik.com/flex-selection-rectangle/comment-page-1/#comment-342</link>
		<dc:creator>Baycik</dc:creator>
		<pubDate>Fri, 15 Jan 2010 20:02:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeethukarthik.com/?p=109#comment-342</guid>
		<description>Thanks a lot. You saved much of my time.</description>
		<content:encoded><![CDATA[<p>Thanks a lot. You saved much of my time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BlackScorp21</title>
		<link>http://blog.jeethukarthik.com/flex-selection-rectangle/comment-page-1/#comment-119</link>
		<dc:creator>BlackScorp21</dc:creator>
		<pubDate>Mon, 06 Jul 2009 12:37:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeethukarthik.com/?p=109#comment-119</guid>
		<description>Hi! 

Es ist zwar schon ein wenig her das du das hier reingestellt hast. Hätte da aber trotzdem ne Frage zu.
Habe mir das gerade mal angesehen. Wenn ich eine Ausgabe mache, welche Elemente ausgewählt wurden, schreibt er immer den Klassenamen davor.

Also z.B. Klassename.Button1

Sehe irgendwie nicht das du das programmiert hast. Ist das Standard in flex oder finde ich nur die Stelle im Code nicht.

Ich bräuchte dann ja den Namen des Objektes (ohne Klassenamen) damit ich dieses ansprechen kann. Zum Beispiel das es sich nach Rechts bewegen soll.

Kannst du mir da helfen? Oder jmd anders?
Danke</description>
		<content:encoded><![CDATA[<p>Hi! </p>
<p>Es ist zwar schon ein wenig her das du das hier reingestellt hast. Hätte da aber trotzdem ne Frage zu.<br />
Habe mir das gerade mal angesehen. Wenn ich eine Ausgabe mache, welche Elemente ausgewählt wurden, schreibt er immer den Klassenamen davor.</p>
<p>Also z.B. Klassename.Button1</p>
<p>Sehe irgendwie nicht das du das programmiert hast. Ist das Standard in flex oder finde ich nur die Stelle im Code nicht.</p>
<p>Ich bräuchte dann ja den Namen des Objektes (ohne Klassenamen) damit ich dieses ansprechen kann. Zum Beispiel das es sich nach Rechts bewegen soll.</p>
<p>Kannst du mir da helfen? Oder jmd anders?<br />
Danke</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jeethu</title>
		<link>http://blog.jeethukarthik.com/flex-selection-rectangle/comment-page-1/#comment-107</link>
		<dc:creator>jeethu</dc:creator>
		<pubDate>Sat, 13 Jun 2009 04:41:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeethukarthik.com/?p=109#comment-107</guid>
		<description>@Elan After the selection the selected items are available in the array called &#039;selectedItems&#039; as per my code. What you can do is, add these items to a container( a canvas maybe ) when the &#039;group&#039; button is clicked on. The reverse applies for &#039;ungroup&#039;. Use the globalToLocal, localToGlobal, etc. functions to set the x and y of the items during both grouping and ungrouping... for a demo take a look at Stickies in Sync, http://blog.jeethukarthik.com/adobe-riathon-08/ .I built this app a long time ago....</description>
		<content:encoded><![CDATA[<p>@Elan After the selection the selected items are available in the array called &#8217;selectedItems&#8217; as per my code. What you can do is, add these items to a container( a canvas maybe ) when the &#8216;group&#8217; button is clicked on. The reverse applies for &#8216;ungroup&#8217;. Use the globalToLocal, localToGlobal, etc. functions to set the x and y of the items during both grouping and ungrouping&#8230; for a demo take a look at Stickies in Sync, <a href="http://blog.jeethukarthik.com/adobe-riathon-08/" rel="nofollow">http://blog.jeethukarthik.com/adobe-riathon-08/</a> .I built this app a long time ago&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elan</title>
		<link>http://blog.jeethukarthik.com/flex-selection-rectangle/comment-page-1/#comment-106</link>
		<dc:creator>Elan</dc:creator>
		<pubDate>Fri, 12 Jun 2009 10:34:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeethukarthik.com/?p=109#comment-106</guid>
		<description>Hi Jeethu,

When i click my group button After selecting the items just i want to group them as single container and it should be revert when i click ungroup button.how do i do it give me some clue.

Thanks,
Elan.</description>
		<content:encoded><![CDATA[<p>Hi Jeethu,</p>
<p>When i click my group button After selecting the items just i want to group them as single container and it should be revert when i click ungroup button.how do i do it give me some clue.</p>
<p>Thanks,<br />
Elan.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: parthiban</title>
		<link>http://blog.jeethukarthik.com/flex-selection-rectangle/comment-page-1/#comment-102</link>
		<dc:creator>parthiban</dc:creator>
		<pubDate>Sat, 23 May 2009 11:30:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeethukarthik.com/?p=109#comment-102</guid>
		<description>Sir 

  I want to know &quot; How to create or Make DESKTOP MARQUEE (i.e A NEWS CHANNEL SEE YOU, EXAMPLE : FLASH NEWS MOVING )

please send the source code or exe file

parthiban.k</description>
		<content:encoded><![CDATA[<p>Sir </p>
<p>  I want to know &#8221; How to create or Make DESKTOP MARQUEE (i.e A NEWS CHANNEL SEE YOU, EXAMPLE : FLASH NEWS MOVING )</p>
<p>please send the source code or exe file</p>
<p>parthiban.k</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: washington</title>
		<link>http://blog.jeethukarthik.com/flex-selection-rectangle/comment-page-1/#comment-41</link>
		<dc:creator>washington</dc:creator>
		<pubDate>Thu, 12 Mar 2009 04:42:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeethukarthik.com/?p=109#comment-41</guid>
		<description>Hi Jeethu,

Thanks for doing this. It&#039;s amazing.

Just wondering 2 things. 

1. How would I use it within a certain container? For example, another canvas. I tried changing the code from addChild(selectionRectangle) to canvas.addChild(selectionRectangle), however it doesn&#039;t seem to be working. Any idea why? 

2. I&#039;d like for the selectionRectangle to remain on the stage until the next mouseDown (so that the user knows the area that he/she has selected). Is there a way that that could be implemented?

Thanks so much for everything. I&#039;m still a beginner to Flex/AS3, so please forgive me if the answers to those questions seem obvious.</description>
		<content:encoded><![CDATA[<p>Hi Jeethu,</p>
<p>Thanks for doing this. It&#8217;s amazing.</p>
<p>Just wondering 2 things. </p>
<p>1. How would I use it within a certain container? For example, another canvas. I tried changing the code from addChild(selectionRectangle) to canvas.addChild(selectionRectangle), however it doesn&#8217;t seem to be working. Any idea why? </p>
<p>2. I&#8217;d like for the selectionRectangle to remain on the stage until the next mouseDown (so that the user knows the area that he/she has selected). Is there a way that that could be implemented?</p>
<p>Thanks so much for everything. I&#8217;m still a beginner to Flex/AS3, so please forgive me if the answers to those questions seem obvious.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jeethu</title>
		<link>http://blog.jeethukarthik.com/flex-selection-rectangle/comment-page-1/#comment-24</link>
		<dc:creator>jeethu</dc:creator>
		<pubDate>Sun, 08 Feb 2009 15:35:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeethukarthik.com/?p=109#comment-24</guid>
		<description>Thanks Nicolas.

If you found that useful, wait till you see a little selection rectangle swc that i&#039;ll be posting in a couple of days... :)</description>
		<content:encoded><![CDATA[<p>Thanks Nicolas.</p>
<p>If you found that useful, wait till you see a little selection rectangle swc that i&#8217;ll be posting in a couple of days&#8230; <img src='http://blog.jeethukarthik.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicolas</title>
		<link>http://blog.jeethukarthik.com/flex-selection-rectangle/comment-page-1/#comment-23</link>
		<dc:creator>Nicolas</dc:creator>
		<pubDate>Sun, 08 Feb 2009 10:22:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeethukarthik.com/?p=109#comment-23</guid>
		<description>Legend. I wrote my own before finding this article, based on canvas as well, but missing one bit: I&#039;ve been looking for this:

if(selectionRectangle.getRect(this).intersects((children[i] as DisplayObject).getRect(this)))  

Cheers!</description>
		<content:encoded><![CDATA[<p>Legend. I wrote my own before finding this article, based on canvas as well, but missing one bit: I&#8217;ve been looking for this:</p>
<p>if(selectionRectangle.getRect(this).intersects((children[i] as DisplayObject).getRect(this)))  </p>
<p>Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jeethu</title>
		<link>http://blog.jeethukarthik.com/flex-selection-rectangle/comment-page-1/#comment-10</link>
		<dc:creator>jeethu</dc:creator>
		<pubDate>Wed, 03 Dec 2008 13:10:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeethukarthik.com/?p=109#comment-10</guid>
		<description>@arindam - The Rectangle class i&#039;ve used above is only for reference. To obtain the width,height,x and y. The blue rectangle that appears is a Canvas. And btw try this link to do this in flash 

http://www.quasimondo.com/archives/000571.php</description>
		<content:encoded><![CDATA[<p>@arindam &#8211; The Rectangle class i&#8217;ve used above is only for reference. To obtain the width,height,x and y. The blue rectangle that appears is a Canvas. And btw try this link to do this in flash </p>
<p><a href="http://www.quasimondo.com/archives/000571.php" rel="nofollow">http://www.quasimondo.com/archives/000571.php</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: arindam</title>
		<link>http://blog.jeethukarthik.com/flex-selection-rectangle/comment-page-1/#comment-9</link>
		<dc:creator>arindam</dc:creator>
		<pubDate>Wed, 03 Dec 2008 05:51:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeethukarthik.com/?p=109#comment-9</guid>
		<description>How can I do it in flash as2 or as3???

Is you rectangular class it self drawing an rect object through drwaRect method??</description>
		<content:encoded><![CDATA[<p>How can I do it in flash as2 or as3???</p>
<p>Is you rectangular class it self drawing an rect object through drwaRect method??</p>
]]></content:encoded>
	</item>
</channel>
</rss>
