<?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: Using BOTH Native and Flex DragManager in AIR 1.0</title> <atom:link href="http://www.flexjunk.com/2008/04/08/using-both-native-and-flex-dragmanager-in-air-10/feed/" rel="self" type="application/rss+xml" /><link>http://www.flexjunk.com/2008/04/08/using-both-native-and-flex-dragmanager-in-air-10/</link> <description>Blog about Flex, AIR, Security, and other various topics</description> <lastBuildDate>Sat, 04 Feb 2012 01:17:44 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: &#187; Blog Archive &#187; Dual Drag Managers in AIR 1.5</title><link>http://www.flexjunk.com/2008/04/08/using-both-native-and-flex-dragmanager-in-air-10/comment-page-1/#comment-2007</link> <dc:creator>&#187; Blog Archive &#187; Dual Drag Managers in AIR 1.5</dc:creator> <pubDate>Sat, 10 Jan 2009 15:11:54 +0000</pubDate> <guid
isPermaLink="false">http://flexjunk.com/2008/04/08/using-both-native-and-flex-dragmanager-in-air-10/#comment-2007</guid> <description>[...] April, I had a blog post about how to use both the Native and Flex DragManagers at the same time by monkey-patching an AIR [...]</description> <content:encoded><![CDATA[<p>[...] April, I had a blog post about how to use both the Native and Flex DragManagers at the same time by monkey-patching an AIR [...]</p> ]]></content:encoded> </item> <item><title>By: Andrew</title><link>http://www.flexjunk.com/2008/04/08/using-both-native-and-flex-dragmanager-in-air-10/comment-page-1/#comment-58</link> <dc:creator>Andrew</dc:creator> <pubDate>Sat, 21 Jun 2008 10:21:38 +0000</pubDate> <guid
isPermaLink="false">http://flexjunk.com/2008/04/08/using-both-native-and-flex-dragmanager-in-air-10/#comment-58</guid> <description>@Thanos - Thanks for the additional fix.  It should prove useful for people.</description> <content:encoded><![CDATA[<p>@Thanos &#8211; Thanks for the additional fix.  It should prove useful for people.</p> ]]></content:encoded> </item> <item><title>By: Thanos</title><link>http://www.flexjunk.com/2008/04/08/using-both-native-and-flex-dragmanager-in-air-10/comment-page-1/#comment-57</link> <dc:creator>Thanos</dc:creator> <pubDate>Sat, 21 Jun 2008 00:52:59 +0000</pubDate> <guid
isPermaLink="false">http://flexjunk.com/2008/04/08/using-both-native-and-flex-dragmanager-in-air-10/#comment-57</guid> <description>Hello,
i came across the same problem Mario reported (error message when closing a Window instance).
Here is what I did to fix the problem (although not extensively tested):
a) copy the class WindowedSystemManager.as (the one that complains about the error), under mx\managers (Same folder with SystemManager).
b) replace Singleton.getClass(&quot;mx.managers::IDragManager&quot;) with
Singleton.getClass(&quot;mx.managers::INativeDragManager&quot;)
which is the name used during manager&#039;s class registration by Andrew on patched SystemManager class.
thanks:)
Thanos</description> <content:encoded><![CDATA[<p>Hello,</p><p>i came across the same problem Mario reported (error message when closing a Window instance).<br
/> Here is what I did to fix the problem (although not extensively tested):</p><p>a) copy the class WindowedSystemManager.as (the one that complains about the error), under mx\managers (Same folder with SystemManager).<br
/> b) replace Singleton.getClass(&#8220;mx.managers::IDragManager&#8221;) with<br
/> Singleton.getClass(&#8220;mx.managers::INativeDragManager&#8221;)</p><p>which is the name used during manager&#8217;s class registration by Andrew on patched SystemManager class.</p><p>thanks:)<br
/> Thanos</p> ]]></content:encoded> </item> <item><title>By: Andrew</title><link>http://www.flexjunk.com/2008/04/08/using-both-native-and-flex-dragmanager-in-air-10/comment-page-1/#comment-53</link> <dc:creator>Andrew</dc:creator> <pubDate>Thu, 22 May 2008 20:20:50 +0000</pubDate> <guid
isPermaLink="false">http://flexjunk.com/2008/04/08/using-both-native-and-flex-dragmanager-in-air-10/#comment-53</guid> <description>@Mario  I have not come across this bug before.  I don&#039;t usually open multiple native windows.  If you find a solution, let me know.</description> <content:encoded><![CDATA[<p>@Mario  I have not come across this bug before.  I don&#8217;t usually open multiple native windows.  If you find a solution, let me know.</p> ]]></content:encoded> </item> <item><title>By: tj</title><link>http://www.flexjunk.com/2008/04/08/using-both-native-and-flex-dragmanager-in-air-10/comment-page-1/#comment-46</link> <dc:creator>tj</dc:creator> <pubDate>Tue, 06 May 2008 14:38:38 +0000</pubDate> <guid
isPermaLink="false">http://flexjunk.com/2008/04/08/using-both-native-and-flex-dragmanager-in-air-10/#comment-46</guid> <description>Awesome, thanks!!
As an FYI, I was running into an inability in Flex-on-AIR to use remote images (loaded into itemRenderers in a TileList) as drag proxy images- the label would show on the proxy but not the image (the itemRenderer being a Canvas with Image and Label controls).  After trying literally EVERYTHING over the past few days, this fixed the last of my problems.  Hopefully, as AIR picks up, this fix will come in handy for other AIR devs!</description> <content:encoded><![CDATA[<p>Awesome, thanks!!<br
/> As an FYI, I was running into an inability in Flex-on-AIR to use remote images (loaded into itemRenderers in a TileList) as drag proxy images- the label would show on the proxy but not the image (the itemRenderer being a Canvas with Image and Label controls).  After trying literally EVERYTHING over the past few days, this fixed the last of my problems.  Hopefully, as AIR picks up, this fix will come in handy for other AIR devs!</p> ]]></content:encoded> </item> <item><title>By: Mario Rodrigues</title><link>http://www.flexjunk.com/2008/04/08/using-both-native-and-flex-dragmanager-in-air-10/comment-page-1/#comment-33</link> <dc:creator>Mario Rodrigues</dc:creator> <pubDate>Sun, 20 Apr 2008 06:42:29 +0000</pubDate> <guid
isPermaLink="false">http://flexjunk.com/2008/04/08/using-both-native-and-flex-dragmanager-in-air-10/#comment-33</guid> <description>Hi,
Thank you so much for this code.  I was stumbling around for a few hours before I came across your blog post.  Your code works great with one exception.  When I open a new Window and close it, I get the following error:
TypeError: Error #1034: Type Coercion failed: cannot convert mx.managers::DragManagerImpl@73e8039 to mx.managers.NativeDragManagerImpl.
at mx.managers::WindowedSystemManager/http://www.adobe.com/2006/flex/mx/internal::cleanup()[E:\dev\3.0.x\frameworks\projects\airframework\src\mx\managers\WindowedSystemManager.as:1684]
Have you come across this before?</description> <content:encoded><![CDATA[<p>Hi,</p><p>Thank you so much for this code.  I was stumbling around for a few hours before I came across your blog post.  Your code works great with one exception.  When I open a new Window and close it, I get the following error:</p><p>TypeError: Error #1034: Type Coercion failed: cannot convert mx.managers::DragManagerImpl@73e8039 to mx.managers.NativeDragManagerImpl.<br
/> at mx.managers::WindowedSystemManager/http://www.adobe.com/2006/flex/mx/internal::cleanup()[E:\dev\3.0.x\frameworks\projects\airframework\src\mx\managers\WindowedSystemManager.as:1684]</p><p>Have you come across this before?</p> ]]></content:encoded> </item> <item><title>By: Tom Ortega</title><link>http://www.flexjunk.com/2008/04/08/using-both-native-and-flex-dragmanager-in-air-10/comment-page-1/#comment-20</link> <dc:creator>Tom Ortega</dc:creator> <pubDate>Wed, 09 Apr 2008 00:31:24 +0000</pubDate> <guid
isPermaLink="false">http://flexjunk.com/2008/04/08/using-both-native-and-flex-dragmanager-in-air-10/#comment-20</guid> <description>This is the kind of stuff we love about our show.  Getting people together and wonderful things happen.  Great job!  Glad you were here to hang with Labriola and whip out some code right quick.</description> <content:encoded><![CDATA[<p>This is the kind of stuff we love about our show.  Getting people together and wonderful things happen.  Great job!  Glad you were here to hang with Labriola and whip out some code right quick.</p> ]]></content:encoded> </item> </channel> </rss>
