Change Tween Duration

I have Actionscript tween and I am using a variable to control duration of the tween and want tot change that variable during a button function that takes place after the tween, but it doesnt change. Is there a way to change a tween property after its already run?
var tweenDelay=16;
var btnTween:Tween = new Tween(oneBtn_mc, "y", Strong.easeInOut, oneBtn_mc.y, 334.95, tweenDelay, false);
I am runing a button function that plays the tween to animate some buttons on with tween.start(); and then I am using tween.yoyo(); to reverse it when the button is pressed again. But they animate to close to each other so I need to offset it. On the second push I have the variable tweenDelay=10, but when I did a trace(btnTween.duration), and it stays 16.

once btnTween executes what difference would it make to change tweenDelay (which is a misnomer - it's really tweenDuration);
any way, use a 3rd party tween class like tweenlite that allows the use of a delay parameter.  google: tweenlite as3 greensocks.

Similar Messages

  • Is there a way to change the duration of a group of selected clips all at once?

    Hi all,
    I'm working with good old Premiere 6 on Windows 7.
    Is there a way to change the duration of a group of selected clips all at once?  If I have a large group of clips in my timeline that are all the same duration, once I've selected them all in a group, can I somehow change the frame number duration of all the clips at the same time?
    I've found other things that can be done to a group of clips at the same time, but I can't find a way to change the duration of a group of selected clips.
    Thanks,
    digi

    Thanks Jim and Bill,
    In my efforts to work around the problems with the distortion and horizontal interlace lines that come when using the Motion Settings, I'm doing stop frame animation with hundreds and hundreds of layers in PSDs in multiple files placed in hundreds of one, four and six frame sections in Premiere, so if I find that I need to change the number of frames per clip in hundreds of consecutive clips (not actual duration of speed changes), then I need to pull out the right side of hundreds of frames after first moving them apart enough to allow for changing them if I'm making them longer.
    These animations are different from the rotating reel animations in that they are for laterally moving subjects that are long streams of moving graphics and photos.
    I read about "clip nesting", but I think that only applies to clips or groups of clips that are the same, whereas my clips are each from different imported layers times 125 or so, consecutively placed one after another to create the laterally moving stop frame animation.
    Now I've tried johnbmx4christ's alternate method of creating rotations that was just posted on the other thread about the rotation distortion, but that method results in the same oblong distortion and messed up looking horizontal interlace lines.
    What a can of worms.
    Thanks,
    digi

  • Is it possible to change the duration of the timeline in Premiere Pro CS5.5?

    I'm used to working on Avid systems where the length of the timeline is determined by the last asset in the timeline, where it ends. I'm editing commercials and don't need or want a 10 minute timeline. Does anyone know how to change the duration of the timeline, like you can in After Effects? I've tried everything I can think of and It seems like it is not possible.... Thanks!

    Now, if you are seeing a Duration for your Timeline, that is longer than what you "anticipate" with your Assets on it, then you could well have an "Orphan," out beyond the anticipated end. This ARTICLE goes into more detail.
    Good luck,
    Hunt

  • How do  I change the duration of a song on the iMovie app on an iPod touch 5th generation?

    I have an iPod touch 5th generation and I downloaded the iMovie app on it. I want to make a movie and I put a song and picture on there. How do I change the duration of the song?

    Hello MisfitxCaleb,
    The help article for iMovie linked below details how to adjust the duration of audio tracks.
    Arrange audio clips
    http://help.apple.com/imovie/iphone/2.0/index.html#knaddae6c843
    Cheers,
    Allen

  • How do I change the duration of a still image in iMovie to less than 0.1 second?

    I am creating a movie using iMovie where I need the still images to be 0.05 seconds each or maybe even less., but whenever I select the still images and go to "Clip Adjustments" and under duration change 0.1s to 0.05s and select "Done", iMovie changes the duration back to 0.1s. I'm fairly new to iMovie and I've been messing around with it for quite a while now and still can't figure it out. Could someone help me?

    AppleMan1958 wrote:
    … I have found there is a practical limit of about 3 to 5 frames where iMovie does not want to go shorter when using the Duration popup box.
    for stop-motion there are perhaps better tools avail
    istopmotion is a commercial app (starting at 40€ in the AppStore) offering additional tools for the animation master, such as onioning or tilt-shift.
    http://www.dayofthenewdan.com/projects/time-lapse-assembler-1
    is some very basic stills-assembler, stitches stills together only, therefor free ..........

  • Change slide duration to 2.5 seconds??

    Is it possible to change the duration of a slide to 2.5 seconds in imovie08. I keep trying, but it seems to make it go to 4 seconds rather than 2.5. 2 seconds is a little too fast and 3 makes my slide show a bit too long. I have also changed the duration of the transitions, but that makes the transitions too quick, but that I can live with. I would just like to shorten the slides a bit.
    Thanks for your help!
    Colleen

    I would just like to shorten the slides a bit.
    Add all your slides at the current default whatever it is. After the last one is added, select it and "Control-click" it to open the contextual menu. Now select the "Set Duration" option, enter the time you want, and the select the option to change all photo durations.

  • In the latest version of iMovie how do you change the duration of the clips

    In the latest version of iMovie how do you change the duration of each clip?

    Try 'window' (in the menu bar)>movie properties>settings
    http://help.apple.com/imovie/mac/10.0/#mov4e66c1a8b

  • Why can't I change the duration of a still frame?

    I am running Final Cut Express 3.5.1
    When I try to change the duration of a still frame it generally snaps back to the existing duration rather than changing. Occasionally it will change but never to the duration I select which is ususlly :20 to :50 of a second. It sticks on a variety of durations between 1:20 and :05. I have tried both altering and rewriting the duration.I have tried restarting as well as all of the following methods:
    1 Changing the duration in the User Preferences > Editing, still duration field.
    2 Ammending the browser duration column .
    3 Double clicking on the still to open it in the viewer and changing the duration field.
    4 Draging the still into the timeline, control clicking and changing the duration in the drop down menu.
    5 I also clicked on the still in the browser > edit > item properties but there was no timing tab available to select (as suggested on another posting.)
    1.25GHz Power PC G4 1MB L3 cache   Mac OS X (10.4.9)   80GHz hard drive 1.5 GHz Ram plus Firewire 400 250 GHz la Cie external hard dri
    1.25GHz Power PC G4 1MB L3 cache   Mac OS X (10.4.9)   80GHz hard drive 1.5 GHz Ram plus Firewire 400 250 GHz la Cie external hard dri
    1.25GHz Power PC G4 1MB L3 cache   Mac OS X (10.4.9)   80GHz hard drive 1.5 GHz Ram plus Firewire 400 250 GHz la Cie external hard dri
    1.25GHz Power PC G4 1MB L3 cache   Mac OS X (10.4.9)   80GHz hard drive 1.5 GHz Ram plus Firewire 400 250 GHz la Cie external hard dri

    This project is just a short animation so every time I import the stills they are of the wrong duration so I try changing the duration by the other methods described previously, fail to be able to do that, erase everything from the project, restart and start again, initially with the preferences. So there's nothing for the still frames to conflict with. It's not the fact that there is a batch of stills that is the problem either as I keep experimenting with with single or small groups of stills in that context. I've also tried importing a variety of still formats into other projects. This is fairly new software. Could this be an incurable fault?
    1.25GHz Power PC G4 1MB L3 cache   Mac OS X (10.4.9)   80GHz hard drive 1.5 GHz Ram plus Firewire 400 250 GHz la Cie external hard dri

  • Change image duration from 1 frame to 2 seconds

    I have imported some images from an iMovie project to the timeline of FCP. They imported at 1 frame duration. I have tried every suggestion from other threads as to changing the duration of the images, to no avail. They seem to be locked. Nothing works. What am I missing? I need to change them to 2 seconds. I tried control/click and changing the duration to 2 seconds - no go. I have reset the preferences to 2 seconds, and imported another image as a test - still imports at 1 frame only. I have changed the duration in the Browser - doesn't change anything. I have tried the Viewer and can't make it budge. Help!
    I imported directly from iMovie to the timeline so I could keep the images in order. If I import from the browser, it imports at the preference setting, but that means I would need to wade through the browser to put them in order again (very time consuming to do it with 300 images)
    gary

    Would making a freeze frame of the image work? Could be pretty fast. Load in viewer, shift-n. drag to browser. Do you want to email me one of the images and I'll see if there's anything obvious? My email address is in my profile.
    Also, what format did you export them from in IMovie. You might be able to use a graphic utility or photoshop to do a batch conversion

  • How can I change the duration of stills on Final Cut Pro X?

    Hello everyone.
    I need to change the duration of stills and I'm having a hard time doing that. I'm not interested in changing the default setting. The stills need different times, so I need to be able to manually alter the duration of each clip. Does anyone know how to do this?
    Thank you!

    http://help.apple.com/finalcutpro/mac/10.0.6/#ver9847ec25

  • Claims Digger report - values for changes in duration/float/lags

    When I compare two projects using Claims Digger, I always get results for changes in durations, float and lags in hours as opposed to days? Is there a setting that can fix this?
    Please advise.
    Thanks!

    I think (not 100% sure) P6 is working as designed.
    The basic unit of comparison in P6 is hours and not what is set in user preferences.
    For example when you run a global change the basic unit used in calculations is hours.
    Also when we enter duration in days, its actually been stored in database in hours and then converted to days using activity calendar in P6v7.
    Jawad

  • Need Help Pasting Key Frames from one still image to others, and Changing the duration of multiple still images.

    I'm working on a stop motion project, and I have at least a thousand still images to work with.
    I have adjusted several Key Frame settings on the 1st still image in my project, such as
    Brightness
    Cropping
    Scale
    Position
    I now want to apply these exact settings to hundreds of still images at a time that make up one scene in the project (but not all still images in the entire project).. Is there a way to paste or easily transfer them?
    Also, there are scenes I'm working on in which I want to change the image duration of hundreds of photos at once, but not change to duration of all images in the project, is this possible?
    I've looked at several different web-links, but none of them have what I'm looking for. If you can please help me, I'd be willing to send you $10 through paypal. Knowledge is power; the solution to these problems would save me hours of time. If you don't fully understand my questions I can send you a pictures or a video, pointing out my needs.

    Stan,
    Thanks again for your input.
    When the project is created, I don't recall seeing the preference settings until after the project opens the first time.  In that case if certain media was imported into the project panel but not in the sequence, after the duration was changed, it would be necessary to remove the media from the project panel then re-import again.  If there is a workaround to this please let me know.  It also doesn't appear that creating a new sequence would prevent the re-importing.  Could you confirm?
    Thanks for the link on automating to sequence--I remember that from CS4.
    The application of identical effects to media on the timeline in a sequence was something I had learned back in CS3 or maybe earlier CS4 where the effected, in this case a transition between images was applied then copied then using the paste or (Control V) command, applied to all other stills.  That worked fine but with lots of images, it ends up being a lot of "point and clicks" since the CTI must be moved to each transition insertion point before the paste is applied. 
    I actually thought that I had seen someone select the remainder of the images in the sequence then apply the paste command but I was never able to make that work.  Have you heard of such a short-cut?
    Much thanks again!!

  • On iMovie 10.0.7 how can I change the duration of all of my photos in the project at once?

    On iMovie 10.0.7 how can I change the duration of all of my photos in the project at once?

    You can set the default duration of stills but you have to do it before you start the project. 
    iMovie is not really suitable for stop motion videos and iMovie 10 is worse than iMovie 9 because the minimum still duration is not really controllable as you have found.   I don't have experience of making such videos but there are 3rd party apps which appear more suited to this, for example http://www.macworld.com/article/1146623/stop_motion_Mac.html
    mentions some of them, though its a bit old and you may be able to find more up to date information.
    Geoff.

  • Can't change clip duration Motion 5

    I have tried all of the work arounds I have been able to find in the Support Commnity and still I can't change the duration of source clips in Motion 5.  I have trashed plist, rebooted, repaired permisions, changed timing of project, changed name of clip, used the Timeline clock instead of the Instpector window.  Cleared all In / Out points and reset them to slightly different values. I have changed Timing to Variable and back again.  I can open clips in a new project and change duration.  I have opened new project and copied some layers from working project, the problem persists.  Is reinstall the option left available to me?

    BenB,
    The specifics: Motion 5.0.4 Timeline is set to 6 minutes, the Media is 5:59;21 (QT,mp4, H264,1280x720, 24fps). Imported via File Browser into Layer Group (Group In / Out points are 0 and 6 mins, as is Play Range).  At one time the clip was in it's full duration.  Afterr a crash / restart it is only 01:52;27.  I can not Drag the clip to its full length. I cannot change it's duration thru the Inspector, not the Timeline Clock. 
    In an effort to isolate the issue I opened a new Project (same time setttings as original Project, imported the clip, which plays to it's full duration, and then, one at a time, copied and pasted all Filters and Parameters and Objects from the original Project; all play fine.  Then I copied the original Layer Group in it's entirety to the Test Project, and the clip is still limited to 01:52;27.  I then used Replace Media to select a random clips (same format) with varying Duration (all longer than 01:52;27) and got the same result every time; Duraton 01:52;27. Not one element of the Test Project has an In / Out set to anything other than the full Duration of the Project.

  • How do change the duration of multiple clips with timestreach?

    All of the options are grayed out.

    AdminID
    What version of Premiere Elements and on what computer operating system?
    Let us assume Premiere Elements 11, 12, or 13 on Windows 7, 8, or 8.1 64 bit for the purpose of an example.
    1. Select all the clip on the Timeline (all at one time) that are being targeted for same duration change.
    2. Right click anywhere in the selection, select Time Stretch, and, then in the Time Stretch dialog, change the duration 00;00;0O;00. (hours; minutes; seconds; frames).
    Do you have one of those versions that I mentioned, making sure to select all the involved clips ahead of time before going
    after Time Stretch?
    Selections
    If you want all the clips on the Timeline, then Edit Menu/Select All
    or
    Hold down the Shift key of the computer main keyboard, and, with the mouse cursor, click on each of the clips to be involved in this duration change
    or
    With the mouse cursor, draw a rectangle around the clips to go into the selection in order to select them
    Any questions or need clarification, please do not hesitate to ask.
    Thank you.
    ATR

Maybe you are looking for

  • Saving slideshows

    Slideshow is not saving after you watch it once. Any ideas?

  • Sales order Payment Procedure

    Can anyone give me the detailed steps for the payment procedure of the customer once we have created the invoice .Kindly give me the T-codes and tables been hit by the transaction so that I can track payments recieved by the customer.Thanx

  • Field PAYR-LAUFI

    Hi, I need advice on this field. I can create my own 'LAUFI' using txn F110. But if I post manually using F-53 or F-58, the system will auto generate this 'LAUFI'. when I check the field content; i can have number and user id.. e.g '00001o, 00003o, H

  • Airport Extr. Vers 4 - w/ kernel panic issue?

    Hi All -- hoping someone can shed some light on a kernel panic/Airport issue. Just received my MBP back from repair shop - with a newly installed Vers. 4 Airport Extreme. But its toast. Airport works for about five minutes and either switches itself

  • How/where to get more photo slideshows template/designs?

    I am trying to use iPhoto and iMovieHD to do some photo slide shows. Like to know where I can purchase/download more slideshow templates? Thanks