Jump to content
Search Community

sugarfree

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by sugarfree

  1. My 2c. Although i also was unable to reproduce the results, i have had something similar (which might be related). If the object is scaled by code (not TransformManager), and is not updated (i.e _manager.updateSelection()), then the handles get out of step. Perhaps the effect of rotation and rounding (i.e really small numbers, rounded over and over) makes it get out of sync marginally enough to be able to see the problem? -C
  2. Hi Bull, Thanks for the info. In the end, i gave up this path and decided to split the background clip from the text clip(which i place above the background). I now listen for changes in scale/position etc of the background clip and then move the text movieclip (i.e x,y) to follow the background. Its a bit of a hack, loads more listeners and code, but oh well....
  3. Hi All, With lockPosition set to true (along with lockRotation) and a few others, the handles at the right (center) and bottom(centre/right) behave as expected. However, the handles at the top and left are still active. i.e using them you can change the height and width (as thou lockPosition was false). This means that the objects x,y co-ordinates have now changed... Is there some way to stop this happening?
  4. Hi Jack, Just wondering if there is a odd behaviour with constrainScale. private var _manager:TransformManager = new TransformManager({ lockRotation:false, bounds:new Rectangle(5, 5, 645, 361), forceSelectionToFront:false, allowDelete:true, autoDeselect:true, handleSize:4, allowMultiSelect:false, ignoreEvents:true} ); var item:TransformItem = _manager.addItem(icon); item.constrainScale = true; var item:TransformItem = _manager.addItem(test); item.constrainScale = false; // both icon and test behave as expected. But change TransformManager to this: private var _manager:TransformManager = new TransformManager({ constrainScale:true ......}); // and test doesn't behave as expected. i.e its constrainScale behaves as though its true (even though set to false). Should this be the expect results? PS: Interestingly, when its false, icon and test behave as expected i.e private var _manager:TransformManager = new TransformManager({ constrainScale:false ......}); False cant override true, but true can override false. (odd) -Cheers C
  5. Hi all, Imagine you had a movieclip (lets call it mc) which has 3 other movieclips contained within it (lets call them AA, BB and CC). Is it possible to transform the movieclip (mc), where CC changes, but AA and BB remain at their original size/scale. For example, CC could be a background shape, whereas AA and BB are text fields within their own movieclips. Essentially, i want the shape to scale but leave the text alone. Is that possible?
×
×
  • Create New...