avidcoder
Members-
Posts
12 -
Joined
-
Last visited
Recent Profile Visitors
2,477 profile views
avidcoder's Achievements
0
Reputation
-
Cursor slows down over transform items
avidcoder replied to avidcoder's topic in TransformManager (Flash)
Sadly I don't have the time either right now. As a temporary solution I turned off the custom move cursor. TransformManager.customizeMoveCursor(new Shape(), false); -
Cursor slows down over transform items
avidcoder replied to avidcoder's topic in TransformManager (Flash)
I just tried snapCursor on both MOUSE_MOVE and ENTER_FRAME but the mouse movement is still sluggish in Chrome (Version 22.0.1229.94 m, FP 11.4.31.110, Win7). Any chance you could do a native cursor implementation as outlined above? -
Cursor slows down over transform items
avidcoder replied to avidcoder's topic in TransformManager (Flash)
So I tried setting the cursor style using ExternalInterface but Flash seems to ignore the style. So the cursor style appears correct when you are outside of the Flash application but returns to the default style when the mouse goes over Flash... this is really unfortunate. I also tried attaching TransformManager.snapCursor() to the ENTER_FRAME event rather than MOUSE_MOVE. This fixes the slowness of the cursor but makes the cursor more "jumpy". Jack, maybe you could abstact the CustomCursor so that you could easily swap out the current implementation with the native cursor implementation without having to worry about maintaining multiple TransformManager code bases. For example TransformMananger could work with an ITransformCursor interface that both CustomCursor and NativeCustomCursor could implement. This would greatly improve an already awesome piece of software. -
Cursor slows down over transform items
avidcoder replied to avidcoder's topic in TransformManager (Flash)
The cursor speed has become a major concern in my current application (especially in Chrome). How about using ExternalInterface to change the cursor via CSS? For example: function setCrosshairCursor():void { ExternalInterface.call("eval", "document.body.style.cursor = 'move';"); } CSS Cursors: http://www.w3schools...lass_cursor.asp -
Sometimes the mouse cursor will slow down when moving it over a transform item. For example when I move my my mouse pointer over any other part of the app the pointer moves at 100% speed. Then when I move the mouse over a selected transform item and the move cursor appears the mouse sometimes slows as much as 50%. Unfortunately I can not create consistent steps to reproduce. Has anyone else experienced this issue or have an idea what could be causing the cursor to lag? I am using FlexTransformManager 1.9664. Thanks!
-
Selected item sticks to mouse after delete
avidcoder replied to avidcoder's topic in TransformManager (Flash)
On a tight schedule so I worked around this issue by creating a new TransformManager each time an item is selected and destroying it when an item is deleted via the trashcan. Ill try to post an update if I come back to this part of the code. -
Selected item sticks to mouse after delete
avidcoder replied to avidcoder's topic in TransformManager (Flash)
Thank you, that fixed the problem for the steps I provided but I am still experiencing my original issue. I will post back once I can create a simple set of steps to reproduce it. -
Hello, I have a trashcan in my application where the user can drag items to delete them. This revealed a bug in the TransformManager where if you have the mouse down when an item is removed the next item that is selected will stick to the mouse. Here are the steps to reproduce: 1) Add two items to a TransformManager have allowDelete=true 2) Select one of the items and hold the mouse button down. With the mouse button down press delete to delete the item. 3) Click the other item. Notice the item now sticks to the mouse. Notice these steps are slightly different than what I am doing but produce the same result. I am using FlexTransformManager 1.9663. Do you have any suggestions of how to work around this issue? Thanks in advance.
-
Hello I am trying to use the FlexTransformManager in a design creation application. In the app I have multiple layers of visual elements that I want to transform. These layers are children of a <s:Group> with an alpha mask. Example: Group with Alpha mask ->Layer (<s:Group>) --->VisualElement ->Layer --->VisualElement --->VisualElement ->Layer --->VisualElement The problem I am having is that I need the transform handles to appear above the mask but i need the visual elements to stay underneath. I noticed the limitation "All DisplayObjects that are managed by a particular TransformManager instance must have the same parent". So I could put a FlexTransformManager in each Layer but then the transform handles are masked. Any help would be greatly appreciated. Thanks in advance.