Spark Move with position constraints

I am trying to shake a login screen similar to the standard example, however if I have the login screen centered with horizontalCenter the effect does not work.
I have tried various things like transformx instead of xby etc with no effect. Similarly the autoCenterTransform setting seems to have no effect.
Suggestions appreciated. Is this a bug? (beta 2 base release)
Thanks
Dan Pride

Hi Dan,
Glad it was of use to you, as usual when I start playing I just can't help myself , I thought if position constraints get in the way just animate them -
<s:Parallel id="shudderme">
<s:Animate target="{pnl}" repeatBehavior="reverse" repeatCount="100" duration="10" effectEnd="shakeme_effectEndHandler(event)">
<s:SimpleMotionPath property="verticalCenter" valueFrom="10" valueTo="-10"/>
</s:Animate>   
<s:Animate target="{pnl}" repeatBehavior="reverse" repeatCount="100" duration="10" effectEnd="shakeme_effectEndHandler(event)">
<s:SimpleMotionPath property="horizontalCenter" valueFrom="-10" valueTo="10"/>
</s:Animate>   
</s:Parallel>
This sorta jerks the panel around like a swimmer in the jaws of a playful shark...once again you would just use the effectend handler to position the panel into its resting place.
David.
p.s: I would just like to thank Chet as without his great tutorials I would probably still be getting overly frustrated with gstween rather than having fun trying to break spark animators ...

Similar Messages

  • How do I get a path to move with a 3D tracker?

    Here is what I have so far: Lumia920 Flying Text - YouTube
    What I'm trying to do in this video is to get the floating Lumia 920 to reflect off of the desk, but not the phone and not the taped part of the desk. I've been trying to apply a mask to a copy of the underlying footage, but there's no position options once I do that.
    My method of getting what I have so far was to:
    1. Track Camera on the underlying footage.
    2. Choose a plane and set up the Lumia 920 text where I want it.
    3. I have a couple of light layers.
    4. For the reflection, I duplicated the Lumia 920 layer and played with the x-axis orientation. Then I decreased opacity to 15% and applied a fast blur.
    How do I get that reflection to be masked in some areas and for the masks to move with the phone and taped part of desk?
    Thanks!

    Im an idiot. I figured it out. I was trying to mask the duplicate. I got rid of the duplicate and just masked the text layer itself.

  • DV goes soft with position change.

    I am currently editing a video in which I am using a letterbox overlay for titles. This crops the top and bottom of my 4:3 video and makes it similar to widescreen. (Only I am using the upper and lower space for text.) Because of this, I frequently need to reposition the video clip underneath the title matte to reframe the image so the content I want in making it through the matte.
    Every time I do this and render, the resulting image is soft. I likewise find the same problem with speed controls. (Even reverse at -100%) While I understand that frame blending occurs and will soften a slowed image, I don't know why repositioning the image impact the quality as much as it does. I looked in the render settings and tried selecting Max Bit Depth (even though this shouldn't effect the sharpness of the image) and it didn't make any difference.
    I can throw all these clips in After Effects and get the desired result, but does anyone know why this is happening and if there is a way to resolve it in Premiere?
    Thanks,
    Dave
    Premiere Pro CS3
    Project Settings:
    MSDV
    720x480
    NTSC

    You are potentially dealing with 2 issues here: interlaced video fields being placed incorrectly and/or subpixel positioning.
    For example, when full D1 video (720x486) is cropped to fit DV frame sizes (720x480), common sense would say that you take 3 rows of pixels off the top, and 3 rows off the bottom.
    But that reverses the field order, so you must crop 2/4 or 4/2 to maintain the even/odd field order relationship.
    Similar arguments hold for moving the frame, which is why tlc51369 is entirely correct that shifting the clip position by one pixel can make a huge difference.
    If you move the clip in less than one pixel increments, then Premiere must interpolate whole pixels to determine what the fractional pixels should look like. This subpixel positioning can also make a clip appear soft.
    So you must control your clip's movements with an awareness of what these 2 issues can do to a clip's sharpness. The interlaced fields issue can also adversely affect motion, adding jitter where there was none before.

  • Javabeans do not move with window

    I have spent some time getting a JavaBean in to Forms 6i - and after many hours and painstaking searching through Metalink, on-line help, HTML docs etc I eventually got a simple bean into a form and it displays ok when run, only to discover that if I move/resize/minimize the form in which the bean is embedded the bean remains where it was first displayed, independent of what is happening to the form.
    In article 120606.1 on Metalink it states that this is intended behaviour as the bean implementation is a Heavywight component and Forms 6i is lightweight based and will be fixed in Forms 7.0, the workaround is to hack the beanarea class provided as part of forms - is this accurate ?
    I access the bean through a simple Wrapper class - as per on-line help in 6i
    My wrapper class extends the VBean provided by Oracle and does nothing clever - My actual bean extends Canvas - should it extend something else (JPanel?)
    I would post this to Metalink but I am a bit dubious about being pointed back to the document I found.
    In summary :
    Has anybody seen this behaviour, is the Metalink statement correct and is there an easy work around to it ?
    Thanks in advance.
    Simon W.

    I thing i have a partial solution.
    My Component is an extend of a JPanel. My javabean does not move with my forms.
    The solution is to add a listener on the window module when the user move the forms window and set dynamically the position of your Component into the wrapper. Note i'm working with 6i.
    public class YourWrapper extends VBean {
         public void init(IHandler handler) {
              // getting the Forms Main class
              formsMain = (Main) mHandler.getApplet();     
              // getting your forms window
              final LWWindow w = formsMain.getDesktop().getWindow(0);                           
              w.addComponentListener(new ComponentAdapter() {
                   public void componentMoved(ComponentEvent e) {                         
                            System.out.println("Component w move ");                                            
                            // ADD YOUR Code here to set the position of your component
                            mycomp.setLocation( e.x, e.y);
                   } // end componentMoved()
              } // end inner class
    }This code maybe a partial solution.
    Note my window is 0. maybe your window must be other value.

  • Make my files move with the Finder window?

    I don't know how many of you are familiar with Windows, but in Windows Explorer, whenever you changed the size of the window you were viewing your files in, the files would move with the size of the window while still staying in the same order. When I resize a window in the Finder, my files stay in the exact same position they were before. They don't move with the window. Does anybody know a way to change this?

    Actually, it is possible, but it depends on what view style (Icon, List, Column View, etc.) and what view options are set.
    From your description, I assume you're referring to a Windows window that was in Icon view, such as the Control Panels window (when viewed in Classic Mode, that is).
    You can do this in a Finder window if you switch to Icon view, choose View > Show View Options, and then change the "Arrange by" popup button to something other than None or Snap to Grid. For example, choose Name (how the Control Panels' window would be sorted), and then when you resize the window, the items will be "redistributed" in rows from left to right accordingly.
    When you said "When I resize a window in the Finder, my files stay in the exact same position they were before.", that corresponds to the Arrange by setting of "None". This choice provides a way to arrange items in a "spatial" manner. For example, on your Windows Desktop, you might have put your Recycle Bin icon in the lower left, Computer icon at location X, Y, etc. In this particular mode, the location of the item is considered "important" and it won't be moved just because you made the window larger or smaller.
    The "Snap to Grid" is the same as the None (spatial), except that when you explicitly drag and drop an item to position it, it is automatically aligned into the nearest grid "cell" (row and column combination).
    Hope this helps....
    Message was edited by: MarkDouma®

  • How to move the position line to the "snape" ?

    I want to move the position line as the "snape" function ? I want to move the position line to the very beginning of objects .

    Forgot to add, 3 "gold dust key commands" ( extemporising on my good neighbour iS) ....
    1 - Click on a region then use Key Command "Set Locators by region"
    2 - "Go to left locator"... zips the Song Position Line to the very beginning of region
    3 - "Go to right locator" ...zips the Song Position Line to the very end of region
    ... when I was first introduced to these commands in late 1998... after struggling with Logic for 6 months, I nearly fainted with relief and delight
    Good luck young man
    Powerbook 5,8 - LP7.1.1   Mac OS X (10.4.9)   1.67 GHz PowerPC G4, 1.5GB SDRAM

  • IRecruitment Create Vacancy: Move the Position Field

    Hello all,
    I was wondering if anyone knows how or if we can move the position field on the Create Vacancy: Vacancy Details page. We are unable to reorder the page using personalizations and we are strictly avoiding customizations, but the position field is in place where it just doesn't make sense.
    In some cases, users will select a position, which populates the job, organization and location fields. But on the page it is after all of these fields, which doesn't make sense. Also, the position LOV is empty if org and location are already selected. We can get around this by selecting position first, but it is 10th or so field on the page.
    Does anyone have any ideas on how we can accomplish this without customization? I don't think it is possible, but I thought I would get some feedback first.
    Thanks,
    Mark

    Dear Charlie,
    Thanks for your reply, but i still have the same problem.
    Actually i am creating new rule with the below conditions:-
    Category : For Your Information
    Conditions:
    VACANCY_INSERT_OR_UPDATE in (INSERT)
    VACANCY_RULE_TYPE in (CUSTOM_RULE)
    Action:
    approval-group chain of authority                    Require approval from HR Africa Coordinators
    Actually this rule is working fine and sending notification but my problem is that when creating the vacancy, its saying that vacancy submitted for approval which is wrong, i needed it to be created automatically.

  • Photoshop CC 3D - how do you move camera position?

    I'm in Photoshop CC 3D, and I have a simple scene with one complex object. I can't find any way to move the position of the camera beyond the default positions, like top, front, back. I can do it CS6, but I can't do it in CC. I can rotate the object, but I want to keep the object where it is. I want to move the camera.
    Any help gratefully received.

    Yes, thank you that works. It appeared to be constrained to 2 dimensional movements before, but now it works. It's very confusing having 3 dimensions to work in!
    Thank you for your clear and helpful answer.

  • Loaded movie with sound problem

    I have some movies with attached sound. The movie uses the
    sound position property and preset cue times to drive action in the
    movie. They play fine on their own but when they are loaded into
    another movie using either loadMovie or loadMovieNum, the sound
    does not play and the cue driven action don't work. I made sure to
    set the _lockroot property to true in the loading clip with
    loadMovie and also put it in the original movie and tried using
    loadMovieNum.
    What happened to the sound?

    when instantiating your sound object try:

  • AE CS5 - Shape Layer - Anchor point moves after position keyframe

    I am experiencing unintuitive (to me) behaviour with a brand new shape layer. Here are the steps to reproduce the issue. I have made a screen cap of the problem but can't figure out how to upload it to this forum.
    1. In an existing composition, I create a new Shape Layer
    2. By default the anchor point (center point) is in the dead center of the shape layer. Perfect.
    3. I turn on Position keyframing, and add a position keyframe at my current time
    4. Instantly the anchor point now jumps to the center of the composition, and so now when I scale my shape layer it doesn't scale properly
    If I try to use the Pan Behind tool, I get position keyframing. Besides, I SHOULD NOT HAVE TO DO THIS, since the anchor point was in the correct spot to start with, and it's only because of this keyframing "bug" that the anchor point jumps.
    What am I missing or doing wrong? How can I add a position keyframe to a BRAND NEW LAYER that has no other animation on it, and still keep the anchor point in the dead center of my shape?
    Thanks for your advice,
    Tom

    Thanks to Rick and Mylenium for your helpful answers. Rick, I'd prefer not to have to manually reposition, because I'm never going to be as mathematically precise as the software for positioning the Anchor Point dead center.
    Using the transform controls on the shape rather than the global container certainly did the trick! You guys are great. Thanks.
    [rant]
    In my defense as far as the constant exhortations to "RTFM", we all know that most veteran software users only go to the manual when there's a problem. You also know that Adobe's help system (particluarly in regards to search) has gotten worse over the years, not better. So when I run into a situation like this, I'm going to search through the help for what I believe the problem is: namely "anchor points", "transformations" and "keyframes", and maybe "shape layers". This is a fair amount of research, and it's exactly what I do as my first line of defense.
    The second line of defense that most tech savvy folk do, is a Google search; for example: "anchor point moves after position keyframe" or "After Effects shapes layer anchor point moves keyframe" etc. And you spend your time sifting through forums trying to find the relevant answers. I feel that THAT is my true due diligence, rather than reading the F'n Adobe manual that is so very very sparse.
    So after my due diligence, I turn to the experts communities, because there I know I will get educated, reliable help within a reasonable turnaround time. And because I myself contribute to these same forums in areas where I have higher than average expertise. The Adobe Forums have proven to be one of the great online resources.
    Finally, now that I have a great answer from two knowledgeable experts (thanks again!), I've also enriched the community, because of the way I have crafted my post title, hopefully the next poor ******* who has a similar problem and a similar methodology to finding resolution will stubmle upon my post because I've tried to overload the title with relevant keywords that will generate hits in google.
    Through my question, and your accurate answers, the global knowledgebase has improved.
    So forgive me for not memorizing the F'n Adobe online help. I go to the resources that are the most useful, expedient, and provide the greatest value as a whole.
    [/rant]
    Peace,
    Tom

  • Use movie with integrated alpha as mask

    Hi!
    I don´t know what is the problem... but i have a movie with an integrated alpha layer and i want to use it as a mask to cut out something in the layer under it.
    For this I use blend mode "silhouette alpha".
    It´s possible to stencil the layer under it, but the stenciled area is always black, but it should become transparent.
    Please help me
    cheers flo

    Heya Flo,
    You'll have an easier time and more control if you use an Image Mask. Select the object you want to mask and then go to Object->Add Image Mask to apply it. Then you just drag-and-drop any other object into the mask (in the Layers List or the Inspector), and you're good to go.
    By default, it uses the alpha of the reference object, but it can use any channel. You also have control over positioning and scaling, which is something that a blend mode can't do.
    Good luck with your project!

  • Linear movement with 2 motors attached to one axis

    Hello,
    I have a PCI NI 7356 board to control the movement of two motors attached to one axis. This configuration is intended to have more power.  Each motor has its own encoder. I need the axis to turn to a specified position and return back to the initial position, it is a straight line move. There is no problem to do this with each of the motors separated, but if I try to make the two motors work together, the result is a clattering noise. It looks like the two motors are trying to do a slightly different movement.
    I tried two ways to program this: Master/slave (gearing one axis to the other axis) and sending the same position command to both the axis and starting them sychronised. In both cases the result is similar. I get this clattering noise for slow speeds and it dissapears once the axis gets to high speeds. 
    What can I try to get rid of this clattering noise?
    I plan to test how does it work if I put the same encoder signal for both the motors, intead of having one encoder at each motor? Should this improve behaviour?
    I think that the best solution would be to control one motor in position and send to the other its DAC output.  It this possible ? I am using the flexmotion library programing in C.
    Thank you

    The best option was to command the two motors separately. We could get
    rid of the clattering with the help of some mechanical adjustments.
    We are doing some tests with the device. Some straight line movements
    moving different loads.  It works OK until 20KN at 300rpm and
    acceleration of 1rpss but when we try a stright line movement with 22KN
    the device stops giving a following error. We wanted to test if it
    could move the the load, so we took the following error check off. We
    found the behaviour to be similar, but this time the following error
    bit is not set to 1.  I copy the axis state data of one test:
    t            Pos1    V        DAC1    DAC2    STATUS1            STATUS2
    (seg)    (mm)   (rpm)    (volt)    (volt)
    0.17    -0.03    0.00      1.92    1.14      :0100010000000000    :0100000000000000
    0.34    -0.02    13.46      3.77    2.84    :0100010000000000    :0100000000000000
    0.47    0.17    40.39      3.20    2.77      :0100010000000000    :0100000000000000
    0.61    0.37    53.85      3.27    2.84      :0100010000000000    :0100000000000000
    0.80    0.67    81.43      2.92    2.42      :0100010000000000    :0100000000000000
    0.94    1.20    114.43      3.34    2.70    :0100010000000000    :0100000000000000
    1.11    1.66    122.23      1.99    2.70    :0100010000000000    :0100000000000000
    1.25    2.34    158.97      2.42    2.92    :0100010000000000    :0100000000000000
    1.38    2.96    164.08      1.99    2.21    :0100010000000000    :0100000000000000
    1.55    3.62    184.93      2.63    2.70    :0100010000000000    :0100000000000000
    1.69    4.53    212.79      2.92    2.56    :0100010000000000    :0100000000000000
    1.83    5.42    226.74      2.28    2.56    :0100010000000000    :0100000000000000
    2.00    6.57    255.35      2.70    3.55    :0100010000000000    :0100000000000001
    2.13    -1.21    -2512.54  7.00    7.00    :0100010000000001    :0100000000000001
    2.25    -9.83    -2558.19  7.00    7.00    :1100010000100011    :0100000000000001
    2.45    -22.64    -1691.88  7.00    7.00  :1100010000010010    :1100000000010010
    2.58    -22.18    -33.69      7.00    7.00  :1100010000010010    :1100000000010010
    2.75    -22.19    13.46      7.00    7.00   :1100010000010010    :1100000000010010
    The tests start OK, but after getting to 5.42 mm on the position (when
    the command was 200mm) the motor 2 goes to Off (pin 0) and then the
    motor 1. We don't understand why could this happen. The following error
    check has been dissabled and we see that the pin for it stays in 0, but
    why is the pin 0 set suddenly to 1?
    Thank you,

  • Random move with dragable in bouded area

    respected sir i m doing hard work since 6 months,u r god 4 me
    ,if u help me..plzzz
    My prb : i want make a object (random movement with dragable
    in bounded area like a farm hause.
    ----------------------Bounded movement
    onEnterFrame = function() {
    with (_root.yash){
    x1 = _x;
    y1 = _y;}
    var shapeFlag = true;
    if (_root.dragArea.hitTest(x1,y1,true)) {
    if (dragArea._x < yash._x-20){
    yash._x = dragArea._x+(yash._x-100)
    } else
    if (dragArea._x > yash._x+20){
    yash._x = dragArea._x-(yash._x+100)
    } else
    if (dragArea._y < yash._y+20){
    yash._y = dragArea._y+(yash._y-100)
    }else
    if (dragArea._y > yash._y+20){
    yash._y = dragArea._y-(yash._y+100)
    ----------------random movement and dragable
    onClipEvent (load) {
    //data you may want to change
    width = 550;
    height = 400;
    speed = Math.round(Math.random()*2)+1;
    //initial positions
    x = Math.random()*width;
    y = Math.random()*height;
    this._x = x;
    this._y = y;
    x_new = Math.random()*width;
    y_new = Math.random()*height;
    onClipEvent (enterFrame) {
    //x movement
    if (x_new>this._x) {
    sign_x = 1;
    } else {
    sign_x = -1;
    dx = Math.abs(x_new-this._x);
    if ((dx>speed) || (dx <-speed)) {
    this._x += sign_x*speed;
    } else {
    x_new = Math.random()*width;
    //y movement
    if (y_new>this._y) {
    sign_y = 1;
    } else {
    sign_y = -1;
    dy = Math.abs(y_new-this._y);
    if ((dy>speed) || (dy <-speed)) {
    this._y += sign_y*speed;
    } else {
    y_new = Math.random()*height;
    onClipEvent(enterFrame){
    if(drag){
    _x = _parent._xmouse;
    _y= _parent._ymouse;

    The else part modified:
    else
    { // not a corner point: keep handles in same relative position to their shifted anchor
        var aShift = Math.random()*cShift;
        var bShift = Math.random()*cShift;
        thisPoint.anchor = [va  + aShift, vb + bShift];
        thisPoint.leftDirection = [la + aShift, lb + bShift];
        thisPoint.rightDirection = [ra + aShift, rb + bShift];

  • Blending movements with diferent blend factors

    I want to perform a series of XY moves but with diferent blend factor between some target positions but I'm not sure about the correct order of functions calls using FlexMotion API.
    In the following example:
    - all target positions are in a vector space with same velocity, acceleration/deceleration and same direction of movement;
    - when motion completes at target position 2 I want a dwell time of 1ms before starting motion of target position 3;
    - all other movements should be blended with a blend factor of -1.
    flex_load_blend_fact(-1);
    flex_load_vs_pos(X1, Y1);
    flex_blend();
    flex_wait_for_blend_complete();
    flex_load_blend_fact(1);
    flex_load_vs_pos(X2, Y2);
    flex_blend();
    flex_wait_for_blend_complete();
    fl
    ex_load_blend_fact(-1);
    flex_load_vs_pos(X3, Y3);
    flex_blend();
    flex_wait_for_blend_complete();
    Are this sequence of functions calls (in particular flex_load_blend_fact) correct ?
    Thanks !

    Tulio,
    The way you present your code is correct. When blending, the order of functions should start with the parameters being set (e.g. Blend Factor, Target Position, etc.), then you will start the motion (e.g. Blend). For sequencing multiple moves with blends, FlexMotion must complete one blend before parameters for the next move are loaded. So by calling Wait For Blend Complete you are satisfying this requirement. After the Blend is complete upload any new parameters and call Blend.
    I don't see any mistake with the code you present here, it should work properly. Good luck!
    Best Regards,
    Nestor S.
    IMAQ/Motion Support
    National Instruments
    Nestor
    National Instruments

  • Synching Movie with 30GB

    When trying to sync a movie i just downloaded the snyc began and a few seconds in a received the error message "Attempting to copy to the disk "Ipod" failed. THe disk could not be read from or written to"
    My first attempt was to try again, and the same error message appeared. I then went through the 5 r's and the problem still persisted.
    Next i went on to the troubleshooting topic and went through those fixes and used them. The only one i could not get to work was repairing the disk drive, and because i'm a windows user i had to use the chkdsk command and it did not work properly, or i did not format it properly.
    Anyway that still did not help and i went so far as to copy the movie file to a different folder, delete the original and then import it back in. Still the movie will not sync with the ipod. My best guess is the lack of USB 2.0 drives, in which case i would have to install a hub. But i would prefer another way out if possible. Any help would be appreciated
    Dell Dimension 4300   Windows XP   No 2.0 USB drives

    Hi
    May be You mean this ?
    Play all resp one chapter at a time
    Play All Button
    1. There are NO - Play All - button in any version of iDVD
    2. It can be faked in several ways
    • Easiest and most fault proof way is to make a doublet movie containing All and with
    Chapters set to match. It will take up x2 space but is easy to understand and produce.
    Cons: Tried this in iMovie’11 by Exporting out each part as a full Quality QT.mov then Importing back into new events and putting these into a new project (Play All project). Resulting DVD had Audio that was OK (as parts) - BUT the picture was very bad and standing photo were cut of in hight. So the Play All movie has to be created from same material and exactly in the same way as the individual parts + then Chapters has to be set to match.
    • It's said that one can put all movies into a Photo/SlideShow and this will also
    give the function of a Play All button - Tested - and ONE HAS TO un-cheque - Scale pictures to TV-Safe area else it will be a black frame all around and a small picture !
    Mike Evangelist1
    You might be able to get close to what you want by using a slideshow in iDVD. (It's not widely known, but you can put videos in a slideshow.) If you set the slide duration to manual, playback will pause after each movie/slide, and you can continue with the 'next' button.
    3. Using another program to do this e.g.. Roxio Toast™ where there is a Play All button option.
    Summary
    a. Making a Play All movie with same care as the individual Part movies - gives a very Good Result
    b. Using Roxio Toast™ - also an usable way to go
    Yours Bengt W

Maybe you are looking for

  • 16 bit tiff to 12 bit conversion

    I need a algorithm to convert 16-bit tiff files with pixel values ranging from -32768 to 32768 to 12-bit values ranging from 0 to 4095. The algorithm provided by NI (http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/10560a596bd

  • SERIAL in replication

    Hello all, i am designing an schema to use later in replication with maxdb, can i use  the serial autoincrement in a table if i am sure it is not updated on two different databases at the same time? other question any suggestion to the primary key of

  • Photos do not upload

    I changed the upload folder for photostream (perhaps a mistake) and now photos do not upload. What am I doing wrong?

  • JDev/ADF Faces 11gR2.3: UI Shell, how to disable scrollbars from logo

    I have set a header logo by using the UI Shell template property "logoImagePath" attribute. Upon running the page, I notice that if I resize the browser window width to a smaller value then the image width, horizontal and vertical scroll bars appear.

  • Connection 1.3 OK, but 1.4 fails

    I'm using a JDBC connection to access an Oracle db. Using JDK 1.3 it functions OK with the following run-command: set JDK=C:\jdk1.3.1\jre set PROJ=C:\Distro set ORACLE=%PROJ%\classes12.zip set path=.;%JDK%\bin; set classpath=.;%PROJ%;%ORACLE%;%JDK%\j