Resize the object

Hello

I had the problem when resiz video clip. This some info hope someone can help me.
On the screen of the clip I put the name as "DisplayResult', width = 200, height = 50, x = 100 and y = 1000.

When some button click, DisplayResult having to resize in width = 400, height = 100, he succcess... but the x and y he run of I can already try use script for fixed x and y... it always works. I want the clip on the same position.

Each button I click the size will be 2 of the original x. This my code, is the x, y?

_root. DisplayResult.width = _root. DisplayResult.width * 2
_root. DisplayResult.height = _root. DisplayResult.Height * 2
_root. DisplayResult._x = 100
_root. DisplayResult._y = 1000

can someone tell me what problem happen?

Thank you speding time on my problem.

Kind regards
MC

Hi all

Thank you for spending time on my problem, the problem I already fix. The x, y on screen different when the script.

Kind regards
MC

Tags: Adobe Animate

Similar Questions

  • Positioned on a Macbook Pro, the handles to resize the objects are missing?

    Positioned on a Macbook Pro, the handles to resize the objects are missing?

    With the move tool selected, you have to display controls to turn checked in the options toolbar?

  • How to resize the object + text lighting

    Hello

    1 lately, I can't resize an object.

    The surrounding border of the object is with filled rectanglers and

    not with rectangler hollow. So, I can't resize objects - how can I solve this problem?

    2. when I try to mark the text, there score perfectly but I do not see the location eventhough I choose what he.

    How can I mark the text and display the marked text (marked selected text)

    Kind regards

    Koko Fiko

    Koko Fiko,

    You can open the view drop-down list and check out the edges and Bounding Box (both must hide, indicating the possible action, implying that are displayed).

    According the description I'm not sure who can apply.

  • Resize the object inside the tab control

    Hello

    I have problems with the design of a user interface. I need to have multiple controls resize with panel inside a tab control.

    I see it right, there is no way to have a resize done inside a tab with decorations control that separates controls?

    I have not yet checked LabVIEW 2013.

    I have attached a vi in LV2012 as an example.

    Thanks in advance.

    Yes it is a feature I've wanted also over the years.  Here's the first result that I got from the exchange of idea, but I think that there are duplicates autour.

    http://forums.NI.com/T5/LabVIEW-idea-exchange/ability-to-fit-scale-object-within-tab-control-page/ID...

    Basically, you can't do nativly but you can trick it work for you.  You make a tab that is false the user interacts with, changes to the value of another tab that things in it and then you fix every thing you want it is in the tab where it is demonstrated.  This works well if the thing in your tab is an element able to evolve to adapt to it, but if in a tab, you have a chart and another you have a bunch of buttons that should not change, then you will get a strange behavior.  You can tell the chart is more scope to this component, but then you lose the 'ladder while resizing objects' that make a lot more native user interface research.

  • I can't resize any object inside a tab control and control of the tab itself

    Hi all

    Since this morning I noticed that I can't always resize the object placed inside a tab control or the control tab itself.

    I have a few objects (controls, indicators, etc.) outside of the tab control, and they are resizable (I can see the dark blue squares and I am able to adjust the object); Instead, any object inside the tab control is still not resizable (when I select the dark blue boxes are not visible and I can't access the properties of the object by clicking with the right button of the mouse over it). If I have access to the properties of the object to the block diagram, the appearance of her-> frame size is gray and I can't change the size fields.

    It seems that something was changed when I try to adjust the minimum window size and appearance of windows in the proposals of VI, but I restore the previous values...

    How can I solve this problem?

    Sure, tab control is not locked.

    If the tab control is locked that resize is not possible

    Lucast85 wrote:

    Hi all

    Since this morning I noticed that I can't always resize the object placed inside a tab control or the control tab itself.

    I have a few objects (controls, indicators, etc.) outside of the tab control, and they are resizable (I can see the dark blue squares and I am able to adjust the object); Instead, any object inside the tab control is still not resizable (when I select the dark blue boxes are not visible and I can't access the properties of the object by clicking with the right button of the mouse over it). If I have access to the properties of the object to the block diagram, the appearance of her-> frame size is gray and I can't change the size fields.

    It seems that something was changed when I try to adjust the minimum window size and appearance of windows in the proposals of VI, but I restore the previous values...

    How can I solve this problem?

  • Resize an object: ALT + CMD + SHIFT does more work in CC15 mac?

    Hello

    Before, in CC14, when I wanted to resize an object or a group of objects by keeping its proportions, I simply used the keys CMD + ALT + SHIFT while I resize the object with one of their corner. (with my mouse)...

    Now, I've just updated to CC15 and this function no longer works?

    I have to configure something in preferences to retrieve this basic function?

    Thx for your help! I lose a lot of time without this basic function...

    It is almost always caused by third-party software that you are running. A common problem are extensions of browser that are striking strikes. Restart your computer and run InDesign before any other program, and it will probably work fine.

    If it does not create a new user on your computer and run InDesign from the new user.

  • How to resize an object and show on stage

    Im trying to resize a simple object according to what dimensions I set, but it does not work.

    so now the stageHeight and width is 600 x 600 and it still does not work.

    And how do I resize the object immediately when the SFW load (so early, it will be 3 times bigger)

    I have a MainClass with this code

                            public var  rescaleRatio:Number = 1;
                        public var _element1:CreateRow_Col
    
                        public function MainClass_Test() {
                        addEventListener(Event.ADDED, init);
                        _element1 = new CreateRow_Col(rescaleRatio)
                        addChild(_element1)
                        }
    
                        public function init(e:Event):void{
                                   stage.scaleMode = StageScaleMode.NO_SCALE;
                                     stage.align = StageAlign.TOP_LEFT;
                                     stage.addEventListener(Event.RESIZE, setUpScreen);
                        }
    
    
                        public function setUpScreen(ev:Event):void{
                                  stage.removeEventListener(Event.RESIZE, setUpScreen);
                                  if(stage.stageHeight > 500){  
                                            rescaleRatio = 3;  
                                  }else 
                                            rescaleRatio = 5;  
    
                        }
    
    

    and the CreateRow_Col class has this

    public class CreateRow_Col extends Sprite {
    
                        public var theAppliedScale:Number;
                        public var myObject:BG = new BG()
    
                        public function CreateRow_Col(reScalling:Number) {
                                  theAppliedScale = reScalling;
                                  addEventListener(Event.ADDED_TO_STAGE, zzz);
                        }
    
    
                        private function zzz(e:Event):void {
                                  removeEventListener(Event.ADDED_TO_STAGE, zzz);
                                  myObject.scaleX = myObject.scaleY = theAppliedScale
                                  addChild(myObject)
                        }
    

    Copy the following code and paste it into your document class:

    package {}

    import flash.display.MovieClip;

    import flash.events.Event;

    SerializableAttribute public class MainClass_Test extends MovieClip {}

                            public var  rescaleRatio:Number = 1;
                        public var _element1:CreateRow_Col

    public function MainClass_Test() {
                        addEventListener(Event.ADDED, init);
                     
                        }

    public function init(e:Event):void{
                                   stage.scaleMode = StageScaleMode.NO_SCALE;
                                     stage.align = StageAlign.TOP_LEFT;
                                     stage.addEventListener(Event.RESIZE, setUpScreen);
    setUpScreen(null);
                         }

    public function setUpScreen(ev:Event):void{
                                  if(stage.stageHeight > 500){ 
                                            rescaleRatio = 3; 
                                  }else
                                            rescaleRatio = 5;

    }

     if(!_element1){ _element1 = new CreateRow_Col(rescaleRatio);                    addChild(_element1)} else {_element1.zzz(null);  //<-make zzz() public in your other class.}
    

    }

    }

    }

  • any way to lock the scale of a model (not dependent on the size of the object)?

    I know about the scale dialog box and the mode of scaling and object independently, but what I would really is a way to block a model to stay the same size and shape compared to any size becomes the object, to which it is applied throughout the document.  From now on, it's hard enough to do what I say... constantly bother with issues of scale in the scale dialog box.  But what happens if you have two objects and you want them to have the same model, same size etc even if their size and move them?  Think if you are mapping and you as "swamp" or "thick granite" symbol and you want the marsh plants few stay the same size easily. It is possible now, but certainly not easy I can tell. 'Traits and effects scaling' option in preferences does not affect employers, is basically down to resize the object and then guess what percentage to keep the model. And I really don't want to do up the dialog scale up just because I want to make one of my larger items and don't want to come into conflict with the other grounds in the same way. Or maybe I'm not using the right program...

    all advice?

    Few things that comes to my mind - disable the motif size change in preferences. The select the object that has this model of fill and click twice on the shade of reason. This would reset the fill of the model in its default size. If you find that too big or small, rework on the shade of reason to get the right size. And next time, when you use the scale dialog box, make sure that you do not have "Patterns" checked.

    To change the position of tile in the fillings - select the object, press the tilde (~) key and using the Selection tool is trying to move the object slightly. Experiment a little.

    If that doesn't help - thanks for posting a snapshot.

    See you soon!

  • I can't resize the frame proportionally and object set and I can not drag and copy objects.

    Hello

    more than an hour on these problems:

    (1) I can't just drag and copy an object more

    (2) I can't resize an object and its setting selecting just. I can resize the frame only (not proportionally, however, doesn't matter the number of keys that I use!). Not the object it contains.

    I work with INDESIGN CC 2015 latest version (I've just updated) and on MAC OSX Yosemite 10.10.5

    I regret the money I spend each month to pay for these programs.
    Whenever I update them I have 1000 problems.

    I don't know even how to replace the preferences that I don't know what I should replace. And sorry if I sound stupid, but when you have to deal with a stupid task is what is happening. I refuse to understand.

    Honestly, this is such a stupid problem, and it should not exist on a first place. BAD BAD BAD ADOBE!

    Chiara

    Hello

    two days after, and a new update, it was back again.

    I think they were all preferences.

    @Rob: I used command-Shift and it always works when the black Selection tool is active. By selecting and dragging to create a copy of the object.

    It was just strange and frustrating.
    Thank you for your answer!
    Chiara

  • How to resize an object and also to mitigate the effects (transparencySettings)?

    I want to to scale an object through script but also effects nationwide, currently my resizing does not only. My effects are TransparencySetting: drop shadow, inner glow, outer glow.

    For example using the following does not work:

    pdf.resize(CoordinateSpaces.innerCoordinates, AnchorPoint.topLeftAnchor, ResizeMethods.multiplyingCurrentDimensionsBy, [pointSizeScale, pointSizeScale]);
    
    

    I have to resize the effects that I have at hand for example:

    thisObj.transparencySettings.dropShadowSettings.xOffset = dSXYOffset*pointSizeScale;
    thisObj.transparencySettings.dropShadowSettings.yOffset = dSXYOffset*pointSizeScale;
    thisObj.transparencySettings.dropShadowSettings.size = dsSize*pointSizeScale;
    

    Thanks in advance!

    I think that by using a transformation matrix will solve your problem (pdf.transform (.))

  • Resize the artboard to contain the object in Illustrator CC 2015

    In the past I could easily resize my work plan to fit the dimensions of my art simply by double-clicking the object desired by using the tool of work plan. After the upgrade to 2015 CC, I was sad to find that this feature has been removed. Anyone know if there is a workaround or how I could easily do this without manually adjust the work plan? Like so many things, I notice in CC 2015, this change of bugs completely.

    Thank you!

    Jessica, other,

    Just to make sure, what happens if you disable the GPU performance by clicking on the icon of the rocket in the App bar and deselect the box Performance GPU?

  • Opens a file someone else you want to resize an object, it is larger that the artboard, how can I get rid of the artboard

    Opens a file someone else you want to resize an object, it is larger that the artboard, how can I get rid of the artboard

    Marvin,

    You can view > hide the work plan, but why not just put to adapt to what you want?

    You can do this in the file > format Document, or with the tool of workplan according to version.

  • Illustrator does not resize / move item to a given pixel, return to position size / previous. And also when resize, reduce some element complex, it completely distorts the object.

    Hi guys. I'll have much declined of disorders I've done the last Illustrator update (17.) on my PC. Sometimes works, sometimes not. I think that it is a software bug.

    When I try to resize or move a shape or other element to a given pixel, he returned to the size or the previous position. It won't let me change if a pixel more or less than my desired. I took twice as much time to finish the work, make cuts.

    Moreover, when I resize an objetc, a logo for example, which consists of several elements for a smaller size, the object is completely undetermined. It does not keep the unit and the initial spacing between the elements.

    EXAMPLE 2_1.jpg

    EXAMPLE 2_2.jpg

    Actually,.

    In such cases, the first assumption is aligned to the pixel grid.

    You can select the entire document and untick finally align on the pixel grid in the Transform palette and uncheck also align new objects to the pixel grid in the options of the Launcher.

    You can avoid the types of documents with the default (RGB for the web and other) or change the default value for such documents.

    Apart from this, it may be time to move to an updated version or CC2014 (18.1.1).

    Using the CC Office management application, we can go to the gear icon at the top right and go from there.

  • Resize the selected objects

    OK, so I'm trying to write a script that resizes the selected object. I have two selected objects, the above is an element, it is a rectangle. I'm trying to resize the rectangle the size of the group above it with a small margin around element. Here's what I have so far.

    var design = app.activeDocument.selection [0];


    var top = design.visibleBounds [1] + 5 * 2;

    left is design.visibleBounds [0 var]-5 * 2;.

    var width = design.visibleBounds [2] - design.visibleBounds [0] + 10 * 2;

    var height = design.visibleBounds [1] design.visibleBounds [3] + 10 * 2;

    var background = app.activeDocument.selection [1];

    Background.position = (left, top, width, height);

    The problem is the last line there. I do not know how to manipulate the size/position of the selected object, or if it is still possible I searched for it and haven not found an answer. Thanks in advance!

    position property expects an array with x and y values, in that order. In regard to the properties width and height, use them in separate statements

    background.position = [left, top];
    background.width = width;
    background.height = height;
    
  • How to resize all the objects on a stage

    Hello

    I use Flash CS4 and need to resize my Flash scene and all the objects that are there.

    To do this, I enabled the onion skin tool, selected all the objects and all the frames and resized using the Transform tool.

    However, masks and some paths are not set to scale proportionately. Is it yet another bug in CS4?

    Here is a video illustrating the issue: http://screencast.com/t/ZThiNDdkZ

    Any help would be much appreciated.

    Maybe you can try this way...

    Select the layer in the timeline. cut it. Create a new movieclip by pressing Ctrl + F8. Paste the layers.

    out to the main timeline.

    Drag the movieclip that is created in the timeline where ever it is necessary and he adapts accordingly.

Maybe you are looking for

  • I'm trying to download contact via iCloud but this isn't the case

    Hi all I'm trying to download the contacts to my pc via icloud. but nothing happens. After you have selected all the contacts, when I type "Export vCard" option nothing happens. My configrations system are OS: Window 10 Browser: Chrome/Edge/IE

  • How to stop to be undeliverable mail sent 30 days ago?

    CANCELLED - PROBLEM FOUND A month ago, I sent an email to a friend who, unbeknownst to me, removed his email address. Since then, I get a notice of undeliverable e-mail in this respect every day or almost. How can I stop this notice? The original e-m

  • BSOD lvl4-disp display driver

    Windows XP BSOD with drive to display lvl4 - Aff... device driver got stuck in an infinte loop... problem w/device or driver programming.  I downloadedupdate Dell drivers, but continue to spread this message.  Any ideas other than reinstall XP would

  • Stops randomly v3 - 771 g Acer Aspire

    I bought the Acer Aspire v3 - 771 G. I had no problem with him, but lately it stops at random without any warning, as a power failure. I checked the CPU time and overheating is not the problem. The computer is on a Targus cooling pad and it dosen't g

  • Running Win Vista Business 32-bit SP2: how to configure it to use Yahoo to IE8 rather than Windows Live mail webmail?

    I was not able to find all the options that allow me to associate IE8 of Yahoo Web Mail, such as when a web site tries to invoke the windows associated with e-mail client to send an email, it opens Yahoo mail. I was able to get to the point where he