<br />
<b>Warning</b>:  include() [<a href='function.include'>function.include</a>]: Unable to access /var/www/html/rogue-development/blog2/wp-content/advanced-cache.php in <b>/var/www/html/rogue-development/blog2/wp-settings.php</b> on line <b>62</b><br />
<br />
<b>Warning</b>:  include(/var/www/html/rogue-development/blog2/wp-content/advanced-cache.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in <b>/var/www/html/rogue-development/blog2/wp-settings.php</b> on line <b>62</b><br />
<br />
<b>Warning</b>:  include() [<a href='function.include'>function.include</a>]: Failed opening '/var/www/html/rogue-development/blog2/wp-content/advanced-cache.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in <b>/var/www/html/rogue-development/blog2/wp-settings.php</b> on line <b>62</b><br />
<br />
<b>Notice</b>:  add_option was called with an argument that is <strong>deprecated</strong> since version 2.3 with no alternative available. in <b>/var/www/html/rogue-development/blog2/wp-includes/functions.php</b> on line <b>3468</b><br />
<br />
<b>Notice</b>:  register_sidebar_widget is <strong>deprecated</strong> since version 2.8! Use wp_register_sidebar_widget() instead. in <b>/var/www/html/rogue-development/blog2/wp-includes/functions.php</b> on line <b>3382</b><br />
<br />
<b>Notice</b>:  register_widget_control is <strong>deprecated</strong> since version 2.8! Use wp_register_widget_control() instead. in <b>/var/www/html/rogue-development/blog2/wp-includes/functions.php</b> on line <b>3382</b><br />
<?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/"
	>

<channel>
	<title>Marc's Musings &#187; ObjectHandles</title>
	<atom:link href="http://www.rogue-development.com/blog2/category/objecthandles/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rogue-development.com/blog2</link>
	<description>Comments and thoughts on technology from Marc Hughes</description>
	<lastBuildDate>Tue, 29 Mar 2011 00:04:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>ObjectHandles V2, sneak peek</title>
		<link>http://www.rogue-development.com/blog2/2009/05/objecthandles-v2-sneak-peek/</link>
		<comments>http://www.rogue-development.com/blog2/2009/05/objecthandles-v2-sneak-peek/#comments</comments>
		<pubDate>Fri, 22 May 2009 20:15:04 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[ObjectHandles]]></category>

		<guid isPermaLink="false">http://www.rogue-development.com/blog2/?p=418</guid>
		<description><![CDATA[Today I&#8217;ve been working on the next major release of ObjectHandles. Below is an example showing off some of the new features. I&#8217;m most excited about the enhanced rotation support.   This new version is focused on making a version that will easily work with MVC frameworks like Moccasin. Some of the changes include: You no [...]]]></description>
			<content:encoded><![CDATA[<p>Today I&#8217;ve been working on the next major release of <a href="http://rogue-development.com/objectHandles.html">ObjectHandles</a>.  Below is an example showing off some of the new features.  I&#8217;m most excited about the enhanced rotation support.    This new version is focused on making a version that will easily work with MVC frameworks like <a href="http://code.google.com/p/moccasin/">Moccasin</a>.   Some of the changes include:</p>
<ul>
<li>You no longer have to re-parent your components.</li>
<li>What and where handles appear is now completely configurable</li>
<li>ObjectHandles modifies your data object instead of moving a component around (there&#8217;s 3 example visual components / data models in the source)</li>
<li>Optionally, object handles won&#8217;t swallow all of your mouse events.</li>
<li>Will now work with non-flex components (still requires Flex SDK to compile, I have to look into that)</li>
<li>Rotation support is completely smooth</li>
<li>Configurable constraints/rules system</li>
<li>Smaller, cleaner code base!</li>
</ul>
<p>Scroll down for demo.</p>
<p><a href="http://rogue-development.com/uploads/moccasin/simpleworld.swf">Click to see</a> the early proof of concept of it working within Mocassin.</p>
<p>ObjectHandles is a library to easily add graphical move/resize user gestures to a Flex based application.</p>
<p>[kml_flashembed fversion="8.0.0" movie="/uploads/ohv2/ObjectHandles2Example.swf" targetclass="flashmovie" publishmethod="static" width="700" height="700" fvars="undefined"]</p>
<p><a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
<p>[/kml_flashembed]</p>
<p><a href="http://rogue-development.com/uploads/moccasin/simpleworld.swf"><br />
</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rogue-development.com/blog2/2009/05/objecthandles-v2-sneak-peek/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Object Handles Spotted?</title>
		<link>http://www.rogue-development.com/blog2/2008/07/object-handles-spotted/</link>
		<comments>http://www.rogue-development.com/blog2/2008/07/object-handles-spotted/#comments</comments>
		<pubDate>Sat, 26 Jul 2008 13:25:23 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
				<category><![CDATA[flex]]></category>
		<category><![CDATA[ObjectHandles]]></category>
		<category><![CDATA[OpenSource]]></category>

		<guid isPermaLink="false">http://www.rogue-development.com/blog2/2008/07/object-handles-spotted/</guid>
		<description><![CDATA[I might have spotted another use of ObjectHandles over at the AsButtonGen webpage.&#160; Over on the text and image tabs you can add stuff to your button that can be resized/moved using some familiar looking handles and mouse cursors.&#160; Also, I recognize a bug with resizing the left bottom corner that was in previous versions [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.rogue-development.com/blog2/wp-content/uploads/2008/07/firefoxscreensnapz003.png" width="164" height="130" align="right" /><br />
			    I might have spotted another use of <a href="http://rogue-development.com/objectHandles.html">ObjectHandles</a> over at the <a href="http://jirox.net/AsButtonGen/">AsButtonGen</a> webpage.&#160; Over on the text and image tabs you can add stuff to your button that can be resized/moved using some familiar looking handles and mouse cursors.&#160; Also, I recognize a bug with resizing the left bottom corner that was in previous versions of the library. </p>
<p>If it is ObjectHandles, this would be the second time I just ran into a use of them, that&#8217;s pretty cool.  Unfortunately, I couldn&#8217;t find an email address on that site. </p>
<p>But that aside, the site is  neat.&#160; It lets you create some pretty &quot;web 2.0&quot; style buttons with stripes, highlights, etc. </p>
<p>I spent some time on the library yesterday.&#160; I was tyring to get the rotation+resizing thing working better since it&#8217;s been somewhat broken for a while.&#160; I&#8217;ve never needed that feature so it&#8217;s been neglected.&#160; Unfortunately, I&#8217;m running into a bit of a brick wall.&#160; I&#8217;m still trying to figure out exactly what it should do, nevermind how.&#160; Luckily, most of my Trigonometry from High School is coming back to me since it&#8217;s heavy in that department. <br/>
		          </p>
]]></content:encoded>
			<wfw:commentRss>http://www.rogue-development.com/blog2/2008/07/object-handles-spotted/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Talk tonight on ObjectHandles+Degrafa (Attend online!)</title>
		<link>http://www.rogue-development.com/blog2/2008/07/talk-tonight-on-objecthandlesdegrafa-attend-online/</link>
		<comments>http://www.rogue-development.com/blog2/2008/07/talk-tonight-on-objecthandlesdegrafa-attend-online/#comments</comments>
		<pubDate>Mon, 07 Jul 2008 12:07:30 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
				<category><![CDATA[flex]]></category>
		<category><![CDATA[ObjectHandles]]></category>

		<guid isPermaLink="false">http://www.rogue-development.com/blog2/?p=221</guid>
		<description><![CDATA[As mentioned in a previous post, I&#8217;m giving a talk to the BFAIG group on creating a simple diagramming application in Flex using ObjectHandles and Degrafa.  It&#8217;s been delayed until tonight at 7:00pm EST.  If you&#8217;re interested in seeing it, this is a joint in-person and online meeting.  I&#8217;m actually attending from a remote location, [...]]]></description>
			<content:encoded><![CDATA[<p>As mentioned in a <a href="http://www.rogue-development.com/blog2/2008/06/creating-a-simple-diagramming-application/">previous post</a>, I&#8217;m giving a talk to the <a href="http://www.bfaig.org/">BFAIG</a> group on creating a simple diagramming application in Flex using ObjectHandles and Degrafa.  It&#8217;s been delayed until tonight at 7:00pm EST.  If you&#8217;re interested in seeing it, this is a joint in-person and online meeting.  I&#8217;m actually attending from a remote location, so the online experience should be pretty good.  You can get info about how to attend online at the <a href="http://www.bfaig.org/blog/?p=85">BFAIG Blog</a> post.</p>
<p><img src="http://www.rogue-development.com/blog2/wp-content/uploads/2008/06/safariscreensnapz009.png" alt="" width="613" height="471" /></p>
<ul>
<li><a href="http://rogue-development.com/uploads/degrafa_oh2/">Run the application</a> (Flex application with view-source enabled)</li>
<li><a href="http://www.rogue-development.com/objectHandles/diagramTutorial/">Creating a simple diagramming application</a> (14 Minute Video)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.rogue-development.com/blog2/2008/07/talk-tonight-on-objecthandlesdegrafa-attend-online/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a simple diagramming application</title>
		<link>http://www.rogue-development.com/blog2/2008/06/creating-a-simple-diagramming-application/</link>
		<comments>http://www.rogue-development.com/blog2/2008/06/creating-a-simple-diagramming-application/#comments</comments>
		<pubDate>Mon, 09 Jun 2008 11:20:52 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
				<category><![CDATA[actionscript 3]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[ObjectHandles]]></category>
		<category><![CDATA[OpenSource]]></category>

		<guid isPermaLink="false">http://www.rogue-development.com/blog2/2008/06/creating-a-simple-diagramming-application/</guid>
		<description><![CDATA[Tonight, I&#8217;ll be giving a short talk to BFAIG on using ObjectHandles and Degrafa to make a simple diagramming application.  This application demonstrates the basics of working with Degrafa, and also shows how easy it is to make an interface that allows users to resize and move objects on screen. The example application has source [...]]]></description>
			<content:encoded><![CDATA[<p>Tonight, I&#8217;ll be giving a short talk to <a href="http://www.bfaig.org/">BFAIG</a> on using <a href="http://www.rogue-development.com/objectHandles.html">ObjectHandles</a> and Degrafa to make a simple diagramming application.  This application demonstrates the basics of working with Degrafa, and also shows how easy it is to make an interface that allows users to resize and move objects on screen.</p>
<p>The example application has source attached, and is licensed under the MIT license.  I hope someone can take it and make some really great application out of it.  Please drop me an email if you do!</p>
<p>I recorded a practice-run I did, so here it is&#8230;</p>
<ul>
<li><a href="http://rogue-development.com/uploads/degrafa_oh2/">Run the application</a> (Flex application with view-source enabled)</li>
<li><a href="http://www.rogue-development.com/objectHandles/diagramTutorial/">Creating a simple diagramming application</a> (14 Minute Video)</li>
</ul>
<p><img src="http://www.rogue-development.com/blog2/wp-content/uploads/2008/06/safariscreensnapz009.png" alt="" width="613" height="471" /></p>
<p> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.rogue-development.com/blog2/2008/06/creating-a-simple-diagramming-application/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>New Object Handles release</title>
		<link>http://www.rogue-development.com/blog2/2008/05/new-object-handles-release/</link>
		<comments>http://www.rogue-development.com/blog2/2008/05/new-object-handles-release/#comments</comments>
		<pubDate>Wed, 14 May 2008 12:00:55 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[flex 3]]></category>
		<category><![CDATA[ObjectHandles]]></category>

		<guid isPermaLink="false">http://www.rogue-development.com/blog2/2008/05/new-object-handles-release/</guid>
		<description><![CDATA[I just whipped up a new ObjectHandles release.  Couple notable things&#8230; They now automatically remove themselves from the SelectionManager when removed from the stage (they add themselves back when added as well).  This fixes a fairly serious memory leak. I&#8217;m deprecating the useage of the Handle class.  It draws the handles through the drawing API.  [...]]]></description>
			<content:encoded><![CDATA[<p>I just whipped up a new <a href="http://www.rogue-development.com/objectHandles.html">ObjectHandles</a> release.  Couple notable things&#8230;</p>
<p>They now automatically remove themselves from the SelectionManager when removed from the stage (they add themselves back when added as well).  This fixes a fairly serious memory leak.</p>
<p>I&#8217;m deprecating the useage of the Handle class.  It draws the handles through the drawing API.  Now, instead use the ImageHandle class which draws the handles from an embedded image.  There was some wonky logic in there that turned clipping on or off depending on this setting and that was just plain dumb.  Lets just do it one way.  I included sample .png files to simulate the old look.</p>
<p>I fixed some weird flickering when resizing to the left or up.  It only happened on certain cases, and I&#8217;m not sure why.  I think it had to do with delayed execution of the Flex layout manager.  Now, I delay the setting of x,y,width, and height and force a validateNow() right after setting those.  Let me know if this causes any problems in your application.</p>
<p>I still don&#8217;t have conditional compile for Flex2/Flex3 in there, so this will only compile under Flex 3.  Does anyone know how to get that conditional compiling to detect Flex version without having to pass an extra compiler param?</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="632" height="515" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="quality" value="high" /><param name="src" value="http://www.rogue-development.com/objecthandles/MoveAndResize.swf" /><embed type="application/x-shockwave-flash" width="632" height="515" src="http://www.rogue-development.com/objecthandles/MoveAndResize.swf" quality="high"></embed></object></p>
<p> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.rogue-development.com/blog2/2008/05/new-object-handles-release/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>ObjectHandles Demo</title>
		<link>http://www.rogue-development.com/blog2/2008/03/objecthandles-demo/</link>
		<comments>http://www.rogue-development.com/blog2/2008/03/objecthandles-demo/#comments</comments>
		<pubDate>Sun, 23 Mar 2008 01:50:00 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
				<category><![CDATA[flex]]></category>
		<category><![CDATA[ObjectHandles]]></category>

		<guid isPermaLink="false">http://rogue-development.com/blog2/?p=154</guid>
		<description><![CDATA[Here&#8217;s a short demo of some of the stuff that ObjectHandles (my Flex library for moving &#38; resizing stuff) can do with a very minimal amount of code.   The custom things I did: Has a MOVING / RESIZING event handler to show a custom tooltip (hides the tooltip on MOVED / RESIZED) Has custom resize [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a short demo of some of the stuff that <a href="http://www.rogue-development.com/objectHandles.html">ObjectHandles</a> (my Flex library for moving &amp; resizing stuff) can do with a very minimal amount of code.  </p>
<p><object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/1N9YppLtmIw"><embed src="http://www.youtube.com/v/1N9YppLtmIw" type="application/x-shockwave-flash" width="425" height="350"></embed></object></p>
<div>The custom things I did:
<ul>
<li>Has a MOVING / RESIZING event handler to show a custom tooltip (hides the tooltip on MOVED / RESIZED)</li>
<li>Has custom resize handle images that look like grey horizontal bars</li>
<li>Only allows vertical resizing (allowHResize = false).</li>
<li>On a MOVED event, the objects have an animation that snaps them to a column.</li>
</ul>
<div>It&#8217;s a little hard to see in that video, but the duration &amp; start time in the tooltip update as you move or resize the boxes around.</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.rogue-development.com/blog2/2008/03/objecthandles-demo/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ObjectHandles 1.0.9 available for download</title>
		<link>http://www.rogue-development.com/blog2/2007/12/objecthandles-109-available-for-download/</link>
		<comments>http://www.rogue-development.com/blog2/2007/12/objecthandles-109-available-for-download/#comments</comments>
		<pubDate>Tue, 04 Dec 2007 16:06:00 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
				<category><![CDATA[flex]]></category>
		<category><![CDATA[ObjectHandles]]></category>

		<guid isPermaLink="false">http://rogue-development.com/blog2/?p=97</guid>
		<description><![CDATA[New version is up. It fixes the selectNone() bug, has the correctmetadata for events, and no longer creates event listeners on theparent object for every single OH you instantiate.I also added an updateAfterEvent call when things are getting moved,it really made the motion a lot smoother, never thought it wouldmatter much. http://code.google.com/p/flex-object-handles/downloads/list ASDocs now posted [...]]]></description>
			<content:encoded><![CDATA[<p>New version is up. It fixes the selectNone() bug, has the correct<br />metadata for events, and no longer creates event listeners on the<br />parent object for every single OH you instantiate.<br />I also added an updateAfterEvent call when things are getting moved,<br />it really made the motion a lot smoother, never thought it would<br />matter much.
<p><a target="_blank" rel="nofollow" href="http://code.google.com/p/flex-object-handles/downloads/list">http://code.google.com/p/flex-object-handles/downloads/list</a></p>
<p>ASDocs now posted as well, it&#8217;s pretty sparse so it looks like I need to add<br />in a bunch of comments <img src='http://www.rogue-development.com/blog2/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a target="_blank" rel="nofollow" href="http://rogue-development.com/objecthandles/asdocs/">http://rogue-development.com/objecthandles/asdocs/</a></p>
<p>-Marc</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rogue-development.com/blog2/2007/12/objecthandles-109-available-for-download/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New ObjectHandles Build</title>
		<link>http://www.rogue-development.com/blog2/2007/11/new-objecthandles-build/</link>
		<comments>http://www.rogue-development.com/blog2/2007/11/new-objecthandles-build/#comments</comments>
		<pubDate>Thu, 22 Nov 2007 14:55:00 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[ObjectHandles]]></category>

		<guid isPermaLink="false">http://rogue-development.com/blog2/?p=91</guid>
		<description><![CDATA[I posted a new ObjectHandles build yesterday.  It fixes a couple bugs and integrates some patches people have sent me including: 1) Graphical handle support 2) Fixed aspect ratio support 3) Ability to detect transparency &#38; clicks  There will likely be another build in the next week to integrate another patch and fix a few [...]]]></description>
			<content:encoded><![CDATA[<p>I posted a new <a href="http://rogue-development.com/objectHandles.xml">ObjectHandles</a> build yesterday.  It fixes a couple bugs and integrates some patches people have sent me including:
<div></div>
<div>1) Graphical handle support</div>
<div>2) Fixed aspect ratio support</div>
<div>3) Ability to detect transparency &amp; clicks </div>
<div></div>
<div>There will likely be another build in the next week to integrate another patch and fix a few a performance issue.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.rogue-development.com/blog2/2007/11/new-objecthandles-build/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Object Handles updated</title>
		<link>http://www.rogue-development.com/blog2/2007/07/object-handles-updated/</link>
		<comments>http://www.rogue-development.com/blog2/2007/07/object-handles-updated/#comments</comments>
		<pubDate>Mon, 30 Jul 2007 12:42:00 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
				<category><![CDATA[flex]]></category>
		<category><![CDATA[ObjectHandles]]></category>

		<guid isPermaLink="false">http://rogue-development.com/blog2/?p=41</guid>
		<description><![CDATA[[ObjectHandles is a library to easily manage user movable and resizeable onscreen objects] It&#8217;s been a while, as I&#8217;ve been overly busy lately, but there is now a new ObjectHandles release.This release fixed one bug with non-visible components, and added a new set of mouse cursors as the default. Since my last build, there&#8217;s a [...]]]></description>
			<content:encoded><![CDATA[<p><span style="font-style: italic;">[ObjectHandles is a library to easily manage user movable and resizeable onscreen objects]</span></p>
<p>It&#8217;s been a while, as I&#8217;ve been overly busy lately, but there is now a new ObjectHandles release.<br />This release fixed one bug with non-visible components, and added a new set of mouse cursors as the default.  Since my last build, there&#8217;s a been a bunch of submissions for new mouse cursors.  I thank you all!  In the near future I&#8217;ll create a separate swc with them all embedded so developers can pick and choose.  But for now I&#8217;ve embedded one of those new options into the library as the default.  You can download the new release at</p>
<p><a href="http://code.google.com/p/flex-object-handles/downloads/list" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://code.google.com/p/flex<wbr>-object-handles/downloads/list</a></p>
<p>Now, you can also set your own mouse cursors, outside of the library.  To do this, implement the OHMouseCursors interface, instantiate your class, and assign it to the ObjectHandles.mouseCursors property.  A sample cursor class follows:</p>
<p>package your.package<br />{<br />   public class YourMouseCursorClass implements OHMouseCursors<br />   {<br />       [Embed("../../../assets
<div id="mb_0"><wbr>/cursors/set1/resize- v.png")]<br />       protected var sizeNS:Class;<br />       [Embed("../../../assets<wbr>/cursors/set2/move.png")]<br />       protected var sizeAll:Class;<br />       [Embed("../../../assets<wbr>/cursors/set1/resize- l.png")]<br />       protected var sizeNESW:Class;<br />       [Embed("../../../assets<wbr>/cursors/set1/resize-r.png")]<br />       protected var sizeNWSE:Class;<br />       [Embed("../../../assets<wbr>/cursors/set1/resize- h.png")]<br />       protected var sizeWE:Class;</p>
<p>       protected var map:Object = new Object();</p>
<p>       public function getCursor(name:String) : MouseCursorDetails<br />       {<br />           return map[name];<br />       }</p>
<p>       public function YourMouseCursorClass () : void<br />       {<br />           // Numbers are offsets to the hot-spot of the cursor (the point of the arrow, the middle of the resize bar, etc.)<br />           map["SizeNS"] = new MouseCursorDetails(sizeNS, -5, -8 );<br />           map["SizeAll"] = new MouseCursorDetails(sizeAll, -11, -13 );<br />           map["SizeNWSE"] = new MouseCursorDetails(sizeNESW, -5, -6 );<br />           map["SizeNESW"] = new MouseCursorDetails(sizeNWSE, -5, -6 );<br />           map["SizeWE"] = new MouseCursorDetails(sizeWE, -9, -6 );<br />       }<br />   }<br />}</p>
<p>Then in your mxml&#8230;</p>
<p>&lt;oh:objecthandles mousecursors=&#8221;{new YourMouseCursorClass()}&#8221; allowrotate=&#8221;false&#8221; x=&#8221;10&#8243; y=&#8221;90&#8243; width=&#8221;307&#8243; height=&#8221;30&#8243; minheight=&#8221;30&#8243; minwidth=&#8221;100&#8243;&gt;</p>
<p>If you have many ObjectHandles objects around, you can reuse the same cursor class to reduce memory usage.</p>
<p>The OH website, including a sample, is still at<br /><a href="http://www.rogue-development.com/objectHandles.xml">http://www.rogue-development.com/objectHandles.xml</a></p>
<p>Enjoy!<br /></oh:objecthandles></div>
]]></content:encoded>
			<wfw:commentRss>http://www.rogue-development.com/blog2/2007/07/object-handles-updated/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Object Handles now availbe from Google Code</title>
		<link>http://www.rogue-development.com/blog2/2007/07/object-handles-now-availbe-from-google-code/</link>
		<comments>http://www.rogue-development.com/blog2/2007/07/object-handles-now-availbe-from-google-code/#comments</comments>
		<pubDate>Fri, 06 Jul 2007 19:00:00 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
				<category><![CDATA[flex]]></category>
		<category><![CDATA[ObjectHandles]]></category>
		<category><![CDATA[OpenSource]]></category>

		<guid isPermaLink="false">http://rogue-development.com/blog2/?p=30</guid>
		<description><![CDATA[I&#8217;ve moved the download location of Object Handles to take advantage of the download functionality of Google Code. This should let me manage versions much easier. http://code.google.com/p/flex-object-handles/downloads/list The neat thing is, I used an ant script to automatically post files there!]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve moved the download location of <a href="http://www.rogue-development.com/objectHandles.xml">Object Handles</a> to take advantage of the download functionality of Google Code.  This should let me manage versions much easier.</p>
<p><a href="http://code.google.com/p/flex-object-handles/downloads/list">http://code.google.com/p/flex-object-handles/downloads/list</a></p>
<p>The neat thing is, I used an ant script to automatically post files there!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rogue-development.com/blog2/2007/07/object-handles-now-availbe-from-google-code/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

