Position.velocity NOT working

Hi,
I wrote preset with expressions in AE cs4 and it was calculating the direction of layer's motion.
It worked perfectly in CS4.
In CS5 the resulting vector very often has a length of 0 - especially with Nulls that have tracking data applied.
Even though the Null IS moving around.
One workaround I found was to use a BakeTransforms script on the Null layer.
The motion doesn't change, but now for some reason position.vector gives a proper value.
After some testing it seems that if a Null gets tracking data applied, the position.velocity vector for that null is always invalid
Any ideas?

Thanks, it worked but now I have a problem with border frames
(first or last) as with sampling at slightly different time ends up with no motion next to one of them .
I did a workaround by changing the time delta for this trick dependant on the time value but still it's not full proof.
Any idea why velocity at the exact frame time gives a zero vector?
The speed value is correct so there is motion in these frames (it's not an issue of frame easing)
And again - this totally worked in CS4 so what gives?

Similar Messages

  • Scroll Positions do not work if Scroll Policy is 'off'

    I am using flex SDK 3.3.0.4852
    I have a canvas with
    canvas.horizontalScrollPolicy = "off";
    canvas.verticalScrollPolicy = "off";
    This canvas has an image in it, and I set the horizontal and vertical scroll positions programitically.
    canvas.horizontalScrollPosition = canvas.maxHorizontalScrollPosition;
    canvas.verticalScrollPosition = canvas.maxVerticalScrollPosition;
    then I save the scroll values in an xml file, and then on reopening of the xml file.. I do the following
    canvas.addEventListener("creationComplete", setScrollPositions);
    and in the method setScrollPositions(event) i do the following again
    canvas.horizontalScrollPosition = canvas.maxHorizontalScrollPosition;
    canvas.verticalScrollPosition = canvas.maxVerticalScrollPosition;
    But unfortunately it does not show any change in the scroll positions visually, and the default scroll positions persists. Though if i call an alert
    Alert.show(canvas.verticalScrollPosition.toString()); //it does show me some value, e.g. 56
    Now if i only set horizontal and vertical scrollPolicy = "on" ... all works fine. But the problem is that I want to hide my scrollbars and there is no other way I can do it. So please if there is any solution to it or if there is any workaround, do let me know. Thanks.

    i'm having the same problem and i just got a brand new dell..when i hold down the left click over the up or down arrows, my songs in itunes only go down one line rather than scrolling up or down while im holding down the left click...any help is appreciated..

  • Position Tweening Not Working

    Photoshop CS3. When I tween between frames in an animation with Position selected, the program dupes the first selected frame the number of times specified but does not tween the object's position. So if I specify five frames, I get five dupes of the first frame with no movement of the object towards its position in the target frame.
    The program does tween the Opaque option when that is selected.
    Oddly, the same problem occurs in both my Photoshop CS3 and my ImageReady CS.
    Could there be something in my computer that's preventing the Position tweening feature from working?
    Mac G4 866, 1GB RAM, OS 10.4.11.

    I did some position tweening in 2007 on Windows PS CS3 and had no problem. Now for the first time I'm trying it in Windows PS CS4 and I'm having exactly the problem you are!!!! I restarted PS and problem continued. I have no idea what else to try besides go find CS3 running somewhere. I'm using current rev, 11.0.2.

  • Position tweening not working in CS4

    When I tween between frames in an animation with Position selected, the program dupes the first selected frame the number of times specified but does not tween the object's position. So if I specify five frames, I get five dupes of the first frame with no movement of the object towards its position in the target frame.
    The program does tween the Opaque option when that is selected.
    I have done this successfully in CS3 so I don't think it's pilot error.
    I am running current rev. 11.0.2.
    Thanks,
    Houyhnhnm

    I did some position tweening in 2007 on Windows PS CS3 and had no problem. Now for the first time I'm trying it in Windows PS CS4 and I'm having exactly the problem you are!!!! I restarted PS and problem continued. I have no idea what else to try besides go find CS3 running somewhere. I'm using current rev, 11.0.2.

  • ScrollTop(); functions not working in V5.0.1

    Reading article 1361668 by heathrowe on getting the scroll position does not work when creating a new document in Edge Animate V5.0.1 (2014.1):
    //"Text" on stage
    sym.$("Text").css("position","fixed");
    $(window).scroll(function () {
          var myScroll = $(window).scrollTop();
          sym.$("Text").html("You've scrolled " + myScroll + " pixels");
        console.log('myscroll: ' + myScroll);
    $('body').click(function(){
        var scrollPost = $(document).scrollTop();
        sym.$("Text").html("On click your scroll is at " + scrollPost + " pixels");
        console.log("myscroll when clicked: " + scrollPost);
    // console returns error
    Likewise the Parallax Scrolling by Edge Docks doesn't work for the same reason, but works in V4.0.1 as does the scrollTop();
    Is there an update coming soon?

    Hi,
    You have to add a jQuery file using Edge UI.
    For instance:
    See: jQuery CDN

  • BATCH-INPUT On transaction VT02 does not work.

    Greetings, colleagues!!!
    I have written BATCH-INPUT on transaction VT02. I try to remove delivery from transportation. But for me does not work BATCH-INPUT because function of "Positioning" does not work in BATCH-INPUT. Prompt please. How I can remove delivery from transportation in my program using functionality of transaction VT02?
    Thanks for the help.
    Sergey Kozymaev.

    I used this in a program a while ago, worked like a charm.
    s_header-shipment_num = <shipment #>.
      i_item-delivery = <delivery #>.
      APPEND i_item.
      i_itemaction-delivery = 'D'.
      i_itemaction-itenerary = 'D'.
      APPEND i_itemaction.
      CALL FUNCTION 'BAPI_SHIPMENT_CHANGE'
        EXPORTING
          headerdata       = s_header
          headerdataaction = s_headeraction
        TABLES
          itemdata         = i_item
          itemdataaction   = i_itemaction
          return           = i_return.

  • Velocity override command not working

    I am using ni pci-7334 stepper motion control board.
    flex_set_velocity_override command is not working in VB6. the selected axis gets killed?
    Please reply.
    Regards

    Hey Nandkumar,
    The velocity of a contoured move is not determined by the velocity parameter but by the distance between the position points in the contour array. Thus, in this case, the velocity parameter has no effect and flex_load_velocity_override() doesn't change the velocity of contoured moves. The velocity override command does work with straight line moves, arc moves, and other moves, just not with contouring moves, because the contour moves set their velocities in a different way. Please refer to the following discussion forum link Using velocity override in absolute contouring mode for more information on why this function doesn't work with contouring moves. Also, in this discussion forum there is somewhat of a work around.
    I hope this helps. Please let me know if you have any further questions on this. Thanks and have a great day.
    Regards,
    DJ
    Applications Engineer
    National Instruments

  • Why is my BDC_CURSOR command not working to position the cursor?

    Why is my BDC_CURSOR command not working to position the cursor?  Here are the details regarding my issue.
    I am writing a BDC to mass delete routing material assignments using transaction CA02.  I am OK to navigate through the initial screen to go to the Header screen and from here I am OK to navigate to the Material Assignments screen.  But once here, I cannot get the BDC_CURSOR command to take me into the list.  Here are the commands I am using.  Please let me know what I may try differently.
    CA02 Material Assignment - Set position  <-- this resets list of materials to correct position
      PERFORM bdc_dynpro      USING 'SAPLCZDI'   '1010'.
      PERFORM bdc_field       USING 'BDC_CURSOR'  'RC27X-ENTRY_ACT'.
      PERFORM bdc_field       USING 'BDC_OKCODE'   '=ENT1'.
      PERFORM bdc_field       USING 'RC27X-ENTRY_ACT'  c_position.
    CA02 Material Assignment - Delete
      PERFORM bdc_dynpro      USING 'SAPLCZDI'   '1010'.
      PERFORM bdc_field       USING 'BDC_CURSOR'  'MAPL-MATNR(01)'.    <-- this is not working to set the cursor into the list
      PERFORM bdc_field       USING 'BDC_OKCODE'  '=LOE'.             " trash can
      PERFORM bdc_field       USING 'RC27X-ENTRY_ACT'  c_position.
    CA02 Material Assignment - Green Check OK
      PERFORM bdc_dynpro      USING 'SAPLCZDI'   '1010'.
      PERFORM bdc_field       USING 'BDC_CURSOR'  'RC27X-ENTRY_ACT'.
      PERFORM bdc_field       USING 'BDC_OKCODE'   '=BACK'.            " check mark
      PERFORM bdc_field       USING 'RC27X-ENTRY_ACT'  c_position.

    Thank you for your reply.
    I had used SM35 to record.  However, I was not aware of the "create program" feature.  I had commented out a section from my previous post which I have now added back (latest code below).  But it still did not resolve the issue.
    When I execute with dismode = 'N', I get back error message "No batch input data for screen SAPLCZDI 1010".
    When I execute with dismode = 'E' (only show dynpros when error), it stops at the material selection screen without placing my cursor in the list.  I can then MANUALLY click to set the cursor position in the list, MANUALLY click the trashcan, it then uses my BDC command to respond to the popup asking "Do you want to delete", still leaving me at the material selection screen.  I can then MANUALLY click the green check (or enter), then it continues with the BDC to go back to the previous screen, and saves.  But it still will not place my cursor in the material selection list (SAPLCZDI screen 1010).
    Here is code used.  It is the second section of code labeled "CA02 Material Assignment - Delete" that is not working.
    CA02 Material Assignment - Set position
    this code functions to position the desired material to first in screen list
      PERFORM bdc_dynpro      USING 'SAPLCZDI' '1010'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'RC27X-ENTRY_ACT'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=ENT1'.
      PERFORM bdc_field       USING 'RC27X-ENTRY_ACT'
                                     c_position.
    CA02 Material Assignment - Delete
      PERFORM bdc_dynpro      USING 'SAPLCZDI' '1010'.
      PERFORM bdc_field       USING 'BDC_CURSOR' 
                                    'MAPL-MATNR(01)'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=LOE'.             " trash can
      PERFORM bdc_field       USING 'RC27X-ENTRY_ACT'
                                     c_position.
    Acknowledge Pop-Up Screen
      PERFORM bdc_dynpro      USING 'SAPLSPO1' '0100'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=YES'.
    CA02 Material Assignment - Green Check OK
      PERFORM bdc_dynpro      USING 'SAPLCZDI' '1010'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'RC27X-ENTRY_ACT'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=BACK'.            " check mark
      PERFORM bdc_field       USING 'RC27X-ENTRY_ACT'
                                     c_position.

  • Queries not working with multiple bind position variables?

    still need help here - can anyone provide any direction?
    (note: this is a follow-up from prior topic, " How to use JDBC Positional Binding Style & ExecuteWithParams?")
    I created two simple view objects off of the same entity
    object to perform this test:
    #1 - ViewObject with one bind position variable - where clause: where id > ?
    #2 - ViewObject with two bind position variables - where clause: where id > ? and id < ?
    I created two separate .jspx pages, view1.jspx (one input field) and view2.jspx (two input fields), for each view object by dragging ExecuteWithParams operation onto the JSF page.
    The .jspx page with one input field works (returns result sets.) The view2.jspx page with two input fields does not work - the query does not return any result sets (no errors produced, it just does not return any rows) - I've tested my query outside of jdeveloper and it works fine. I also tried switching my inputs to make sure I did not have an illogical query (i.e., id >100 and id< 1).
    Is there anything different / extra I need to do to use two bind position variables?
    Everything in this simple test was identical except for using 2 input variables versus 1.
    Technology stack is: jdeveloper 10.1.3, jsf/ADF BC, mySQL 5.01
    Message was edited by:
    javaX

    Using the where clause: "where id > ? and id < ?” for the 2 input variables, I get the same result - no row results returned (though query works outside the browser.)
    Interestingly, I modified the where clause to “where between ? and ?”, and then used values of ‘1’ and ‘100’ to test. Using the BC4J tester, the query gave back a single row with id = 100 (should have brought back 100 rows because there are 100 records with id’s 1-100.) So I got it to return something, but not the right results. This makes me believe that a different query is being sent to MySQL other than what I'm expecting from what is shown in the SQL Statement of the View Object..
    Is there anyway to view what SQL statement is actually being sent to the database using the BC4J tester? Also, could this be an issue related to the mySQL connector drivers and JDeveloper? I’m using mysql-connector-java=3.1.11-bin.jar (10/10/2005)? First though, if I could see what query is actually being sent, this may help me to debug and figure out the problem.

  • Why is Transform Tool "reverse position" not working??

    Hi.. I have a part that I want to reverse the pitches of so that I can record it as audio and then reverse it so that it is a reversed version of the sound, yet it's playing the right pitches at the proper time...
    I was under the impression that the transform tool could do this, however it is not working for me. Could some please enlighten me to my error?
    Here is a video of my efforts:
    http://collinatorstudios.com/video/transform.mov
    -patrick

    Nevermind.. I found this thread, where someone already brought this up.
    http://discussions.apple.com/thread.jspa?messageID=762890
    Someone said:
    "Position
    Time position of the event, referenced to the start of the MIDI Region (not of the song)."
    as silly as that is (if it's true), it still doesn't work when I set it to "all"... It only works if I drag the part to the beginning of the song...
    Apple should really hire me to help them fix this program.. (sigh).
    -p

  • Scrollbar positions not working

    i got a tree like structure in jsp as
    Root
    --- Node1
    ---- ChildNode1
    --- Node2
    ---- ChildNode1
    ---- ChildNode2
    --- Node3
    ---- ChildNode1
    --- ChildNode1.1
    --- ChildNode1.2
    ---- ChildNode2
    .......and so on
    this is a dynamic tree . on click on each node the page is refreshed and the below child nodes are retrieved form the database.
    its all are working fine but my bug is on chicking on the each node, the page goes to the top again and again i ve to scroll down to position of the node what i have to do to hold on the scroll bar position where it is for the previous page.
    ive used ScrollTo() but its moving and again it goes to the top automatically wat to do

    Thanks for the suggestion, but I already looked before and
    after page 6, nothing has changed. I've been trying to create a new
    scrollbar with the instructions from the help on the UIScrollBar
    component, but the arrows on the scroll bar don't show up.
    I have the text in the text box showing up and changing with
    each page. But the scroll bars are not working. Here is the AS I
    have on frame 1:
    NarrativeText_bottom = narrative_text[_root.CurrentPgNumber];
    this.createClassObject(mx.controls.UIScrollBar, "my_sb");
    my_sb.setScrollTarget(InstanceName_0);
    my_sb.setSize(16,InstanceName_0._height);
    my_sb.move(NarrativeText_bottom =
    narrative_text[_root.CurrentPgNumber];
    this.createClassObject(mx.controls.UIScrollBar, "my_sb");
    my_sb.setScrollTarget(InstanceName_0);
    my_sb.setSize(16,InstanceName_0._height);
    my_sb.move(InstanceName_0._x + InstanceName_0._width,
    InstanceName_0._y);
    // Load text to display and define onData handler.
    var my_lv:LoadVars = new LoadVars();
    my_lv.onData = function(src:String) {
    if (src != undefined) {
    InstanceName_0.text = src;
    } else {
    InstanceName_0.text = "Error loading text.";
    ._x + InstanceName_0._width, InstanceName_0._y);
    // Load text to display and define onData handler.
    var my_lv:LoadVars = new LoadVars();
    my_lv.onData = function(src:String) {
    if (src != undefined) {
    InstanceName_0.text = src;
    } else {
    InstanceName_0.text = "Error loading text.";
    When I drag the component to the side of the text box, the
    instance name for the text field (InstanceName_0) automatically
    populates the _targetInstanceName property of the component, like
    it's supposed to. So why are the arrows on the scroll bar not
    showing up?? PLEASE HELP! thanks.

  • TS3274 I went to an Apple store yesterday and the guy there did something and now the ipad only works in the vertical (portrait) position and not the horizontal (landscape) position.  How can we make it work in both positions?

    I went to an Apple store yesterday and the guy there did something and now the ipad only works in the vertical (portrait) position and not the horizontal (landscape) position.  How can we make it work in both positions?

    Just in case you are not running iOS 7 and don't have the control center feature.....
    If you see a lock icon in the upper right corner of the screen - then the screen orientation is locked.
    Try the side switch above the volume rocker first and see if that unlocks the screen. If that doesn't do it and you are running iOS 5 or 6, double tap the home button and swipe to the right and look for the lock icon all the way to the left.
    If you are running iOS 7, swipe up from the bottom of the screen to get to the control center and the lock icon is in the row of icons at the top all the way to the right.
    If the screen is unlocked but still will not rotate, reset the iPad.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the button

  • Key Command troubles: Set Region/Event Start to SPL Position not working?

    Hello,
    I'm simply trying to find a key command that will allow me to move regions quickly from one part of a song to another without dragging with them with the mouse in the arrange window. I thought I found the solution with the key command "Set Region/Event Start to SPL Position", however it doesn't seem to be doing anything!
    Here's what I've tried: First I select the region I want to move, then I move my SPL to a location using the "go to Position" key command and typing in a bar. I then try to use the "Set Region/Event Start to SPL Position" key command (which I set to Shift-Control-L) and nothing happens. Shouldn't it be moving my region to the SPL? Note: the region is still selected, but refuses to move. Am I doing something wrong? Is this not what this key command was designed to do?
    In my attempts to get the darn thing to work, I also discovered that lock screen-set (Shift-L) key command also does not seem to work (it is not toggling the black dot after the screen-set number like usual). Does this mean my key commands may be corrupted? (which would be a real drag!!) Oddly enough, these are the two are the only two that do not seem to be working, as all others seem to be working fine (AFAIK).
    I've had this problem in the past with the lock screen-set key command not working, and rebuild all key commands and templates when I upgraded to tiger. I thought everything was working fine!
    Any advice would be greatly appreciated! Thanks in advance for your help!!

    I assigned F5 to two functions. In the key commands
    window, pressing F5 highlighted the first assignment.
    Pressing it again highlighted the second assignment.
    So just keep pressing the key to see whether it's
    assigned to more than one command...
    Well, now when I type "Shift-L" into the finder in the top right of the key commands window, no key commands at all are show. However, which I search for the word "lock," the lock screenset key command comes up as "Shift-L." Oddly, if I search any other key commands (such as F1, "cmd-k," or even other shift ones like "shift-," the associated key commands show up.
    To test, I changed the screen set lock from Shift-L to "opt-ctrl-L" and it now works again. However, it still will not come up in the key commands window through searching by "opt-ctrl-L"
    On what may be a side note, the search feature seems very buggy! Tell me if I'm doing this right: First I open the key commands window, which opens with nothing selected. Now, in order to search by key command I go up to the top right corner where the magnifying glass is, place my curser inside and type in the key command correct? When I do this, it shows me the highlighted key command in the left, and my curser is no longer flashing up in the magnifying glass, correct?
    Now, in order to search again, I have to place my curser in the search field again, right? However, now when I search by key command, not all of them register! For example, my "go to position" key command is simply ; but when I type it, nothing comes up in the search, and instead of the magnifying glass window being blank like before, the actual ; is in the box. Oddly enough, searching with "Cmnd-K" still works!
    What is going on? Am I doing something wrong? How do I fix this, as it is very frustrating!! thanks again for your help

  • Hi APPLE! I have one question, Why does my iPod Touch 5-th generation WiFi is not working, When an iPod is in sleep position It appeared after the update iOS seven!! Please tell me how to fix it!!

    Hi APPLE! I have one question, Why does my iPod Touch 5-th generation WiFi is not working, When an iPod is in sleep position It appeared after the update iOS seven!! Please tell me how to fix it!!

    You are not addressing APple here. We are all just users like yourself.
    See if this long discussion for iOS 6 helps
    How do I make IOS 6 keep wifi on when...: Apple Support Communities

  • Speakers Not Work When Diplay is in Upright Position - Lenovo G450

    I have a Lenovo G450. Recently the built-in speakers will not work when the display monitor is in open position. The speakers will work when display monitor is half closed. How can I fix this problem?
    Thank you for any help you can offer to me in solving this problem. ..

    The speaker is installed at the bottom of the notebook please make me correct if it is on Display Panel.
    Make sure you have the updated Audio driver and BIOS.
    Please refer to the web link http://consumersupport.lenovo.com/us/en/DriversDownloads/drivers_list.aspx?CategoryID=370748
    You may also connect the external speaker and check if the same issue appears.
    Best Regards,
    Tanuj
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution".! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

Maybe you are looking for

  • Idoc enhancement

    hi all i have to enhance debmas idoc can anybody tell me procedure for doing that.

  • Data Visualaztion Trial Watermark?

    Hi, I've searched the forum but no solution. We recently upgraded from Flex 2 Professional with charting components to Flex 3 Professional with charting components. The watermark for Data Visualization Trial shows up ? How do we get rid of this water

  • How to view FCPX Render Files?

    To start with a simple question: In what format does FCPX store render files? I used to be able to view them in Quicktime with older versions of FCP. How can I view these files in FCPX? These are the sort of large files that show up in your "High Qua

  • Configuring EM DB Control

    Hi All, Oracle version : 10.2.0.4.0 I need to configure Enterprise Manager Database Control for a 2 instance RAC database. SYSMAN schema is not installed. How to install SYSMAN schema manually... commands please... Mahesh. Edited by: Mahesh Menon on

  • 08 Macbook, when printing with HP software, bluetooth disappeared

    The CFO of my company came to me today with an interesting issue with his MacBook.  This morning when printing 2 docs simultaneously by mistake using the HP printer software for his printer, his bluetooth icon disappeared in his system tray, and in h