How to use the registration centres to stretch and run properly a MovieClip

_trest.jpg

Is the type of an explanation of what I'm trying to do.

I have 2 known points, a slope angle that I want to turn and the hypotenuse.

I spent at least an hour to try different things and Google search.

Any idea on what I should do? Currently a bit setting the greater width and then using .rotation.

Thank you.

use a reg top center point.  assign your circle x, match the top point x y.  then assign the width and the height to the distance between the two points and finally its rotation to the atan2 between two points of the circle:

circle_mc.x = p1.x;

circle_mc.y = p1.y;

circle_mc. Width = circle_mc.height = Math.sqrt ((p2.y-p1.y) *(p2.y-p1.y) +(p2.x-p1.x) *(p2.x-p1.x));

circle_mc. Rotation = - 90 + 180 * Math.atan2 (p2.y - p1.y, p2.x - p1.x) Math.PI;

Tags: Adobe Animate

Similar Questions

  • How to use the type of packages, procedures and functions in another schema?

    I have two schema target in an OWB project, such as A and b. In a map of A, I would use some packet types, functions and procedures of B. I tried the method of the suggested such synonym, but I couldn't find the metadata of these when importing... The only type of synonym I can import is the synonym for the table. Y at - it a bug for synonym?

    If I can't use a synonym for that matter, is there another way to solve the problem?

    Now, in some cases you will absolutely need to create the second module as Carsten described, but it should also be noted that you can reference objects in things like Expressions even if you have not loaded the metadata. It's only when you need strong bonding that it becomes necessary to import objects. For everything else, as long as the reference can solve during the compilation so you are good to go.

    For example, I target a function in a schema (S1) and a synonym private that it in another (s2). A mapping of the S2 schema has an expression object that uses the synonym of the function in the expression property for a couple of the attirbutes of output. The synonym has not been loaded in metadata - OWB has indeed no knowledge of its existence. But she is resolved at compile time if the mapping validates and generates successfully.

    Mike

  • How to use the my serial key download and install CS5.5 Design Standard Suite on a new computer?

    I have my serial number Creative Suite Standard CS5.5 my father bought me and installed on my old iMac 4 years ago. I just got a new Macbook and I would like to download the design suite on it. I don't have the serial number, but I don't have Adobe account information my father. I'll be able to install it on the new computer without his account information (whether it was bought with) if I have the serial number? How can I download and install the Creative Suite CS5.5?

    Bonus question: I just want to design more for Illustrator and InDesign, as I already have Photoshop CC on my new computer. Is there anyway to choose which downloaded programs, or will I have to download all of them and then remove Photoshop afterwards?

    Download CS5.5 products

    Mylenium

  • How to use the text space reserved Point of insertion properly?

    My problem is double here, and there may be a response that connects these two problems...

    1. when I add a text field on stage and do a right click on this text field, I can't add a Point of Insertion in order to display the placeholder text

    2. when I add a subform on stage, I can then add a Point of Insertion in the subform, but when I Preview in PDF or save this document in PDF format and click on the text in support of place that it does not go far.  She stayed there.


    What Miss me to have placeholder text disappear once a user clicks on it?


    Thank you

    I discovered that my concern was not with the insertion points, but with putting shaped on a text field in the object Panel.  Now I can display placeholder text, which will then disappear once typed by the user in the field.

  • How to prune the spaces in a field and run with lov query

    Hello

    I have a customized OPS page and one of the field's element is of type message entered lov. When the user enters the values for this field lov will validate and it will survey exception if the invalid value is entered in the field.

    Suppose that lov is to have values like 100,200,300,400,500.

    Suppose that user enters the value 100 with spaces for towing, so I want to trim left and right and validate the value after all ready for the values of lov. How can we approach for the same thing?

    Concerning

    Sree

    Hi Mary,

    Using formValue for the validation of the LOV? If Yes, then I guess that's the problem.

    If not, try setting the property to disable the LOV Validation point. This will disable your LOV validation. But in turn, you can check that your trim code works correctly. Recursive debug from here to share your results.

    Kind regards

    Zahid

  • With no headphone jack, how to use the iPhone in my car 7

    Okay, so here's the challenge.  I have a power source and a headphone and not Bluetooth.  It works perfectly with iPhones before 7.  But with 7, it isn't possible to use the same configuration I had for years.  I own my car, and I have no interest in buying a new car just to support a new phone.  And since this will be a problem for the years to come if I stay with Apple, I would like to know what are the solutions are available.

    So, how to use the new iPhone 7 while remaining responsible and using my car speakers?  Dongles Bluetooth that I need to reload, it's probably not.

    Thus, looking for ideas that might have people.  I can't be the only one with this concern.

    It's almost a certainty that a third party adapter will appear quickly. The new Macbook has a single port usb - c and people asked the same question, 'how to load and use USB at the same time." There are today dozens of solutions for the Macbook, and then it will be with the iPhone 7. An adapter with a 3.5 mm jack and a port of loading Lightening would be my guess. Kickstarter entrepreneurs are probably already working on it.

  • How to use the capture and the print button

    I tried to figure out how to use the capture and the "print" button, or add or what you call. I press it and the whole page of a different color changes, so I try to cut the section I want but I don't know how to send it to the printer. Can someone help me with this. I'm not at savvy with tech stuff, but when I find a recipe or something and it doesn't have an option to print a certain area, I can't understand how to use it?

    Thank you

    Andi Starbuck

    That happens to me is, I click and drag to make a rectangle of yellow selection, and as soon as I raise my finger on the mouse button, the part I've selected is captured as an image, a new tab opens and preview before printing, the image display. I can use the installation of the Page or simply print. But if I close the preview, this temporary image vanishes and I'm back on the page where I started. You see something different?

  • How to use the 2nd hard drive internal for storage?

    Hi, I am a newbie in all of this. I would use the 2nd internal hard drive of our mac mini server (end 2012) for storage (in fact, I'll things rsync from a remote server to here. but this is not the point here.). The thing is, I don't know how to access the 2nd internal hard drive and where to start. I did all of the following commands in the Terminal, but I don't really know what they mean, and what can I do with this information. I've been Googling but most are guides on how to install a 2nd hard drive etc. I hope that the information below is enough for someone to give me advice please?

    Thank you!

    That shows disk utility?

  • How to use the activity monitor to remove MegaBAckup on my mAc Book PRO?

    How to use the activity monitor to remove MegaBAckup on my mAc Book PRO?

    Download and run MalwareBytes. Malwarebytes was developed by one of our colleagues here to ASC. He received rave reviews and is on the more proven anti-malware for Mac software.

  • How to use the utility disk first aid for hard drive internal el captian

    How to use the utility disk first aid for hard drive internal el captian

    Select the drive and click first aid.

    If something is not repairable because this is the system drive, then you need to start using the recovery partition and run disk utility it.

  • How to use the Print Screen function?

    I've seen various descriptions of how to use the print screen function.

    It would be nice to actually tell one that works.  None have worked for me.

    [Fn] and Prt SCr does not work.

    CTRL and Prt SCr does not work.

    CTRL, Alt, and Prt SCr does not work.

    [Fn], Ctrl and Prt SCr does not work.

    If anyone knows the correct method to activate the screen capture function which would be a good thing.

    From the looks of things, HP has a big problem with this function.

    Here's a microsoft articleon the use of the screenshot function.

    This should answer your questions.

    Thanks for taking a peek.

  • How to use the acronym

    How to use the acronym instead of this?

    Please explain

  • How to use the adapter from the wall with my Mac Pro laptop?

    How to use the adapter from the wall with my Mac Pro laptop?

    The AC wall connector is not compatible with the outlet on the MBP?  As the MBP charger will work from 100v to 240v, a transformer is necessary.  You need a converter that connects to the power outlet home and is compatible with your MBP.  You can buy the Apple travel kit:

    http://www.Apple.com/shop/product/MD837AM/A/Apple-world-travel-adapter-Kit

    Or you can use a single specific converter for the geographical area:

    http://www.Amazon.com/orei-grounded-universal-adapter-Singapore/DP/B004SCSV2U/re f = sr_1_4? ie = UTF8 & qid = 1460735377 & sr = 8-4 & keywords = us + in + uk + power + adapter

    (it is a UK USA example)

    Or you can get the converter that adapts the charger directly:

    http://www.Amazon.com/HIOTECH%C2%AE-extension-charger-connecting-specification/d p/B00MA48JZW/ref = sr_1_3? ie = UTF8 & qid = 1460735486 & sr = 8-3 & keywords = us + in + uk + power + ad aptor + apple + charger + cord

    (again, this is for a UK plug.)

    Ciao.

  • SOLUTION - How to use the remote on the Satellite X 200 with Win7 64 bit

    Here is the description how to use the remote control on the Satellite X 200-2 b with Windows 7 64 bit.

    Thanks for the link.

    It will be fine if some owner of Satellite X 200 can confirm.

  • How to use the software keyboard Toshiba 50L9450VE TV?

    I just bought a LED TV model 50L9450VE. When installing, I need to enter the password for the wifi network. The remote doesn't have a keyboard of the letter, and the TV shows a soft keyboard to enter the password. How to use the software keyboard? I can't figure out how to get the cursor in it; the manual does not say, and I can't find the information online. Thank you.

    Hershel

    Suppose you are from Israel? Although this model is not made for the EU market, but probably for the Asian market, it looks like the European L93 series.
    You will find how to operate the software keyboard (page 52): http://www.toshiba-om.net/pdf/manual...h-Specific.pdf

Maybe you are looking for