Jump to content
Search Community

Boris

Members
  • Posts

    14
  • Joined

  • Last visited

Posts posted by Boris

  1. fixed that issue in TransformManager.as:

     

    /** @private **/
    	private static function onKeyPress($e:KeyboardEvent):void {
               //DISABLE Alt Gr Keyboard-Input
    		if ($e.keyCode == 17 || $e.keyCode == 18)
    		{
    			return;
    		}
    
    		_keysDown[$e.keyCode] = true;
               if ($e.keyCode == Keyboard.DELETE || $e.keyCode == Keyboard.BACKSPACE) {
               	_keyDispatcher.dispatchEvent(new KeyboardEvent("pressDelete"));
               } else if ($e.keyCode == Keyboard.SHIFT || $e.keyCode == Keyboard.CONTROL) {
               	_keyDispatcher.dispatchEvent(new KeyboardEvent("pressMultiSelectKey"));
               } else if($e.keyCode == Keyboard.UP || $e.keyCode == Keyboard.DOWN || $e.keyCode == Keyboard.LEFT || $e.keyCode == Keyboard.RIGHT) {
           		var kbe:KeyboardEvent = new KeyboardEvent("pressArrowKey", true, false, $e.charCode, $e.keyCode, $e.keyLocation, $e.ctrlKey, $e.altKey, $e.shiftKey);
           		_keyDispatcher.dispatchEvent(kbe);
               }
           }
    

  2. Hi,

    i have two Items in my Flex-TransformManager, one in the front and one behind the first. When now select the one in the back and i run in loop through the FlexTramsformManager the elements switched the depth without calling the moveSelectionDepthUp()- Method. When i select the item in front, it switches again.

     

    Is that a bug or a feature?

     

    EDIT//

    offcourse forceSelectionToFront is set to false

  3. Hi Transformers,

    i 'm working on a design-application, where the user has the oppotunity to add formatted text to the FlexTransformer. But how can i prevent the extra space that is rendered inside the Text Control, when the user is scale up the Text-Control.I need the exact x and y values because the whole canvas will be exported to an svg-file. I attached a screenschot with my issue.screen_text.jpg

  4. Hi,

    when i rotate one of the objects managed by the Flex Transformmanager, they alter the width between each function call. If you try something like this

     

    
    private function onUpdateTransform(e:TransformEvent):void 
    {
    _optionsBox.resetDeleteButton(e.items[0].width);
          trace(e.items[0].width)			
    }
    

     

    you will recognize, that the value alters, but i only rotate it, nothing more. When i scale or move the item, the width will not alters. I'm confused

     

    Best, Boris

  5. Hi Together,

    i want to build a small optionsbox besides the selected Transform Item and i like to position it always at the upper left corner - But when i position the box with the x and y values from the selected item and i rotate the item the position from the options box moves in strange way - So how can i force my box to follow the upper left corner?

×
×
  • Create New...