Use Slider to control timeline of tweened animation

I have 3 pictures and animated it using motion tween as
usual.
Now, I want to create a slider so that user can drag along
forward and backward so that the tweened animation moves
accordingly. Eg the whole motion ends in 10 sec
If user drag slider to far right it goes to 10 sec frame and
if it position to middle the movie go to 5th sec. etc.
How to do this to associate the slider to frames ? The adobe
official site does not have document on this. Please help.
Thanks.

You have to make your own slider.
Sliders are based on the idea to find the percentage of the
position of scroller to it's maximum position as a ratio 0-1 (0
left, 1 right) and multiplying that ratio with a value (in your
case the number of frames). As least that way I can think of them
and create them.
You can utilize this link I just created to solve your
problem, where you move a scroller/slider to navigate into the
timeline:
http://www.sp7.gr/adobe_forum_data/06_TimeLine_Slider.zip
I tried to make the slider portable, thus you can initialize
it with a preferred width and set the number of frames it will
handle...

Similar Messages

  • Touch-slide to control timeline

    Hello!
    So to begin with, I am very new to Edge and programming as well. What I'm trying to create is something that allows people to "turn" an object by sliding their finger (or mouse) either left or right. The way I've seen it done is by having an animation of the object turning, and then connecting the gesture of sliding left or right to turn the object similarly.
    I've seen a lot of examples of what I'm looking for:
    http://forums.adobe.com/message/4778404#4778404
    This does a pretty good job, but I don't like how it is basically tied to where the finger is in the space, I'd rather something that says "when finger moves right, move forward according to the distance the finger is moved. While if the finger moves left, the timeline moves backward in the same fashion"
    http://forums.adobe.com/message/5785130#5785130
    The example she uses with the fish bowl is almost exactly what I'm looking for, but I'd rather not rely on plugins if possible. As I'm extremely new to all of this I'd like to use it as a learning resource as well and I feel as though plugins sort of obfuscate that resource.
    Sorry if this isn't very clear, but I would more than appreciate any and all help. A good resource to help learn the coding language would be greatly appreciated as well. THANKS!

    Hi, mlovett1-
    You're going to need to do a lot of handcoding to make this work.  Instead of using swipe, you should use touchmove and calculate the distance between your movement.  You should find a good resource on programming in JavaScript, as that's what you'll use for all of your interactivity programming.
    Good luck, and I hope that gives you a good sense of the direction to take!
    Cheers,
    -Elaine

  • Using Slider to Control an Image Zoom

    I want to use the control Slider1 to Control the Zoom of Sectional Viewer image control.  Can't quite figure that out.  Any help?

    Hi Matthew,
    Until the feature is available, there is a possible workaround you could use. It requires more work but you could probably get something close to a zoom effect.
    The trick is to change the size of the image (Width and Height) and its
    X and Y position to control where the zoom happens. The Image will end-up taking more space than the screen so you will need to have elements on top of it so the user does not see the overflow.
    For example, to zoom on the top left corner, try the following:
    - Set the image Image Position property to Fill
    - Set the image Height and Width properties to its current value +
    ZoomSlider!Value*10
    If you want to zoom to the center:
    - Also set the image X and Y properties to their current values +
    ZoomSlider!Value*5
    Remember the image visual will be quite large and you will need to place elements on top of it (e.g. rectangles) to hide the overflow.
    This is clearly a workaround yet you can get close to a zoom effect.
    Olivier

  • How to make my SLIDER control the movement of animations: ( fast & slow)

    hello!
    i wanna do water dropping animations. using a slider, to controlled how fast and slow the animations can be.
    please help me!!!

    I need help about controlling my animations with slider.
    I already know about slider & water dropping animations, but how to make this 2 things interract.
    Right now i have slider and water dropping animations, but when i scroll my slider up and down, my animations still with the same speed.
    In my opinion, i think, i need to make one func/method that take var from slider and transfer it to water dropping var(controlling the speed of anim...).
    eg: (coding)
    //class bla...bla...bla...
    JLabel sliderValue = new JLabel("Value = 25"); // slider var
    JSlider sliders = new JSlider(JSlider.VERTICAL, 0, 50, 25);
    WaterDropPanel drop = new WaterDropPanel(); // waterdropclass
    JButton start = new JButton("Start"); // start anim...
    JButton stop = new JButton("Stop"); // stop anim...
    //waterdrop class...
    class BulatanPanel extends JPanel implements Runnable
    private Thread runner;
    int yPos = -20;
    int yMove = 4;
    void playAnimation()
    if (runner == null);
    runner = new Thread(this);
    runner.start();
    void stopAnimation()
    if (runner != null);
    runner = null;
    public void run()
    Thread thisThread = Thread.currentThread();
    while (runner == thisThread)
    yPos += yMove;
         if (yPos > 310)
         yPos = -20;
    repaint();
    try
    Thread.sleep(10); // var controlling the speed of anim...
         catch (InterruptedException e) {}
    public void paintComponent(Graphics comp) {
    Graphics2D comp2D = (Graphics2D)comp;
    comp2D.setColor(Color.black);
    comp2D.fillRect(0, 0, 250, 240);
         comp2D.setColor(Color.red);
    comp2D.fillOval(110, yPos, 20, 20);
    // slider event handling... ( In my constructor)
    public void stateChanged(ChangeEvent e)
    sliderValue.setText("Value = " + ((JSlider) e.getSource()).getValue());
    I'M SORRY IF ITS TOO LONG

  • I have lost sound on my iPad in apps unless I use headphones ,does anyone know how to get sound back without them .I have used the mute volume on the bar at bottom of screen and the slider volume control there only shows when headphones are plugged in !

    I have lost sound on my iPad in apps unless I use headphones ,does anyone know how to get sound back without them .I have used the mute volume on the bar at bottom of screen and the slider volume control there only shows when headphones are plugged in !
    I also tried resetting settings all to no avail ...I looked up some advice and watched utube video advice on how to fix without success..
    The volume control button on side does not work ,I got the iPad last August and wonder if it is a fault that means I must return it for replacement from where it was purchased ?

    The Retrospect you used way back when is no longer around. The company was sold and that company produced a new version of Retrospect - Retrospect 8.x
    So, as you've been told, you would have to be running a Tiger system with an old version of Retrospect software (5.x or 6.x - you would need to know) assuming you can find the software.
    As best I can remember you cannot extract files from a Retrospect backup except using the software since Retrospect did not normally make a file by file backup rather it created an archive of the files in the backup. I'm assuming that the EMC/Retrospect people have told you that old Retrospect backups are not accessible by Retrospect 8.x?

  • How to get the position of the stem in control valve using slider control in the front panel

    I have created a calibration program for a control valve. Signal (4-20mA) is generated from labview using slider contorl which is given to the valve via DAQ(module 9265) and again the feedback signal from the valve is acquired using DAQ(module 9203).. . There is an input ISO/ISC(Increasing signal to open/ Increasing signal to close) in the front panel.
    ISO would set the output to increase from (4-20)mA further opening the valve
    ISC would set the output to increase from (4-20)mA further closing the valve
    I have doubt, how can i get the position of a stem

    Ravens Fan wrote:
    If the position of the stem is being sent to the PC through a 4-20 mA signal into your DAQ 9203 module, then you just need to do an analog input read in order to get the signal.
    When reading this post, that is what came to mind...  So let's see if both RavensFan & I are trying to understand the same thing...  Are you saying that the position of the stem is linear (or scaled) to the amount of current sent to it?  Meaning a 4mA signal would move it a certain distance, and 10mA would move another given / known distance?  Or are you saying that it is calibrated so that a 20mA signal for a certain duration (ms) would move it a given distance? So the scale would be time and not current unless a lookup table is used to adjust the time duration based on the current being drawn...
    It's just that I am not familiar with solenoid / drive devices that related to current..  To voltage, yes.  To time, yes..  To current, I'm simply saying that I am not familiar with that.  Can you tell us more about this stem (mfg / model designation)?

  • Slide presentation Vs. Timeline Document Based Development

    Interested in all opinions or comments concerning experiences
    with the limitations or extendability of Slide Presentation Vs.
    Timeline Document development using actionscript 2.0 for the
    purpose of Courseware/Presentation/Quiz development and
    maintenance. Eager to hear all comments small or large.
    Topics Points to include but not limited to: - Stability -
    Range - Limitations - Preference - Experience - Pros - Cons -
    Accuracy - Problems - Errors - Likes - Dislikes - Load Balancing -
    Customization - Coding Development/Programming - Control

    flashgodx,
    > Interested in all opinions or comments concerning
    experiences
    > with the limitations or extendability of Slide
    Presentation Vs.
    > Timeline Document development using actionscript 2.0
    I'm interested in this, too. (Thanks for bringing up the
    topic!) My
    guess, however, is that you won't see a flood of feedback.
    The timeline
    metaphor is deeply engrained in the Flash developer mindset.
    Building a
    slide presentation-based movie (the relatively new "screens
    feature") just
    doesn't feel like working in Flash. I don't think many people
    use
    screens -- though maybe it's too early to tell. I could be
    completely off
    base, of course, and I welcome friendly dissenters.
    I think Macromedia was hoping to appeal to the Visual Studio
    crowd with
    screens. I'm curious to see how Adobe continues the idea. In
    any case, at
    present, there's a kind of ActionScript mini-framework that
    gets added to
    screens-based SWFs. This framework is what allows screens to
    behave like
    screens rather than timelines. It is important to realize,
    however, that
    all SWFs are, in the end, SWFs. The screens metaphor is no
    more "real" than
    the timeline metaphor is. Both are just user interfaces to
    translate our
    human instructions into something the Flash Player can
    understand.
    I don't much care for the fact that this framework adds 27KB
    to a SWF
    before anything else is even added. Start a new Slideshow
    Presentation and
    immediately test the SWF (Control > Test Movie). In the
    resulting Flash
    Player window, select View > Bandwidth Profiler to see how
    much the SWF
    weighs. Do the same with a normal Flash document and compare
    the two.
    To answer your specific bullet points:
    - Stability
    I have no opinion here, I'm afraid. I simply haven't
    produced enough
    screens-based SWFs to make a fair assessment.
    - Range
    Not sure what you mean, here. Are you asking if
    screens-based SWFs can
    be bigger, hold more content?
    - Limitations
    The end result in either case is a SWF, and a SWF is what it
    is.
    - Preference
    I prefer the timeline metaphor because I've been using it
    since Flash 3.
    I use Flash for everything from applications to cartoons to
    video, so in my
    workflow, timelines makes more sense.
    - Experience
    Very little experience with screens (because I don't care
    for them).
    Plenty of experience with Flash in general.
    - Pros
    I would imagine -- and I can only imagine -- that some
    people prefer the
    "slides" format. To me, it feels like PowerPoint, which I
    don't much care
    for.
    - Cons
    The aforementioned extra SWF weight. 27KB isn't a deal
    breaker, and
    it's certainly less bulky than any of the v2 UI Components,
    but ehh. For
    what that's worth, I think it's a con. My programming skills
    have matured
    along with the phenomenal advances in ActionScript in recent
    years. I
    crossed a milestone back in Flash MX, I think, where Flash's
    under-the-hood
    mechanisms really started "clicking" with me. (To be sure,
    the learning
    process never ever stops ... I'm *still* learning, and things
    are *still*
    clicking for me, but I digress.) To me, the screens metaphor
    introduces a
    new (in my opinion, unnecessary) layer of abstraction to a
    lean-but-powerful
    environment I already know and love.
    - Accuracy
    Not sure what you mean here.
    - Problems
    I don't use screens often enough.
    - Errors
    Ditto.
    - Likes
    This is reflected in my views on Pros and Cons.
    - Dislikes
    Ditto.
    - Load Balancing
    Again, not sure what you mean.
    - Customization
    Good question!
    - Coding Development/Programming
    None of the programming books I've read even touch screens.
    - Control
    Control of what?
    David
    stiller (at) quip (dot) net
    Dev essays:
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • How to play a movie clip with a tween animation

    I created a movie clip symbol with a tween animation and created an instance of it on the main stage. The animation is in the movie clip timeline, not on the main timeline. I cannot get the mc to play using mc.play() or mc.gotoAndPlay.  What am I missing??

    Hi Ned, thanks for the response;
    1.Yes I named the instance.
    2.I  don't beleive so. I started from the library creating a new symbol, added the graphics, added the key frames, then created the tween. Then I dragged the symbol onto the main stage and named the instance. So I don't think there is a movie clip inside an mc.
    Here is the main timline:
    Here is the mc timeline:
    Here is what I'm trying to do:
    stop();
    blk1._visible = false;
    blk2._visible = false;
    blk3._visible = false;
    ppk1._visible = false;
    ppk2._visible = false;
    ppk3._visible = false;
    storeCartons = new Array();
    storeCartons = [blk1, blk2, blk3, ppk1, ppk2, ppk3];
    startButton.onRelease = function() {
        myNumber = Math.floor(Math.random()*storeCartons.length);
        trace("myNumber "+myNumber);
        activeCarton = storeCartons[myNumber];
        activeCarton._visible = true;
              activeCarton.play();

  • Timeline, keyword tween

    Sorry if this is a stupid question but I don't understand what the keyword tween does in the following code and would greatly appreciate it if someone could explain it to me!:
    import javafx.scene.Scene;
    import javafx.stage.Stage;
    import javafx.scene.shape.Circle;
    import javafx.scene.paint.Color;
    import javafx.animation.Timeline;
    import javafx.animation.KeyFrame;
    import javafx.animation.Interpolator;
    def circle: Circle = Circle {
                centerX: 40
                centerY: 70
                radius: 25
                fill: Color.GREEN
    Timeline {
        keyFrames: [
            KeyFrame {
                time: 4s
                values: circle.translateX => 0.0
            KeyFrame {
                time: 5s
                values: circle.translateX => 165.0 tween Interpolator.LINEAR
    }.play();
    Stage {
        height: 600
        width: 600
        scene: Scene {
            content: circle
    }

    It's required to indicate which interpolation is to be used for this variable. Here it's LINEAR so the whole "tween Interpolator.LINEAR" is actually useless as LINEAR is the default interpolation.
    As for the meaning related to animation, yhou may want to read here [http://en.wikipedia.org/wiki/Tweening] and here [http://en.wikipedia.org/wiki/Interpolation_(computer_programming)]

  • Changing tweens/ animation in new scene

    I am trying to create different scenes with the same character doing different things in different scenes. 
    I have created and animated a character in scene one.
    I saved the character to the library and pulled it into scene 2 to do a different animation with it.
    Unfortunately, when I delete the tweens of the character in scene 2 they also disappear in scene one.
    Can anyone help how I can use the same character in different scenes and create different tweens/ animation with it? Thank you

    It sounds like you are either not creating the tweens properly or you are creating the tweens within the character symbol rather than on the timeline.
    A timeline tween requires having the same symbol at the start and end of the tween.  If you are seeing Tweens getting created in the library as you create the animation you are not creating the tween properly.
    If the tweens are within the chareacter symbol, then removing them from that symbol removes them from every instance of that symbol.

  • Slip or slide assets in timeline less than 1 frame increments?

    Hello everybody,
    I'm using Premiere pro CS4 to try to do videos, I'm noticing that the audio and video are drifting apart.  As I try to line up the audio with the video, I'm noticing that files in the timeline seem to be lined up with a 1 frame grid.  Unfortunately, at times I need to slide audio a half of a frame to exactly line up everything.  If anyone has any advice I'd love to have it.  Thank You very much for taking the time to help.
    -Jonathon

    You can change the audio display from frames to audio units to move / edit audio at much smaller increments than frame.
    Use flyout menu on timeline to enable "Show audio time units"

  • Slide lock control in 3rd party apps?

    is it possible to use the slide lock control that is used for powering off the iPhone (for instance) in 3rd party apps? If so, how do you do it -- I don't see it as an available control in Interface Builder...
    Tim

    if anyone has done this already, could you let me know? Would be great to avoid rewriting the wheel.
    Tim

  • How to use itunes volume control in mainstage

    Hi everyone!
    I want use itunes volume control in mainstage (by slider or something). Can someone help me?

    You would need to write an Applescript (there are some already under Parameter Mapping>Actions>Applescript). Check online at "dougscripts.com/itunes/itinfo/eqandvolume.php" for some scripts for changing iTunes volume. You will need to put the Applescript in the same folder the other Mainstage Applescripts are in (drive>Library>Application Support>Logic>Mainstage Scripts). I haven't tried this myself, but why not give it a go?

  • Change Volume using Slider Component

    I am trying to use the slider component (aSlider) to control the volume of mySound which is a class called PlaySound. Created an addEventListener for aSlider with a SlideEvent.CHANGE executing a function called changeVolume. Everything else works but I can't seem to get the slider to control the volume of mySound. Need some help. Here is the current code. TY in advance.
    import flash.events.Event;
    import fl.controls.Slider;
    import fl.events.SliderEvent;
    import fl.controls.Label;
    var mySound:PlaySound = new PlaySound  ;
    stage.addEventListener(Event.ENTER_FRAME, clock);
    var OFF:Boolean = true;
    function clock(event:Event):void
    var currentdate:Date = new Date();
    arc_mc.visible = false;
    secondHand_mc.rotation = currentdate.seconds * 6;
    minuteHand_mc.rotation = currentdate.minutes * 6 + currentdate.seconds / 10;
    hourHand_mc.rotation = currentdate.hours * 30 + currentdate.minutes / 2;
    if (secondHand_mc.rotation > -60 && secondHand_mc.rotation < 0)
      arc_mc.visible = true;
      if (OFF)
       OFF = false;
       mySound.play();
    else
      arc_mc.visible = false;
      SoundMixer.stopAll();
      OFF = true;
    aSlider.addEventListener(SliderEvent.CHANGE, changeVolume);
    function changeVolume(event:SliderEvent):void
       // var volumeLevel:Number = 5;
       //volumeLevel = event.target.value / 100;
    valueLabel.text = event.target.value + "percent";

    yes, if someone uses your slider before you start playing your sound, you should prevent that error:
    import flash.events.Event;
    import fl.controls.Slider;
    import fl.events.SliderEvent;
    import fl.controls.Label;
    import flash.media.SoundTransform;
    import flash.media.SoundChannel;
    var mySound:PlaySound = new PlaySound() ;
    var mySoundChannel:SoundChannel;
    stage.addEventListener(Event.ENTER_FRAME, clock);
    var OFF:Boolean = true;
    function clock(event:Event):void
    var currentdate:Date = new Date();
    arc_mc.visible = false;
    secondHand_mc.rotation = currentdate.seconds * 6;
    minuteHand_mc.rotation = currentdate.minutes * 6 + currentdate.seconds / 10;
    hourHand_mc.rotation = currentdate.hours * 30 + currentdate.minutes / 2;
    if (secondHand_mc.rotation > -60 && secondHand_mc.rotation < 0)
      arc_mc.visible = true;
      if (OFF)
       OFF = false;
       mySoundChannel = mySound.play();  // delcare mySoundChannel outside all functions
       //mySound.play();
    else
      arc_mc.visible = false;
      SoundMixer.stopAll();
      OFF = true;
    aSlider.addEventListener(SliderEvent.CHANGE, changeVolume);
    function changeVolume(event:SliderEvent):void
    valueLabel.text = event.target.value + "percent";
    if(mySoundChannel){
    var st:SoundTransform = mySoundChannel.soundTransform;
    st.volume =(event.target.value - event.target.minimum) / (event.target.maximum - event.target.minimum);
    mySoundChannel.soundTransform = st;

  • Need a pause in tween animation

    I want to use tween animation to move 6 or more images onto a stack in the middle of the stage. (I can do this). When all the images are in the stack, I want the images in the stack to disperse to various parts of the stage.
    Can't seem to get a pause in the movement that i need. Anyone know how?
    Thanks,,,

    if you want to delay the execution of a tween you'll find it easier to use one of the third party tween classes (like greensock's).  they all have delay parameters that make staggering tweens especially easy.

Maybe you are looking for

  • Reporting services emailed reports viewed on iphone

    Our Exec team requires the ability to view emailed reports on their iphones. Our Environment uses the following: Microsoft SQL Server 2008 (SP1) - 10.0.2531.0 (Intel X86)   Mar 29 2009 10:27:29   Copyright (c) 1988-2008 Microsoft Corporation  Standar

  • Payment schedule report

    Dear friend, i wants to know payment schedule repoprt where Sr.No. Project name       Building name           apr-09           may-09        Jun-09     Jul-09      Aug-09 1      company code            plant name              %                %      

  • Problem with ACR 7 auto tone?

    Still trying to get a handle on this beast, playing with various controls.  Here's a snapshot with default settings and then after auto is invoked.  Default appears ok, just a small bit of clipping, but unless I'm missing something something is wrong

  • JTabbedPane with JSplitPane - HELP !!!

    What am I missing??? I have a JSplitPane in a TabbedPane. The topComponent contains a JComboBox with Key values, the Bottom Component will display details based on the key value passed. The bottomComponent has 2 constructors: one default and one acce

  • JSP called database Bean - works in forte ide- not outside ide

    I am obtaining my Connection object from a Java bean so that I can change database connections (like development to production) by just changing the bean out. Inside forte for java 3.0 with its built in tomcat, it works fine. I have the same version