Moving markers

In a cartesian chart, I have four series, three line and one
column series. I want to show moving markers on all of the four
series, when mouse is moved in chart region. Moving markers like
circle...
For that, I am using array of items which I have got through
items property of series object. and with the help of that array I
am getting x and y co-ordinates of each item.
I am then passing these co-ordinates to localToGlobal
function on series object to get global co-ordinates. After this, I
am getting the item with minimum diff between its co-ordinates and
the point where mouse is.
But the thing is, I am not getting exact item at the place,
where the mouse is. For whole width of an item on X-axis, i am
getting that item when the mouse is at the middle of that width.
Here is the sample code.....
var
arrSeries:Array=(ChartBase)(myPanel.getChildAt(1)).series;
for(var i:int=0;i<arrSeries.length;i++)
var arrItem:Array=arrSeries
.items;
var flag:int=-1;
var diff:int=100000000000;
for(var j:int=0;j<arrItem.length;j++)
arrItem[j].currentState="deselected";
for(var j:int=0;arrItem && j<arrItem.length;j++)
var p:Point =arrSeries.localToGlobal(new
Point(arrItem[j].x,arrItem[j].y));
if(diff>Math.abs(Math.ceil(p.x-event.currentTarget.mou*No
thank you*)))
diff=Math.abs(Math.ceil(p.x-event.currentTarget.mou*No thank
you*));
flag=j;
if(flag!=-1)
showValues(arrSeries
.yField,arrItem[flag]);
arrItem[flag].currentState="selected";

Yeah...get FCP 7. That feature was added to that upgrade. Other than that...you are stuck moving them manually.
Shane

Similar Messages

  • Losing comments when moving markers

    when i add comments to various fields while logging captured video, i then move the markers to a new folder, creating sub-clips... why does doing this cause me to lose the comments i've made in various fields, many customized and saved/loaded to match the column headings?
    thanks.

    I'm on Lightroom 1.3.1 on a Mac PowerBook G4. I'm running out of space on my laptop so I want to move all my photos to an external drive.
    I moved some trial photos using drag & drop in the Mac Finder windows, ran the "locate missing images" in Lightroom and chose the external drive image location. In the Lightroom folder, my thumbnails show my edits, but the folder name is still red. On the external drive the images are unedited. And they still reside in my Pictures folder on the main drive as well, unedited.
    I don't want multiple copies of the photos. I'm trying to clean up.
    How should I have done this? And, how can I insure that I can access my edited photos in Lightroom
    Joan

  • Moving Markers from Project to Clips in Event

    I have a student who put 100+ markers on a clip in a Project/Timeline.
    Is there a way to link up or move the clip (with the markers) back into the event so the markers appear?

    Can you explain this better......
    "Select and copy the clip in the Project."
    Done.
    "Right-click in the browser and choose New Compound Clip."
    Browser?    Do you mean Project or Event Library? (I assume Library if you used 7).
    If I have an event selected & go make new compound clip it puts it in the event.
    If I have the project selected, it changes the original clip into a compound clip.
    "Paste the Project clip into the Compound."
    Huh?  See above.

  • Playhead not staying centered when moving markers, recalling screensets

    Logic 8
    When passed a certain level of zoom, moving from one marker to another - the playhead will vanish and be somewhere to the right of the screen (I have to scroll to the right to find it, or I have to zoom out, then back in). This will also happen when recalling screensets.
    If I click off and on the 'catch playhead man icon' it will sometimes find the playhead, strangely.

    No, I think the only way to do it is to add the Marker in the Waveform Edit view. But make sure that Synchronize Clips with Waveform Editor is turned on in Preferences/Multitrack Clips so that the Play Head cursor and view remain synced in both views.

  • Moving markers with clips

    I'm just starting to use markers more.
    If markers are already placed on the timeline, how to I get them to move when I delete a clip that shifts the sequence timing?

    I don't think they'll move on the timeline...
    You could select your video and/or audio, and set markers there (in-line with timeline markers). Then, after you delete, (shifting sequence timing), just deselect the media and place new markers on the timeline, in-line with the clip markers.
    Bear in mind, this will leave the previous markers on the timeline, until you delete them.
    K
    Yes, kind of a PITB

  • Moving markers to the left on the timeline

    Reposition marker is a great feature when you want to move a marker to the right on the time line after you have added something into the timeline. But what about when you delete a clip from the timeline? Is there an easy way to shift the existing markers to the left (other than editing each marker individually by copying and pasting the new timecode value)?

    I wish. This has been a HUGE complaint of mine, the fact that markers don't move with the changes you make. Well, if you attach them to the timeline, they don't, but if you attach them to a CLIP, they do. But the BIG problem is that when they are attached to a clip, they don't show up in the Canvas or the Timeline. BIG pain. I and others have made feature requests for years and it seems to be falling on deaf ears.
    How difficult can this be to fix? Or make work PROPERLY?
    Shane

  • Moving Markers doesnt work

    I use the SHFT ' with my time line selected and it doesnt move my marker from the nearest left to the position of my new position on the timeline.
    The only painful thing that works is selecting MARK>MARKERS>REPOSITION for every time I want to move a marker.
    I wish I could just drag the marker into the new position!
    I gave feedback to Apple on this topic.

    It works fine for me with a Norwegian keyboard layout. If I switch to US keyboard layout, it doesn't work. I checked the Keyboard Viewer in OS X, to make sure I pushed the right buttons.
    How odd. I even tried remapping the keyboard shortcut. Seems like a bug.

  • Moving Markers with Clips in Multitrack View?

    Say for example I want to set a marker at 10:50 on a clip in Multitrack view, but then I move the clip forward by 5 minutes.
    To my knowledge, the only way I can set a marker is if I set it on the Multitrack itself, and not the clips within the multitrack...which results in the marker staying at 10:50 even though I'd like it to move to 15:50
    Is there a way to set a marker on the clip (without going into the clip's waveform) so that it'll move around with any changes?
    Basically, I'm looking for the same functionality present in After Effects when you press Numpad * on a layer and it creates a marker relative to that time in the layer, rather than an 'objective' marker in the scheme of the entire multitrack.
    Thanks!

    No, I think the only way to do it is to add the Marker in the Waveform Edit view. But make sure that Synchronize Clips with Waveform Editor is turned on in Preferences/Multitrack Clips so that the Play Head cursor and view remain synced in both views.

  • Exporting audio with markers button is greyed out.... ANY HELP MUCH APPRECIATED!

    Hello
    so, background to the story. Now peak pro is defunkt on OSX I am trying to use Audition to create cdmasters. The idea being I will compile the album in audition, export wav files of each track including gaps and compile DDPi master in Sonoris DDP creator. Should be fine but quite a few limitations I've found already in audition.
    1)Main question is this. Exporting tracks. I have compiled and added all the markers in to a 30+ track cd. I've exported whole thing to a single mixdown that includes marker but the 'EXPORT AUDIO OF SELECTED RANGE MARKERS TO SEPERATE FILES IS GREYED OUT' even if i select everything....
    2)In multitrack mode, if you want to move one clip in the middle of the sequence, is there any way to select all the clips in all the following clips so that they all slip back together. I know you can zoom out and select everything but that is very boring especially when you have loads of tracks and if some are only a couple of second long soundbytes. In SAdie and Peak Pro it was very easy to set this function.
    3)Moving markers. if I am moving a number of tracks is there a way of selecting and moving the relevant markers as well ? At the moment it seems like I'd have to select all clips in the boring zoom out method and then move each marker individually? Surely not...
    2) & 3) are very annoying when you only want to move one clip by a few frames or seconds.
    Any ideas folks ? Like i say uestion 1 is most pressing!
    Thanks in advance

    thanks guys, all makes sense, really appreciate it.
    I will try the merging out. I was in a hurry to get a CDREF out so ended up just exporting the compiled album out as one wav from audition and adding PQ points in Sonoris. Not ideal especially as running order etc is bound to change. 
    I can't recomened Sonoris DDP creator enough, fantastic program and very reasnably priced. I have Soundblade LE as well but find it too clunky to bother learning, its one of the least intuitive audio programs I've ever come across.
    Maybe Audition and Sonoris should team up, if you could add PQ points into audition it could become the best OSX option for compiling cd masters.
    Did you have any thoughts on questions 2)&3)
    2)In multitrack mode, if you want to move one clip in the middle of the sequence, is there any way to select all the clips in all the following clips so that they all slip back together. I know you can zoom out and select everything but that is very boring especially when you have loads of tracks and if some are only a couple of second long soundbytes. In SAdie and Peak Pro it was very easy to set this function.
    3)Moving markers. if I am moving a number of tracks is there a way of selecting and moving the relevant markers as well ? At the moment it seems like I'd have to select all clips in the boring zoom out method and then move each marker individually? Surely not...
    Thanks
    Dan

  • Able to edit an existing Quicktime Movie into a shorter version?

    Hi,
    Many thanks in advance for your attention.
    1. In Quicktime Help, there is a way of trimming an existing Quicktime Movie (selecting part of a Movie).
    2. Supposedly, one can trim down a movie by moving Markers in Quicktime and then Saving this "New Movie." (an edited version of the old one).
    3. But when I try, I can't get the markers to appear.
    4. Is this function available only with Quicktime Pro?
    - Ross

    Hi, Russ
    You can try SimpleMovieX.
    http://www.aeroquartet.com/SimpleMovieX
    It can do the same as QuickTime Pro and can be used for free.
    (I'm the developper of this application.)
    Regards, BJ

  • FCP 7 BUG REPORT: "close gap" screws up marker locations

    First off, it's wonderful to finally have automatically moving markers. Thanks.
    the bug:
    If you "close gap" between two clips (ctrl-G), the markers past that point will ONLY update their locations correctly if the play head is positioned at the start of the gap. If the play head is in the middle of the gap, it does something wrong and unexpected. I edit with ctrl-G a lot, so this is a problem for me.
    Also, while I greatly appreciate the new marker list export tool (which makes the self-moving markers useful), giving a longer-than-short name to a marker screws up the column spacing of the export. I propose having an option in the export box to automatically truncate long names to preserve column spacing. Or you could just space all columns based on the longest name.
    Thanks

    I posted it as a bug report as well.
    I'm starting to see that these automatically moving sequence markers are of no use the way they behave now. For example, select half the clips in the timeline, type "+100" to move everything 100 frames, and watch how the markers don't keep up with the movement. Or just click and drag to move the clips. If you were using the markers to know where your VFX shots and commercial breaks are, you have now lost them. These sequence markers are only of use if they ALWAYS remain where they are in relation to the media below them.
    Also, there needs to be an option for a specific marker to NOT ripple it -- not just a global toggle. For example, on a TV show you often have a specific length you need to hit in 23.98 to end up with the right length in 29.97 DF and it's nice to put a marker at that point in the sequence. But that doesn't work with ripple mode on.
    In short, I like the new feature but it needs to be implemented more intelligently to be useful.

  • Comfortabl​e Scope Component?

    Hello all,
    I am looking for a comfortable Scope Component for use in LabView that goes beyond a strip chart. The following is what I need:
    Possibility to use marker liners 2 for x- and 2 for y-direction. The differences will be shown and updated while moving a marker line.
    Similarly, points should be available for Minimum /Maximum values etc.
    The signal to be shown comes from the serial port at 115 bps, so the graph has to be fast enough.
    Possibility to zoom in and out.
    Possibility to stop the recording and to save the waveform.
    Possiblity to cut the curve (with cutting lines) and to re-save the cut curve.
    Possibility to edit the graph.
    I would like to load the waveform and have the same possibilities again (zoom, cutting, moving markers etc.)
    Is something like this available for LabView? It can also be an ActiveX Component. Or sombody knows of a c/c++/.net library, whatever.
    I use LabView 7.1
    Best Regards
    Johannes

    Hi Johannes,
    Sure, everything of the points you wrote is possible within LabVIEW.
    You just have to use the Waveform Graph with it's cursors (you can set several coursors for one graph), where you can read out the current cursor position of every cursor using a property node. Exactly you will get an array of clusters which are the several corsors and there attributes like the x and y position. Then you can read out the positions of every corsor, substact them to become the difference. There are also functions available in LabVIEW for min and max values e.g. of an array. Zooming is also possible with the waveform graph. The methode to cut/save/reload the curve will depend on the datatype you are working. If it is an array you can use the different array functions to e.g. cut the curve and save only the resulting values.
    The attached screenshot shows a little example for getting the difference between two cursors position and also the content of one cursors cluster.
    Hope this helps, Christian
    Attachments:
    cursor cluster.jpg ‏34 KB

  • XML tag markers moved: Find and Replace causing problem in xml elements

    Hi All,
    I am doing find and replace using GREP. While using the expression like $1, $2 (Found Items) in the change to field it changes the placement of tag marker. If the found item is a part of two of more xml elements, I am getting a serious problem while replacing it. (ie. The xml tag markers are moved.)
    See the screen shot below, then you may get better idea. And help me to overcome this issue.
    This is just an example to show you what i'm trying to say, there are so many cases like this.
    Original text/ Before doing find replace
    After replacing
    Green4ever

    Hi Peter and John,
    but it seems to me that the example is looking for any space that
    follows a semi-colon and has two word characters following it, and
    repalce that with an em space. I think you could do the same using look
    behind and look ahead and not need to replace the found text.
    Yes you are right about the look behind and look ahead. I'd like to show some more examples to show what the actual problem is,
    Original/Before Replacing,
    (Consider there is another case here, instead of em-space some times normal word space will also be there)
    Using the Grep:
    Find What---------> ^(\d+\.(?:\d+)?)~m
    Change To------------->$1\t
    After Replace:
    Did I make any sense? Eventhough this will not make any changes in the layout, my requirement is to insert the tab out-side the tag marker not indise.
    Green4ever

  • In FX 8 (WinXP and Linux) I'm not able to change a route of the Google Maps routeplanner via drag&drop, the markers of start and destination don't appear and therefore cannot be moved, either.

    Usually (IE, Firefox 7 and below) if you go along the blue line of a route planned by Google Maps, a small circle appears which can be dragged and dropped to other roads so that the routeplanner changes the route. This is impossible with Fx 8, the circle doesn't appear and when trying to drag&drop I only move the map. The same applies to the markers which mark the start and destination of the route, they are not visible and cannot be moved. Disabling Adblock and Firegestures didn't solve the problem.
    When the page is loading for a moment you can see the symbol for an image which is not yet loaded both where the markers should be and if you go along the line with the mouse. As soon as the page is completely loaded you don't see this anymore.

    There is opened a bug in Bugzilla:
    https://bugzilla.mozilla.org/show_bug.cgi?id=715124

  • CS4/Win: markers are not moved after resizing a clip in timeline

    Hello,
    when I am resizing a clip in the timeline my markers after this clips in the same timeline are not moved, too.
    Bug or feature?
    If it is a bug: stilil

    function(){return A.apply(null,[this].concat($A(arguments)))}
    cmeira wrote:
    Ok, thanks
    But there is a question left: bug or feature? I can't see an advantage of this behavior ... and no solution...
    The same behavior in CS5, too?
    Neither, is as designed.
    CS5 is excactly the same.

Maybe you are looking for

  • [Performance Tuning] Select from QMEL

    Hi experts, I have a problem with regards with the select from QMEL table, it takes too long to execute. Your input is very much appreciated.   IF i_sales_orders[] IS NOT INITIAL.     SELECT qmnum            vbeln       FROM viqmel       INTO TABLE i

  • Cant get Safari or Firefox to open youtube website anyone else having this problem?

    I can't get safari or firefox to open youtube website, keeps saying server not available and it has been doing it for a month. Anyone having this problem?

  • How can i get better performance of query

    Hi, i have created one view which using 11 table. some table is used more than 1 time. i have used outjoin for that but it is very slow to get output. my view is as below. CREATE OR REPLACE FORCE VIEW MUDRA.RETRIEVAL_PURCHASE (UNIQUEID, BRANCHNAME, D

  • Raid question, can it be done or not

    hi, and thanks in advance for any help given regarding my question. i have two raptors set up as a mirrored raid array, my question is can i go into bios and change them to a stripped array (raid 0) for peformance without having to reinstall xp and i

  • Every app (incl system/finder) becomes non responsive on right click.

    Hello, I have a mac pro 2008 and have the recurring problem that occasionally after booting up my system everything that I right-click becomes unresponsive (activity monitor says the app is 'not responding') and I get the little apple beachball anima