Line with endpoints following tracked points

I have a video with two points that have been motion tracked.
I want to create a line connecting these two points, with the endpoints of the line moving to match the tracked points as they move.
Is there an easy way to do this?

The usual suspects have an excellent tutorial for that:
http://youtu.be/Kaj969r7t9I
MacBreak Studio: Episode 238 - Tracking Points in Motion
The tut is about three points, but I'm sure, it works with two too....

Similar Messages

  • CS6 - Can't draw multiple lines with the same starting point consecutively without an extended pause between strokes. Ruins hatching and writing certain letters ("i" "E" etc.). Is this a normal limitation of flash?

    Question is in the title. I animate in a traditional style (frame-by-frame) and draw a lot. When I animated in photoshop, the only annoyance was that the interface was terrible in terms of animation flexibility, but performed so much better in terms of actually drawing the frames. I invested in flash because I've heard that it really speeds up the animation workflow, but I'm getting quite irritated by this bug. I never read about it in reviews, and it's not something that I've gotten results for by googling, so I'd really like to know. Is this a normal issue in flash? Or is this something that I can fix?  I've been trying to deal with it for a few weeks now but it's reaching a point where I just can't tolerate it anymore. I know I'm posting this in the CC community but I'd really really appreciate it if someone had a fix for this that I wasn't aware of, because otherwise I've wasted a lot of money.

    Question is in the title. I animate in a traditional style (frame-by-frame) and draw a lot. When I animated in photoshop, the only annoyance was that the interface was terrible in terms of animation flexibility, but performed so much better in terms of actually drawing the frames. I invested in flash because I've heard that it really speeds up the animation workflow, but I'm getting quite irritated by this bug. I never read about it in reviews, and it's not something that I've gotten results for by googling, so I'd really like to know. Is this a normal issue in flash? Or is this something that I can fix?  I've been trying to deal with it for a few weeks now but it's reaching a point where I just can't tolerate it anymore. I know I'm posting this in the CC community but I'd really really appreciate it if someone had a fix for this that I wasn't aware of, because otherwise I've wasted a lot of money.

  • Invoking Forms 6i application from command line with parameters

    Hi,
    I have a java application that requires to start up and execute an existing Forms 6i application.
    I am not a java person, and I could not find any help regarding this. If anyone knows how to execute an fmx(6i) from within a java application, then please let me know. The java application has to pass in parameters so that the the Forms application opens up with the correct data.
    One alternative suggested was that the java application execute a command line invocation of the Forms application. I am looking for the correct and complete syntax to do this. The fmx can be invoked from the command line with the following entered at the dos prompt -
    c:\>OraFrm6i\Bin\ifrun60.exe<module name> <userid/password@db>. This works fine and the Forms application is executed.
    The requirement is to pass a couple of user defined parameters to the Forms application which can be used by it to query the database and display the correct information when it opens.
    Any help on this would be greately appreciated.
    Thanks
    Shailesh

    Shailesh,
    Create a parameter in your form - eg. COUNTRY_CODE and add any startup code.
    Then add the parameter to your command line (or put it in a *.bat file)
    c:\>OraFrm6i\Bin\ifrun60.exe<module name> <userid/password@db> country_code=UK
    JR

  • Use Track Points with multiple objects

    I am trying to use the behaviour 'Track Points' to move the circles on the right with the glove, yes it might not look like it but that is a glove. The text and lines on the left are all static.
    I have figured out how to move the right end of the "horisontal" line so that it does what I want (using 'Analyze Motion'). But how do I get the two circles and the end of the line to move as one? There is no pathfinder and 'Track Points' wont apply to a group.
    I should probably point out that I am a complete noob with only a couple of hours on 'Motion 5'.
    Thanks in advance!

    To the circle(s) add a Behaviors > Motion Tracking > Match Move. Drag the Analyze Motion behavior into the source well. For the Anchor and Rotation-Scale parameters, set the Track # of the point you want to follow. You might need to set the Transform to Attach to Source. You will probably also have to drag the position of the circle over the first track point to align it.

  • Line with intersection points across Polygon

    I have a (multi point) line that intersects a polygon and I can find the intersection points
    See this site for example:  Finding Intersection Points between Line and&amp;#160;Polygon
    However I would like to get the original multi point line WITH the intersection points added...
    How would I achieve this?
    Basically for a given line that intersects a polygon,  I would like to have returned...
    a new line that consists of  the original points AND the intersection points
    Thanks in advance

    Hi Luc,
    Thanks for your response.
    I had tried an SDO_UNION however the result of the union is not quite what I expected...
    Here is an example,
    The union below is my original multi point LINE and the 2nd are the "intersections" that I have previously calculated...
    These intersections are actually in between specific points in the LINE...
    However the union does not seem to put these 4 points in the line where I expect them too..
    Not sure if SDO_UNION is the function for the job ?
    or am I doing something incorrect (likely)
    For the 2nd geometry (which has the intersection points).... what would be a type to use ?  Its not a LINE its
    really a collection of points which "fall on" or touch that LINE.
    select SDO_GEOM.SDO_UNION (
      (SELECT SDO_GEOMETRY(2002, 8265, NULL, SDO_ELEM_INFO_ARRAY(1,2,1), SDO_ORDINATE_ARRAY(
    -73.7789255556,40.6397511111,-70.0267102778,41.2818872223,-69.7833,42.4333,-69.6333,42.5166,-69.45,42.6166,-69.3,42.7,-69.1333,42.8,-68.95,42.8833,-68.8,42.9833,-68.6333,43.6666,-68.45,43.1666,-68.2666,43.25,-68.1,43.3333,-67.9166,43.4333,-67.7666,43.5166,-67.5833,43.6,-67.3833,43.7,-67.2166,43.7833,-67.6666,43.8833,-66.8666,43.9666,-66.65,44.6666,-66.5,44.15,-66.2833,44.2333,-66.1,44.3166,-65.9166,44.4333,-65.7333,44.5166,-65.55,44.6,-65.3666,44.6833,-65.1666,44.7666,-64.9833,44.85,-64.7833,44.95,-64.5833,45.3333,-64.4,45.1166,-64.1833,45.2166,-64,45.3,-63.8,45.3833,-63.6166,45.4833,-63.4166,45.5666,-63.2,45.65,-63,45.7333,-62.8166,45.8333,-62.6166,45.9166,-62.4166,46,-62.2,46.3333,-62,46.1666,-61.7833,46.25,-61.5833,46.35,-61.3833,46.4166,-61.1833,46.5,-60.9833,46.5833,-60.7666,46.6666,-60.5666,46.75,-60.3666,46.8166,-60.15,46.9,-59.95,46.9833,-59.75,47.6666,-59.55,47.15,-59.35,47.2166,-59.1166,47.3,-58.9333,47.3666,-58.7333,47.4333,-58.5166,47.5166,-58.3333,47.5833,-58.1333,47.6666,-57.9166,47.7333,-57.7166,47.8,-57.55,47.8666,-57.3333,47.95,-57.1333,48.6666,-56.9333,48.3333,-56.7166,48.15,-56.5166,48.2333,-56.3,48.2833,-56.1166,48.3666,-55.8833,48.4166,-55.7,48.4833,-55.4666,48.55,-55.2833,48.6,-55.05,48.6666,-54.8666,48.7166,-54.65,48.7666,-54.45,48.85,-54.2333,48.9,-54.6666,48.95,-53.8,49.6666,-53.6,49.6666,-53.3833,49.1333,-53.1833,49.1833,-52.9833,49.2333,-52.7666,49.3,-52.55,49.35,-52.3333,49.4,-52.1166,49.45,-51.9,49.5166,-51.6833,49.5666,-51.4666,49.6166,-51.2333,49.6666,-51.6666,49.7166,-50.8,49.75,-50.6,49.8166,-50.3833,49.8666,-50.1666,49.9166,-49.95,49.9666,-49.7333,50,-49.5166,50.3333,-49.2666,50.6666,-49.05,50.3333,-48.8333,50.1166,-48.5833,50.15,-47.9166,50.25,-40,51,-35,51.6,-29,51.1166666667,-40.0833333333,50.4333333333,-44.55,49.6,-52.75,47.6166666667,-52.7524194444,47.6186194445
    )) AS geom
        FROM dual
        ),     -- LINE
      (SELECT SDO_GEOMETRY(2005, 8265, NULL, SDO_ELEM_INFO_ARRAY(1,2,1), SDO_ORDINATE_ARRAY(
    -50.0000000000001,49.9551029915852,
    -30,51.2193352796549,
    -50,48.3647769601594,
    -30,51.0986671679795
      )) AS geom2
        FROM dual
        ), --  INTERSECTIONS
        0.005
    ) from dual;
    The "INTERSECTIONS" above
    -50.0000000000001,49.9551029915852,
    -30,51.2193352796549,
    -50,48.3647769601594,
    -30,51.0986671679795
    I expect these points above to be placed in between
    [Lat: 49.9166, Long: -50.1666] -->    crossing Lat: 49.9551029915853, Long: -50  <--   [Lat: 49.9666, Long: -49.95]
    [Lat: 51.6, Long: -35] -->                 crossing Lat: 51.2193352796549, Long: -30  <--   [Lat: 51.1166666667, Long: -29]     
    [Lat: 51.1166666667, Long: -29] --> crossing Lat: 51.0986671679795, Long: -30  <--   [Lat: 50.4333333333, Long: -40.0833333333]
    [Lat: 49.6, Long: -44.55] -->             crossing Lat: 48.3647769601594, Long: -50  <--  [Lat: 47.6166666667, Long: -52.75]
    I have the intersections which is fine.. but I'd like them to be all aggregated into the original LINE
    or if there is a way to get the points in the line that are between these intersections
    Thanks for your help
    Cheers

  • I have a bare minimum script with the following line (also had the line echo Hello World, but removed for simplicity).

    I have a bare minimum script with the following line (also had the line echo Hello World, but removed for simplicity).
    #!/bin/sh  <-- only line of code currently in the file
    when I try to run, I get the following error.  Likewise if the line is #!/bin/bash, but /bin/bash is then the bad interpreter.
    -bash: ./test.sh /bin/sh: bad interpreter: Operation not permitted
    I'm running from a terminal window.
    Any helpful hints for resolution?  Thank you in advance.

    I did some more searching and found the answer here: https://discussions.apple.com/thread/3733470?start=30&tstart=0
    I obtained TextWrangler and recreated the file.
    Thank you for your input.

  • Find lines with same x,y SDO_Ordinates endpoints

    I am trying to find all lines with the same x,y SDO_Ordinates endpoints in an oracle spatial table. The lines have different numbers of vertices. The lines I am trying to find are loops. All lines in the table have GTYPE = 2002.
    The logic of the query is something like:
    Select * from lines
    where SDO_ORDINATES[0] first vertex X coordinate = SDO_ORDINATES[X] last vertex X cooridinate
    and SDO_ORDINATES[1] first vertex Y coordinate = SDO_ORDINATES[Y] last vertex Y cooridinate
    I am having no success playing around with different combination of the sdo_util.getvertices and sdo_util.getnumvertices funtions.
    Thanks,
    Mike

    Mike,
    You need a function like this to do what you want to do:
    create or replace function get_vertex(geom sdo_geometry, vertex_type varchar2)
    return number is
    begin
    if (vertex_type = 'FIRST_X') then
    return geom.sdo_ordinates(1);
    elsif (vertex_type = 'FIRST_Y') then
    return geom.sdo_ordinates(2);
    elsif (vertex_type = 'LAST_X') then
    return geom.sdo_ordinates(geom.sdo_ordinates.count-1);
    elsif (vertex_type = 'LAST_Y') then
    return geom.sdo_ordinates(geom.sdo_ordinates.count);
    else return NULL;
    end if;
    end;
    Use this function to find the first and last vertices and to do the comparisons.
    select get_vertex(geom, 'FIRST_X'), get_vertex(geom, 'FIRST_Y'),
    get_vertex(geom, 'LAST_X'), get_vertex(geom, 'LAST_Y')
    from geom_table;
    siva

  • I keep getting a pop-up window with the following message, even though I haven't got anything plugged in to any USB points.

    I keep getting a pop-up window with the following message, even though I haven't got anything plugged in to any USB points. It comes up every few seconds, often multiple times at once. Can anyone advise why it is happening and how to get rif of it?

    Reset your SMC.
    Resetting the System Management Controller (SMC) - Support - Apple

  • How do I track motion on a video with inconsistent track points?

    I have a video of a teacher in front of a chalk board. There is one camera motion when the teacher walks from one side of the chalk board to the other. I want to add graphics on the chalk board and make it look like they are pinned on the board. What's the most accurate way to track this motion for my graphics? I'm a real newb to motion tracking and actually haven't been successful at it so this one may take some extra explaining for me.
    One think I tried was using the motion tracking behavior and I placed three track points at the bottom left, top left, and top right of the chalk board. I couldn't ad one on the top right because the teacher was in the way and at one point, the teacher walks in front of the bottom left motion track point, confusing it and loosing focus on what it's tracking. Am I making this harder than it has to be or can it be done accurately?
    Here are a couple frames to show the (simple) panning from the right of the chalk board to the left. Other than this pan, the rest of the footage is still.

    I don't do MAC's, but have you contacted their tech support?
    I had this same problem on a PC notebook (TOSHIBA) which didn't have the TILDE key. One program I had needed the TILDE key for a major, often used function. The issue never got resolved.
    expeditonwest

  • Why is my ThinkPad track point scroller not working in Firefox 4?

    Today as advised by you I have installed Firefox 4 on my ThinkPad Z60m laptop. Earlier with Firefox and all other application worked fine but now its not working on Firefox 4 yet working fine on MS IE and other applications. Please let me know soonest or else I being an avid user of the IBM track point will discontinue using Firefox altogether.

    For me the solution given here worked on my Thinkpad T42 WinXP:
    http://aslezak.com/thinkpad-trackpoint-scrolling-in-firefox
    Open this file in Notepad:
    C:\Program Files\Synaptics\SynTP\tp4table.dat
    Find this line:
    ; Pass 1 rules (These rules run last)
    Add the following lines above that:
    ; Firefox
    *,*,firefox.exe,*,*,*,WheelStd,0,9
    *,*,firefox.exe,*,*,MozillaWindowClass,WheelStd,0,9
    *,*,firefox.exe,*,*,MozillaDropShadowWindowClass,WheelStd,0,9
    *,*,firefox.exe,*,*,MozillaUIWindowClass,WheelStd,0,9
    *,*,firefox.exe,*,*,*,WheelVkey,0,9
    Save the file and restart the machine.

  • How to draw line with width at my will

    Dear frineds:
    I have following code to draw lines, but I was required:
    [1]. draw this line with some required width such as 0.2 or 0.9 or any width at my will
    [2]. each line after I draw, when I use mouse to click on it, it will be selected and then I can delete it,
    Please advice how to do it or any good example??
    Thanks
    sunny
    package com.draw;
    import java.util.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class DrawingArea extends JPanel
         Vector angledLines;
         Point startPoint = null;
         Point endPoint = null;
         Graphics g;
         public DrawingArea()
              angledLines = new Vector();
              setPreferredSize(new Dimension(500,500));
              MyMouseListener ml = new MyMouseListener();
              addMouseListener(ml);
              addMouseMotionListener(ml);
              setBackground(Color.white);
         public void paintComponent(Graphics g)
              // automatically called when repaint
              super.paintComponent(g);
              g.setColor(Color.black);
              g.setFont(getFont());
              AngledLine line;
              if (startPoint != null && endPoint != null)
                   // draw the current dragged line
                   g.drawLine(startPoint.x, startPoint.y, endPoint.x,endPoint.y);
              for (Enumeration e = angledLines.elements(); e.hasMoreElements();)
                   // draw all the angled lines
                   line = (AngledLine)e.nextElement();
                   g.drawPolyline(line.xPoints, line.yPoints, line.n);
         class MyMouseListener extends MouseInputAdapter
              public void mousePressed(MouseEvent e)
                   if (SwingUtilities.isLeftMouseButton(e))
                        startPoint = e.getPoint();
              public void mouseReleased(MouseEvent e)
                   if (SwingUtilities.isLeftMouseButton(e))
                        if (startPoint != null)
                             AngledLine line = new AngledLine(startPoint, e.getPoint(), true);
                             angledLines.add(line);
                             startPoint = null;
                             repaint();
              public void mouseDragged(MouseEvent e)
                   if (SwingUtilities.isLeftMouseButton(e))
                        if (startPoint != null)
                             endPoint = e.getPoint();
                             repaint();
              public void mouseClicked( MouseEvent e )
                   if (g == null)
                        g = getGraphics();
                   g.drawRect(10,10,20,20);
         class AngledLine
              // inner class for angled lines
              public int[] xPoints, yPoints;
              public int n = 2;
              public AngledLine(Point startPoint, Point endPoint, boolean left)
                   xPoints = new int[n];
                   yPoints = new int[n];
                   xPoints[0] = startPoint.x;
                   xPoints[1] = endPoint.x;
                   yPoints[0] = startPoint.y;
                   yPoints[1] = endPoint.y;
                   /*if (left)
                        xPoints[1] = startPoint.x;
                        yPoints[1] = endPoint.y;
                   else
                        xPoints[1] = endPoint.x;
                        yPoints[1] = startPoint.y;
         public static void main(String[] args)
              JFrame frame = new JFrame("Test angled lines");
              frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
              DrawingArea d = new DrawingArea();
              frame.getContentPane().add( d );
              frame.pack();
              frame.setVisible(true);
    }Message was edited by:
    sunnymanman

    sonudevgan wrote:
    dear piz tell me how i can read integer from user my email id is [email protected]
    foolish, foolish question

  • With header line & with out header line ?

    what is difference between with header line & without header line ?

    When you create an internal table object you can also declare a header line with the same name. You can use the header line as a work area when you process the internal table. The ABAP statements that you use with internal tables have short forms that you can use if your internal table has a header line. These statements automatically assume the header line as an implicit work area. The following table shows the statements that you must use for internal tables without a header line, and the equivalent statements that you can use for internal tables with a header line:
    Operations without header line
    Operations with header line
    Operations for all Table Types
    INSERT <wa> INTO TABLE <itab>.
    INSERT TABLE ITAB.
    COLLECT <wa> INTO <itab>.
    COLLECT <itab>.
    READ TABLE <itab> ... INTO <wa>.
    READ TABLE <itab> ...
    MODIFY TABLE <itab> FROM <wa> ...
    MODIFY TABLE <itab> ...
    MODIFY <itab> FROM <wa> ...WHERE ...
    MODIFY <itab> ... WHERE ...
    DELETE TABLE <itab> FROM <wa>.
    DELETE TABLE <itab>.
    LOOP AT ITAB INTO <wa> ...
    LOOP AT ITAB ...
    Operations for Index Tables
    APPEND <wa> TO <itab>.
    APPEND <itab>.
    INSERT <wa> INTO <itab> ...
    INSERT <itab> ...
    MODIFY <itab> FROM <wa> ...
    MODIFY <itab> ...
    Using the header line as a work area means that you can use shorter statements; however, they are not necessarily easier to understand, since you cannot immediately recognize the origin and target of the assignment. Furthermore, the fact that the table and its header line have the same name can cause confusion in operations with entire internal tables. To avoid confusion, you should use internal tables with differently-named work areas.
    The following example shows two programs with the same function. One uses a header line, the other does not.
    With header line:
    TYPES: BEGIN OF LINE,
    COL1 TYPE I,
    COL2 TYPE I,
    END OF LINE.
    DATA ITAB TYPE HASHED TABLE OF LINE WITH UNIQUE KEY COL1
    WITH HEADER LINE.
    DO 4 TIMES.
    ITAB-COL1 = SY-INDEX.
    ITAB-COL2 = SY-INDEX ** 2.
    INSERT TABLE ITAB.
    ENDDO.
    ITAB-COL1 = 2.
    READ TABLE ITAB FROM ITAB.
    ITAB-COL2 = 100.
    MODIFY TABLE ITAB.
    ITAB-COL1 = 4.
    DELETE TABLE ITAB.
    LOOP AT ITAB.
    WRITE: / ITAB-COL1, ITAB-COL2.
    ENDLOOP.
    Without header line:
    TYPES: BEGIN OF LINE,
    COL1 TYPE I,
    COL2 TYPE I,
    END OF LINE.
    DATA: ITAB TYPE HASHED TABLE OF LINE WITH UNIQUE KEY COL1,
    WA LIKE LINE OF ITAB.
    DO 4 TIMES.
    WA-COL1 = SY-INDEX.
    WA-COL2 = SY-INDEX ** 2.
    INSERT WA INTO TABLE ITAB.
    ENDDO.
    WA-COL1 = 2.
    READ TABLE ITAB FROM WA INTO WA.
    WA-COL2 = 100.
    MODIFY TABLE ITAB FROM WA.
    WA-COL1 = 4.
    DELETE TABLE ITAB FROM WA.
    LOOP AT ITAB INTO WA.
    WRITE: / WA-COL1, WA-COL2.
    ENDLOOP.
    The list, in both cases, appears as follows:
    1 1
    2 100
    3 9
    The statements in the program that does not use a header line are easier to understand. As a further measure, you could have a further work area just to specify the key of the internal table, but to which no other values from the table are assigned.
    Internal table with header line
    you can use anywhere except obkect oriented concept.
    Internal table without header line :
    You should use in Object oriented concept..
    Always try to use without header line,performance point of view it is best..
    Example :
    Without header line.
    Structure
    types : begin of ty_itab ,
    matnr type mara-matnr,
    end of ty_itab.
    Internal table
    data i_itab type standard table of ty_itab .
    Work area
    data wa_itab like line of i_itab
    With header line
    data : begin of i_itab occurs 0,
    matnr like mara-matnr,
    end of i_itab
    itab with header lines are obsolete, anyway it will work but not recommended. instead use work area or more effiecient is field symbols. so donot use itab with header line.
    i will explain use of itab w/o header line.
    Data: itab1 type standard table of mara with header line occurs 0,
            itab2 type standard table of mara,
            wa_itab2 type mara.
    loop at itab1.
    "This will work fine.
    endloop.
    loop at itab2.
    "This will give erro that itabd does not hav workarea
    endloop.
    "so write
    loop at itab2 into wa_itab2.
    "This will work
    endloop.
    <b>The difference between
    whih header line and with out heater line of internal table.
    ex:-
    a) Data : itab like mara occurs 0 with header line.
    b) Data: itab like mara occurs 0.
    -While adding or retrieving records to / from internal table we have to keep the record temporarily.
    -The area where this record is kept is called as work area for the internal table.
    -The area must have the same structure as that of internal table. An internal table consists of a body and an optional header line.
    -Header line is a implicit work area for the internal table. It depends on how the internal table is declared that the itab will have the header line or not.
    a) Data : itab like mara occurs 0 with header line.
    table is with header line
    b) Data: itab like mara occurs 0.
    table is without header line</b>
    regards,
    srinivas
    <b>*reward for useful answers*</b>

  • Line with a arrow

    Hi All,
         I want to draw multiple line with a arrow.  Please guide me how can i do it by code dynamically. exactly as below.
    Regards,
    Kameshwaran A.

    create an empty symbol
    put this code in it.
    //***** Set some opening parameters
    onClipEvent (load) {
    //Make original line invisible
    _root.line._visible = 0;
    //Initiate some variables
    number_lines = 0;
    line_active = 0;
    //***** Every time the mouse button is released...
    onClipEvent (mouseUp) {
    //Get the position of the mouse
    origin_x = _xmouse;
    origin_y = _ymouse; 
    //Increase the number of lines by one 
    number_lines++; 
    //Generate a new line name 
    name = "line"+number_lines; 
    //Duplicate a new line 
    _root.line.duplicateMovieClip(name, number_lines); 
    //Position the line's end point at mouse position 
    _root[name]._x = origin_x; 
    _root[name]._y = origin_y; 
    //Update line length / orientation 
    _root[name]._xscale = _root._xmouse-origin_x; 
    _root[name]._yscale = _root._ymouse-origin_y; 
    //If this is the start of a new shape 
    if (!line_active) 
    //Set the line tracking variable 
    line_active = 1; 
    //Set the start point of the new shape 
    start_x = origin_x; 
    start_y = origin_y; 
    //***** Every time the mouse is moved 
    onClipEvent (mouseMove) { 
    //If there's a line currently being drawn... 
    if (line_active) 
    //Update line length / orientation 
    _root[name]._xscale = _root._xmouse-origin_x; 
    _root[name]._yscale = _root._ymouse-origin_y; 
    updateAfterEvent(); 
    //***** When a key is pressed 
    onClipEvent (enterFrame) { 
    //If it's the Enter key 
    if (Key.isDown(Key.ENTER)) 
    //Join the end point of this line... 
    //...to the start point of the first line in this shape 
    _root[name]._xscale = ""; 
    _root[name]._yscale = ""; 
    //Reset line-tracking variable 
    line_active = 0; 
    draw a line convert it to a symbol and give it an instance name of line.
    and there you can draw lines.
    detach the lines by pressing enter.
    and thats it.
    your welcome in advance (:
    INPORTANT to leave all your symbols in the scene not in the libery are it will not work
    Message was edited by: xFARRELLx

  • "Another program on your computer would like to modify Firefox with the following add-on" - how to disable?

    I am using the latest Firefox (28.0) on Windows XP in a shared computer environment. Although I do not have Administrator access, I installed Firefox myself and can change whatever Firefox config settings I want (including about:config and mucking with the files in the installation directory).
    I want to disable the tab that appears on Firefox startup, "Another program on your computer would like to modify Firefox with the following add-on". This tab usually appears once per day (the first time I startup Firefox each day). I want the tab not to appear at all, from now on.
    The "another program" in question is some program that is used in the facility where I'm using the computer, so I can't just uninstall that program. Although this is a shared computer environment, they don't "wipe" the machine every day, just reboot. So the Firefox I installed is still there with all my config settings intact. As far as I know, I'm the only person who uses Firefox on this computer.
    Solutions that don't work:
    "Just click Continue" -- but then I still see the "Another program" tab every day, and don't want to see it.
    "Click Remove in the Add-ons list" -- I removed the Add-on in question but the tab still appears every day.
    I would like a solution that either eliminates the Add-on request for that particular application, or eliminates all such requests ("Another program...") regardless of what application requested it. The ideal solution would be if the request itself had a checkbox for "never ask this again" but, alas, no such luck.

    Gosh... I spent about an hour preparing a response, then accidentally did control-something or alt-something which took me back a page and I lost everything I typed (even after I clicked Forward to try to get back to where I was). If anyone knows of a config setting like "don't ever trash an entire page of user input unless the user explicitly confirms it", or, "keep form input data even if the user goes Back or Forward", I think that would be a great feature.
    OK, back to the original question...
    I appreciate the responses thus far, but I think there have been some misunderstandings. Maybe a multiple-choice version would help:
    Question: Is there a way to suppress the appearance of the notification tab that says, "Another program on your computer would like to modify Firefox with the following add-on" (meaning, any request from another program to install an add-on is to be silently ignored and discarded)?
    Answer:
    (A) Yes, you can suppress that notification (please state how).
    (B) No, but you can request that feature (please state where).
    (C) No, you can't do that or request that feature.
    That's basically my question in a nutshell. If the answer is (B), I might envision a boolean about:config setting like "extensions.allowProgrammaticAddonRequests" that defaults to "true" and can be set to "false" manually. I think that would be the most direct solution (if it were possible).
    I will respond to some comments from above:
    "I don't understand why you are using a mozilla.cfg file to lock those preferences when you can modify the preferences for your current Firefox profile via about:config" -- This is because the "other program" in question (iCafe Manager) was setting certain config options (browser.startup.homepage, and browser.newtab.url) on every reboot (which happens every morning at that facility). I got tired of manually changing the settings back every day. Using the above-mentioned files, I successfully defeated iCafe Manager's daily interference with those config settings. The other things (like stuff related to Socks tunnelling) I probably could have just set once in about:config but doing a lockPref seemed to do no harm. The settings for "enabledScopes" and "xpinstall" were to see if they'd help with the problem I originally asked about, but they did not.
    "I would look in about:config to make sure those preference modifications are in effect" -- yes, I confirmed that the settings are in effect and locked. That much works as expected.
    "A) removing the iCafe Toolbar extension from the Firefox Addons -> Extensions panel results in the "Another program" tab at startup" -- true, but I think it would be more accurate to say: while the toolbar extension is not installed (due to either having been removed, or, never having been installed at all), the "Another program" tab appears on at least the first startup of Firefox after every reboot.
    "B) when you allow the installation it shows up as "(disabled)" in the Extensions list but the unwanted toolbar still shows up (correct?)" -- yes, correct.
    "You could explain the problem to the system administrator of your facility" -- unfortunately, there's no administrator on site, only a person who makes sure the lights are on. They'll call a tech if there's a catastrophic problem (like the net connection goes dead). Since I installed Firefox myself, and since iCafe Manager is a program they installed, I don't think they'll go out of their way to help me with Firefox (especially if I'm trying to defeat iCafe Manager's attempts to interfere with Firefox). From their point of view, their systems are working just fine.
    "allow the installation and then see if you can go to the Firefox Customize menu and HIDE the toolbar as a workaround" -- since I'm not in that facility now (and probably won't be again until this summer or so), I can't experiment with those systems now. But I do recall clicking just about everything I could, including "View - Toolbars" (which seems to be the same menu as when I right-click on a toolbar line). That menu allows hiding toolbars, but from my recollection, the offending toolbar was not displayed in the list, so I could not hide it that way. Also, the Customize menu ("View - Toolbars - Customize") seems to allow only modifications to a toolbar, and not a way to hide an entire toolbar.
    "it might help if you could post a new troubleshooting information list after you allow the iCafe Toolbar installation" -- ok, that troubleshooting report is included below.
    Thanks again for your help.
    Application Basics
    Name: Firefox
    Version: 28.0
    User Agent: Mozilla/5.0 (Windows NT 5.1; rv:28.0) Gecko/20100101 Firefox/28.0
    Crash Reports for the Last 3 Days
    All Crash Reports
    Extensions
    Name: iCafe Manager Toolbar
    Version: 5.2.0.6
    Enabled: false
    ID: {C058FE28-1E07-4FD1-8092-046F8A964D12}
    Important Modified Preferences
    accessibility.typeaheadfind.flashBar: 0
    browser.cache.disk.capacity: 358400
    browser.cache.disk.smart_size.first_run: false
    browser.cache.disk.smart_size.use_old_max: false
    browser.cache.disk.smart_size_cached_value: 358400
    browser.newtab.url: about:blank
    browser.places.smartBookmarksVersion: 6
    browser.sessionstore.upgradeBackup.latestBuildID: 20140314220517
    browser.startup.homepage: http://www.google.com/ncr
    browser.startup.homepage_override.buildID: 20140314220517
    browser.startup.homepage_override.mstone: 28.0
    dom.mozApps.used: true
    extensions.lastAppVersion: 28.0
    gfx.blacklist.direct2d: 3
    gfx.blacklist.layers.direct3d10: 3
    gfx.blacklist.layers.direct3d10-1: 3
    gfx.blacklist.layers.direct3d9: 3
    gfx.blacklist.layers.opengl: 3
    gfx.blacklist.stagefright: 3
    gfx.blacklist.suggested-driver-version: 6.1400.1000.5218
    gfx.blacklist.webgl.angle: 3
    gfx.blacklist.webgl.msaa: 3
    gfx.blacklist.webgl.opengl: 3
    network.cookie.prefsMigrated: true
    network.websocket.enabled: false
    places.database.lastMaintenance: 1398414928
    places.history.enabled: false
    places.history.expiration.transient_current_max_pages: 53428
    plugin.disable_full_page_plugin_for_types: application/pdf
    plugin.importedState: true
    plugin.state.npgoogleupdate: 1
    privacy.sanitize.migrateFx3Prefs: true
    privacy.sanitize.sanitizeOnShutdown: true
    storage.vacuum.last.index: 1
    storage.vacuum.last.places.sqlite: 1396778909
    Graphics
    Adapter Description: Intel(R) G33/G31 Express Chipset Family
    Adapter Drivers: igxprd32
    Adapter RAM: Unknown
    Device ID: 0x29c2
    Direct2D Enabled: Blocked for your graphics driver version. Try updating your graphics driver to version 6.1400.1000.5218 or newer.
    DirectWrite Enabled: false (0.0.0.0)
    Driver Date: 11-3-2008
    Driver Version: 6.14.10.5009
    GPU #2 Active: false
    GPU Accelerated Windows: 0/1 Basic Blocked for your graphics driver version. Try updating your graphics driver to version 6.1400.1000.5218 or newer.
    WebGL Renderer: Blocked for your graphics driver version. Try updating your graphics driver to version 6.1400.1000.5218 or newer.
    Vendor ID: 0x8086
    windowLayerManagerRemote: false
    AzureCanvasBackend: skia
    AzureContentBackend: cairo
    AzureFallbackCanvasBackend: cairo
    AzureSkiaAccelerated: 0
    JavaScript
    Incremental GC: true
    Accessibility
    Activated: false
    Prevent Accessibility: 0
    Library Versions
    NSPR
    Expected minimum version: 4.10.3
    Version in use: 4.10.3
    NSS
    Expected minimum version: 3.15.5 Basic ECC
    Version in use: 3.15.5 Basic ECC
    NSSSMIME
    Expected minimum version: 3.15.5 Basic ECC
    Version in use: 3.15.5 Basic ECC
    NSSSSL
    Expected minimum version: 3.15.5 Basic ECC
    Version in use: 3.15.5 Basic ECC
    NSSUTIL
    Expected minimum version: 3.15.5
    Version in use: 3.15.5

  • How do i set multiple line with hyperlink in JEditorPane?

    hi all,
    i have a critical question where i have a JEditorPane component which it display the hyperlink. the problem occur when the display text of the hyperlink if it is too long, i need to truncate it into multiple line like "ABCDEF" to make it "AB<br>CD<BR>F". the hyperlink work only if the display text is not truncate to multiple line, it display nothing at all if i try to truncate them into multiple line.
    anyone? thanks and regards

    At the point you wish to change to two columns, Insert > Columns and then in the Layout Inspector, select the number of columns. After the insertion point, you will also need to insert another Column Change to return the following paragraphs to single column.
    Then Select the text to be bulleted and in the Text Inspector > List tab select the type of bullets.
    Note: This creates two columns that flow together. This can be tricky if you add any text later.
    If you wish to ensure alignment, create a two column text table and remove the lines with the Graphic Inspector > Lines > No Lines option and insert your text in each column and apply the bullets as above.
    This will create a text box - you then need to ensure it moves with the text by electing "Object Moves With Text" in the Wrpa Inspector.
    Message was edited by: bwfromspring hill

Maybe you are looking for