draw a line of nested MC to the other

I use the drawing API to draw a line from one MC nested within two levels of MCs relative to another similarly nested MC. Can someone tell me how to get the X, Y coordinates of the two points?

It's too much typing. If gp = grandparent, p = parent, c = child, use:

Tags: Adobe Animate

Similar Questions

  • Draw a line connecting two points in the WPF chart

    I'm trying to understand the best way to draw a line between two existing points on my graph in WPF.  At first, I thought I had it works fine; I just added another parcel to my graph then given exactly two points for rendering.  But I quickly noticed that the app has become surprisingly slow and CPU was quite high (adding other plots does not affect the use of the CPU as long as they have a complete set of points (?)).  He wants me if I looked at using the DataToScreen method on the chart but I can't know what the parameters are.  The second parameter is simply an IList that tells me a lot.  This seems to be the method I want to use for the coordinates of a point on the graph screen.

    No one knows what the second parameter is supposed to be for the DataToScreen method?  Everything I tried throws an Exception of Argument.

    Thank you
    Dan

    DataToScreenwill return a screen coordinate in the plot area of a chart of the value of the raw data horizontal and vertical in the given list. The parameter value is a IList for compatibility with other methods of graphical query such as FindNearestValue , return IList values containing raw data.

    A concrete example, say you had a graphical configuration with a wide horizontal axis ranging from 0 to 100 and a vertical axis double precision ranging from 10 to 20:


            
                
                
            
        

    To get the screen coordinates of the value at the center of the two axes, you can call:

    graph.DataToScreen(plot, new object[] { 50, 15.0 })

    Note that the raw data values corresponding to the type of axes (horizontal AxisInt32 returns the integer 50 and vertical AxisDouble Gets the value 15.0 ).

    You also mentioned a performance issue where "adding other plots does not affect the CPU so that they have a complete set of points". I did a simple test app that adds an array of two points of a chart on each key (for example graph.Data.Add(new[] { new Point(x1, y1), new Point(x2, y2) }); ), but could not reproduce the problem you saw. Could you share the code, you use to draw the connection line?

  • An unintentional combination reduces the display of 2/3 of the screen (NO F11) leaving the black line in a single tab (the other tabs are ok).

    Windows 7, Firefox 17.0

    Solved! Thanks Tyler

    Font size and zoom - increase the size of the web pages , try to reset the zoom to 100%

  • How to send data to a datagrid, when you click on a line on a label in the other State.

    I mean the Datagrid in state1, and state2 label

    I try with this code:

    protected function listDg_gridClickHandler(event:GridEvent):void

    {

    If (slistDg.selectedIndex == 0) {}

    lblid. Text = "My Text";

    currentState = 'State2 ';

    }

    }

    If the label is on the main State it displays the text, but if I use the label in the state2 it gives me an error:

    TypeError: Error #1009: cannot access a property or method of a null object reference.

    any help?

    I have fixed my car, just move the current state to the top and that's all!

    protected function listDg_gridClickHandler(event:GridEvent):void

    {

    currentState = 'State2 ';

    If (slistDg.selectedIndex == 0) {}

    lblid. Text = "My Text";

    It works!

  • How can I draw a line around the edge of a piece of property that I shot a video clip of 13 elements?

    How can I draw a line around the edge of a piece of real estate in a video clip with 13 elements?

    KING OF THE SKY

    First 13 items on what operating system? Have you updated 13 to 13.1 still using Help Menu/updates to date of an open project?

    Your question immediately... you could try something like this

    In this scenario, you start with your video on video 1 track with the Timeline indicator placed in the appropriate location of content timeline.

    The Titler line file created will be automatically placed at the position of the indicator in the timeline.

    Text Menu/New/default of titration / and select the Section forms.

    The Titler file goes to Video Track 2 above the video on the video 1 track.

    Select the line tool in the section shapes and draw your line on screen correspond to the where you want it to appear in the video below.

    Your image of the line is the line on transparent background where the content below shows through the transparent areas in this image of the line.

    Please consider. If any questions or need any clarification on the above, do not hesitate to ask.

    Thank you.

    RTA

  • How to draw a line on a pic

    CCan I draw a line on a photo in the photo app. ??

    No, but there are many annotation applications in the App Store. To start try Skitch.

    Almost all drawing applications allow you to set photos, then draw over them, too.

  • Why I can't access these three drawing annotations: cloud, polygon, draw connected lines

    Why I can't access these three drawing annotations: cloud, polygon, draw connected lines

    You probably touch the Active Mode. There is button on toolbar s where you can stop or use the following preference parameter:

    Tools > Preferences > General > Touch Mode > never

  • Reference to the other schema

    Hello

    I want to model the following situation in SQLD DM:
    -Diagram 2
    -1 schema, I define a view
    -of the other schema I want to refer to this point of view in a view

    Issues related to the:
    -Create each drawing as a drawing or a relational model in a drawing?
    -How can I refer to the other schema view in the query designer?

    SQLD DM version 3.3.0.734

    Thanks in advance,

    Joop

    Hi Joop,

    Create each drawing as a drawing or a relational model in a drawing?

    As a relationship in a drawing model.

    How can I refer to the other schema view in the query designer

    You have a set a display scheme that you create. If the objects used in the view definition belong to another scheme they are included with the schema name in a generated select statement. By default the objects in the same schema (such as the view) are not prefixed with schema name - if you want that the schema name to include, then check the box 'Schema to include in the query name' on the view dialog box.

    Philippe

  • Draw straight lines with Photoshop and the Wacom Tablet pen?

    Hello
    I was just wondering how to draw straight lines using pen Wacom Intuos and Photoshop. I was hoping there was an a little sovereign tool or something that will help you with it but can not understand. Thank you ahead for your help with this.

    Same as with a mouse. Click once on one end of the line the shift click on the other end of the line.

  • How to draw a line (with the line segment tool) then draw another line, from those previous anchor point. When I try immediately draw another line on the other anchor lines it try to turn instead.

    I'm following a course of basic fundamental illustrator on Lynda. The video of "draw straight lines" is troubling me. They draw a line with the line segment and then draw another line coming out the anchor point at an angle.

    Here's where it is troubling me - when I try to drag a line to the anchor point trying to transform the first line, I drew. (the line cursor turns into a selection tool) I can't draw another line connecting the first.

    Advice would be great because it's driving crazy me.

    See you soon,.
    Kyle

    Yes, it is irritating. You must clear the previous line first. If you want to make sure that both ends are perfectly aligned, start by turning on the guides. If you want two lines to be part of the same way, you should use the tool pen instead.

  • Hi - I am trying to draw an irregular shape (series of straight lines) and fill it with the color... How can I do this?

    I need to draw a shape irregular, closed, which is a series of joined lines and fill it with the color, etc., I can only see square, polygon, etc...

    Any suggestions?

    You can set the polygon tool to 3 sides, or use the pen tool.

  • When I use the brush or eraser, an O symbol appears next to my cursor and prevents me from drawing a line. Does anyone know a solution to this problem?

    When I use the tool brush or eraser, over every other shot, I get a sign O (circle with a line through it) next to the brush shape / cursor and can't shoot. Please help, this is very frustrating and disrupting my work flow! I paint each frame of the animation, so you can imagine, every other shot is quite often.
    There the layers locked below my active drawing layer, that makes me wonder if Flash is trying to tell me I can not shoot these layers, but I know that more I need these layers there to guide the design of my active layer. I have encountered this problem before with layers being locked and these. What Miss me?

    Any idea is appreciated.

    Thank you!

    I just realized my problem!
    Sorry, it is partially due to my impatience; I get the "illegal sign" when I press a shortcut key to switch from one tool to the other and try to make a stroke when the tool has not finished "switching". So I'm going to press my button "e" with the intention to switch to Eraser tool and I will immediately draw a line, but recently, I noticed that the toolbar did not brush Eraser still at the point where I was drawing.
    So I'll check why my computer is so slow, or I'll try to be a little more patient, or both
    Thank you for your time!

  • Draw 2 lines in a graph

    Is it possible to draw two lines in a single chart using Grapher? If so, how? If no, then how I can draw two lines or more?

    Yes, click on the sign in lower left to add another equation.

  • Using custom control: draw a line and output start and end points

    I'm looking to find or make a custom control (or simple Subvi), which appears as a grid of 100 x 100 unit and allow me to draw a line from one point to another on this grid. It will then display (x, y) of departure and the point of this line on the grid.  Any help or ideas?

    Thank you

    Steve

    LabVIEW 2009 SP1

    You want essentially is a loop with an event structure when you process mouse down, move and up to events for the controls. There are several ways to implement something like that, but it will be probably the simplest:

    1. Use a table or a listbox multicolumn for your grid. Hide scrollbars and headers.
    2. You can use the ActiveCell property to-2, - 2 to select all cells. You can then use the cell size property to define the exact size of the cell.
    3. Then you put a picture on the top of the table control and color its transparent background so that the table shows through. Property node allows you to ensure that both line up on exactly the same location and size.
    4. You use the mouse on the image control events to detect clicks and moves.
    5. Point of the table to the method of the column line allows you to translate the position data of the event to a cell.
    6. You use the image control screws to draw the line on the photo based on these data.
    7. You can even color the cells selected in the table by using the table properties.

    If you want to simplify things a bit, you can also use the event of timeout instead of moving the mouse event to draw the line, but then you keep the timeout value in a shift register and hand it to-1 (no timeout) when the mouse event to the top.

    I would also say treatment mouse enter and leave events to change the cursor and cancellation if the user leaves in the middle of drag.

  • I want to draw a line between 2 specific points on an image inserted in a Panel? Help, please!

    I am a beginner in working with LabWindows/CVI and I want to draw a line between 2 specific points on an image inserted in a Panel? Please help or examples of code.

    As evidenced by the Wolfgang there is a problem in the definition of recall. InstallCtrlCallback wants a reminder of the standard of review as a parameter: apparently you have structured your reminder callbackName on the prototype of a recall of Panel, which obviously missing the setting "control".

    In addition, the recall of control should be said somewhere before it can be used. In other words, you must add his statement before your function {main}, either in one of your include files, or directly in the code. This is the reason for the error 'found int, whereas CtrlCallbackPtr. '

    Third point: you create a new picture control in the callback assigned to the image control. And you reuse variable 'Test', which already holds a valid control ID...

    Finally: what you expect to make from '1' in callbackData parameter, given that you do not use anyway? Unless you want to adapt the behavior of recall some past in callbackData conditions, you must pass NULL as the parameter.

Maybe you are looking for