Scrubbing timeline with slider - how to smooth it out?

I've created a simple slider to scrub through some frames of a MC named states.  Each frame has the same MC (states) just in a different color.
I've setup the slider using
slider.setSize(200,1);
slider.maximum=states.totalFrames;
slider.liveDragging=true;
slider.addEventListener(Event.CHANGE,updatemc);
function updatemc(e:Event){
    states.gotoAndStop(slider.value);
I'd like the trainsition from one frame to the next to be smooth so that there is no blunt change when the frames change.  I can easily add a shapetween between frames which creates the smooth transition I am looking for but, I only want the slider to stop on the 5 main frames.  Can someone suggest how I'd accomplish this either through a code mod. or something on the timeline?
Thanks in advance,
Josh

Can you view this?
http://gagecartographics.com/flsh/
I found out how to set my snap interval which helps.  I just need to smooth out the transition.  Hmm..  Something tells me I should not be doing this on the timeline but in my code.
slider.setSize(200,1);
slider.maximum=15;
slider.liveDragging=true;
slider.addEventListener(Event.CHANGE,updatemc);
function updatemc(e:Event){
    states.gotoAndStop(slider.value);
    trace(slider.value);
stop();
var month:Array = ["December","January"];
var day:Array = ["Monday","Tuesday","Wednesday","Thursday"];
var date:Array=[10,11,12,13];
datetext.text=day[1];
slider.snapInterval=5;

Similar Messages

  • ABAP Program analysis with se30 how to avoid time out ?

    Hi Gurus,
    my problem is that I would like to analysis the performance issues of an ABAP Specific transaction.
    BAsically, I launch se30, provide transaction code under transaction field and click on execute.
    This launch transaction and then I put parameters and :
    a ) launch transcation
    b ) launch in background immediate.
    In both cases it doesn't work due to time out and I never obtain a usefull result.
    My question is : how can I use to analys such a transaction and avoid time out problem ?
    Thanks for your help,
    Regards
    Morgan

    One way would be to limit the selection criteria in such a way that the processed data is still representative but it finishes before the time out.
    Even when a time out occurs, there should already be a trace file up to that point that you can evaluate. Depends on your processing logic, if it is one big outer loop it might be valid data, if you have several independent blocks, then you might be missing something important.
    There is also the option "in parallel mode" where you can capture running BDC processes for analysis, maybe try this option as well. The trace file might grow pretty big though the longer your process runs, depending on aggregation level.
    Thomas

  • HT1863 I purchased apple care through sprint when I got this phone last year in November. Do I need to register it to use it? I'm no longer with sprint how do I figure out what kind of care plan I had??

    I don't have sprint anymore but I need to get my iPhone replaced its not working the way it should anymore. How do I go about doing this. I never registered my AppleCare I didn't know I had to but I certainly paid for it!!! Please someone help! My phone is a ball of glitch madness

    Go to Settings>General>About.  Scroll down a bit then copy your serial number.
    Open Safari and navigate to selfsolve.apple.com.  Paste the serial number into that field and tap Return. 
    This should tell you your waranty status.

  • When I find a file with spotlight how can I find out where it is?

    I need to know the directory path to it.
    In case it matters I'm using Lion on an iMac.

    Mac 101: Spotlight does't go into it, but as far back as I can remember Snow Leopard, Leopard and maybe even Tiger had a pop-up name and path feature.
    Sorry for not getting back sooner, it took me a couple of tries to capture the pop-up because it kept re-hiding, plus I'm working on moving the desks and Macs in my office to make room for my new Mid 2010 Mac Mini.

  • How to tack print out use with Query ?

    Hi
    I have to tack purchase order print out (print details- PO date, BP code, name, item name, Quantity and Amount . System Print Layout means from Purchase Order layout designer) use with Query
    How to tack print out use with Query (system print layout means from  Purchase Order layout designer) ?
    Regards
    Aravind M

    Hi
    I have to take purchase order print out and I created 3 templates for that purchase order in layout designer (Because as per the MIS requirement I created 3 templates, its cover more information). I have to take print out 3 templates at a time. So i try to take print use with Query.
    Regards
    Aravind M

  • I was fooling around with the "reader" feature on my New iPad. I am now stuck with that and can't get out. Even my four digit code is read out in a machine voice and the iPad wont boot. How do I get out of this. Tried the red arrow slider. shut of the iPa

    I was fooling around with the "reader" feature on my New iPad. I am now stuck with that and can't get out. Even my four digit code is read out in a machine voice and the iPad wont boot. How do I get out of this. Tried the red arrow slider. shut of the iPa

    James,
    I cannot get into Settings! It keeps reading out Slide to Unlock when I try to slide teh arrow to open the fpur digit entry boxes.

  • How do I expand the timeline with labels (cc 214)

    How do I expand the animation timeline with labels. I'm working through the Edge Animate "Classroom in a Book". In lesson 3 I successfully expanded the animation time line by selecting all the timelines and dragging the cursor from the last frame after the cursor turned into the double arrow.
    In lesson 5 I put in some labels and the lesson text told me that when the timeline is expanded the labels would change position proportionally. This didn't happen. The labels stayed where they were. When I used the menu to "select all" the timelines and the labels were selected but then when I tried to expand the total animation timeline by dragging the last frame the whole sequence moved along the timeline without expanding proportionally.
    What am I going wrong?

    Hi there,
    I'm not familiar with the details of the lesson that you're referring to, but I am able to lengthen transitions and labels at the same time. The first step is to select all (Cmd/Ctrl+A) in the timeline, as you did. And after reading your description, it seems like you're doing everything correctly but just in case a visual example is helpful, here's a screencast that I just made using Edge Animate CC 2014:
    http://eahelper.webatu.com/solutions/edit-timeline/timeline-editing.swf
    If the steps I took in the screencast are still not working for you, can you provide more details? For instance, more details on the steps you took, and your operating system?
    Thanks,
    Joe

  • Controlling Timeline With Touch

    Hi! I use edge animate in adobe dps. I searched to control the timeline with touch (or scroll) in the forum. Even some solutions were discussed, i didnt find the perfect one. It could open so many possibilities like slideshows, parallax, diagonal textscroll etc.
    I would like to build a wide animation and control the timeline by scrup/swipe with my finger.
    I found something which works, but it seems the directions doesnt work in adobe edge animate anymore. Does anyone know how to resolve this problem? Demofiles would be awesome.
    Here is the solution i found, which doesnt work in the latest edge.
    http://codehandyman.blogspot.de/2011/12/adobe-edge-animation-controlled-by.html
    And here is the result. Works on ipads in indesign dps:
    http://www.northeastmagic.com/adobeEdge/scrollbar_scrubber/test7.html
    thanks,
    Klaus

    Hi Jerry, in my opinion the best for magazines right now is to swipe left and right to the article and down to see the full article. For that I want to decide if it's snapping to single pages vertically, or smooth scroll etc. Im my case I wanted to have a smooth scroll parallax version which I can build in adobe edge (it's possible to do with stellar.js - most of the other parallax html script doesnt work on ios). But it's s so easy to do in adobe edge animate! I also want to build full pages in adobe edge, since there are more ways to animate things (even it's a little button). But then I have the same problem. I dont get off the page if it's made in adobe edge and shown full screen in adobe dps. I got some other html scripts which are full screen, but are able to swipe to the next page.
    For example I searched weeks for a good slider. But most of them have the same problem. An example: I have an article vertically with a few pages in adobe dps. On the 3rd i want a full screen slider. I can swipe left/right, but cant go down or up anymore. But finally i found a solution which is so perfect for adobe dps.
    http://www.idangero.us/sliders/swiper/
    So many options and the abillity to get off the fullscreen page! but you need to know a bit html/css. I am not a coder at all, but enough to change some sizes etc.
    Have a look on swiper. It's awesome!
    Here is one feature they mentioned that's the problem with my above adobe edge animation:
    Scroll prevention
    Swiper will prevent vertical scroll when you touch it in "horizontal" mode, and horizontal scroll in "vertical" mode"
    That's why I think it has to be possilbe to make the adobe edge full screen animation with scroll acts the same. If its vertical, i want to swipe left/right to get off the page.
    Hope this wasn't to complicated.

  • Please help with slide show creation

    I purchased the bundle of photoshop and premier elements 10.  I was trying to create a slide show and was informed that photoshop elements 10 does not come with a slide show for APPLE.  now I hae been told I can creat a slide show in premier.  can anyone tell me how and where do I go to create it in preimer.
    Also I had purchased the professional version of Photoshop but when I purchased elements 10 on line and downloaded it my professional photoshop was replaced with the elements 10 vesion of photoshop.  Is there anyway I can recover my professional version.
    I was thinking of buying elements 11 but beging to fell what is the use if I can not get element 10 to work for me.
    Please help thanks
    Cham

    filmmaker863 wrote:
    ....when you drop the pic in to the time line do you use the scene setting or the standard timeline setting.  how do you change the time eact pic will show on screen.
    I'm confused by what you mean when you write "scene setting or standard timeline setting".  In version 11, I use "Expert" as my standad timeline setting.  The other is "Quick" and I have never used it.
    The time for each pic starts with a default setting that can be changed.  Then each slide can be streched or shrunk with mouse control.
    Bill

  • Slider or scrub bar per slide

    Hi Folks,
    Does anyone know how to create a slider or scrub bar per slide. The one that comes with the Captivate 5 skin is a slider for the entire duration of the project. I need one specific to each slide.
    Thanks,
    Chris

    There is no standard object in Captivate that will give you a scrub/slider bar for an individual slide that would enable a user to move at will from the first frame of the slide to the last and any point in between.
    The default slider on a Captivate playbar is the closest you get out of the box.

  • I have a keynote presentation that includes a significant amount of video.  When I edit the keynote slides (not the video slides) how can I save the changes without re-saving the videos (because that takes a VERY long time)?

    I have a keynote presentation that includes a significant amount of video.  When I edit the keynote slides (not the video slides) how can I save the changes without re-saving the videos (because that takes a VERY long time)?  I edit the presentation depending on the audience to which I am presenting.

    If you add a new  slide with just a text box (therefore a very small amount of data),  to an existing presentation then save,  Keynote will only save the new content to the file,  it wont save  pre-existing content as its already included in the file.
    The time  taken to "save" will be very much shorter than a "save as" when all of the existing content is saved again.

  • Problem with slide block puzzle

    Hello:
    I am doing a project that solve slide-block puzzles. My program take two common line arguments. One is a file specifying the initial configuration while the other specify goal configuration. My idea is to use an arrayList<block > to represent a configuration with each element being a block, for each block, I stores all possible configurations after moving the block in a Hashset and Stack. I check if the goal has been reached after each move, if not, go moving next one. If the configuration has been seen before, which indicates a dead end, I pop the stack to backtrack the most recent the branch and take another path.
    Unfortunately, the algorithm I came up does not work.
    Can anyone propose a psudocode for me?
    Also, my program should print out all moves directly towards the goal but I can not figure out how to only print out the moves directly towards the goal and avoid printing those leading to dead end.
    You can see specification http://nifty.stanford.edu/2007/clancy-slidingblocks/proj3.html.
    I will be really really appreciated.

    Well, that was harder than I thought!
    Anyway, the algorithm can be quite simple: a BFS finds a solution pretty fast. Here's some pseudo code:
    public class Solver {
        private Set<Integer> alreadyFormedTrays; // A set of already formed trays
        private List<Block> goalList;            // The final goal(s)
        private boolean foundSolution  = false;  // A flag flipped to true once we find a solution
        private Tray startTray;                  // The initial tray
        public Solver(String[] tray, String[] goals) {
            alreadyFormedTrays = new HashSet<Integer>();
            goalList = new ArrayList<Block>();
            buildTray(tray);
            buildGoals(goals);
        private void buildGoals(String[] goalsData) {
            // Fill the 'goalList'.
        private void buildTray(String[] trayData) {
            // Create the first tray: 'startTray'.
        private boolean goalsReached(Tray aTray) {
            // Check wether we have reached our goal(s).
        public void solve() {
            alreadyFormedTrays.add(startTray.hashCode());
            System.out.println("START=\n"+startTray);
            solve(startTray);
        private void solve(Tray aTray) {
            IF we found a solution, stop looping END IF
            IF 'aTray' reached our goal(s)
                foundSolution <- true
                print the path 'aTray' has taken
                stop looping
            END IF
            'nextTrays' <- all next trays that can be formed from 'aTray'
            FOR every Tray 'T' in 'nextTrays' DO
                'hash' <- a hash of 'T'
                IF 'hash' is not yet present in 'alreadyFormedTrays'
                    add 'hash' in 'alreadyFormedTrays'
                    make a recursively call with 'T' as a parameter
                ENDIF
            ENDFOR
        public static void main(String[] args) {
            String[] trayFile = {
                    "5 4",
                    "2 1 0 0",
                    "2 1 0 3",
                    "2 1 2 0",
                    "2 1 2 3",
                    "2 2 1 1",
                    "1 2 3 1",
                    "1 1 4 0",
                    "1 1 4 1",
                    "1 1 4 2",
                    "1 1 4 3"
            String[] goalFile = {
                    "2 2 3 1"
            Solver s = new Solver(trayFile, goalFile);
            s.solve();
    }As I said: the algorithm isn't that hard, the tricky part comes in finding all possible Trays from a given Tray X and making copies based on X.
    Here are some UML diagrams of the classes I used:
    |                                      |
    | + Tray                               |
    |______________________________________|
    |                                      |
    | ROWS: int                            |
    | COLUMNS: int                         |
    | - freeSpaces: byte[][]               |
    | blocks: List<Block>                  |
    | path: List<Atom[]>                   |
    |______________________________________|
    |                                      |
    | + Tray(r: int, c: int): << constr >> |
    | + Tray(tray: Tray): << constr >>     |
    | + addBlock(b: Block): boolean        |
    | + generateNextTrays(): List<Tray>    |
    | + removeBlock(b: Block): void        |
    |______________________________________|
    |                                                                                          |
    | + Block                                                                                  |
    |__________________________________________________________________________________________|
    |                                                                                          |
    | HEIGHT: int                                                                              |
    | WIDTH: int                                                                               |
    | name: char                                                                               |
    | atoms: List<Atom>                                                                        |
    |__________________________________________________________________________________________|
    |                                                                                          |
    | + Block(n: char, height: int, width: int, startRow: int, startColumn: int): << constr >> |
    | + Block(b: Block): << constr >>                                                          |
    | - buildAtoms(startRow: int, startColumn: int): void                                      |
    | + getUpperLeft(): Atom                                                                   |
    | + move(m: Move): void                                                                    |
    |__________________________________________________________________________________________|
    |                                      |
    | + Atom                               |
    |______________________________________|
    |                                      |
    | row: int                             |
    | column: int                          |
    |______________________________________|
    |                                      |
    | + Atom(r: int, c: int): << constr >> |
    | + Atom(a: Atom): << constr >>        |
    | + move(m: Move): void                |
    |______________________________________|I removed the equals(...), hashCode() and toString() methods for clarity, you should implement them, of course.
    The Move class you see in there is an enum, and looks like this:
    public enum Move {
        UP    (-1,  0),
        RIGHT ( 0,  1),
        DOWN  ( 1,  0),
        LEFT  ( 0, -1);
        final int deltaRow, deltaColumn;
        private Move(int dr, int dc) {
            deltaRow = dr;
            deltaColumn = dc;
    }If you have any questions about the methods/variables in the class diagrams, feel free to post back.
    Good luck.

  • Pause & restart timeline with one button

    I have created a lengthy animation as a prop for a TV
    production. They want to be able to start and stop the animation at
    will using only the mouse without anything being seen on the
    screen. To do this I want to make an invisible button that covers
    the entire screen. I know how to make it either start or stop, what
    I can't figure out is how to make the invisible button start and
    stop the timeline with alternative clicks ie click 1 starts it,
    click 2 stops it, click 3 restarts ad infinitum.
    Any help would be much appreciated
    Ralph

    Hi Cevema,
    The instance name is the instance name of the clip. When you
    select the
    clip on the timeline, open up your Properties Inspector. In
    the
    lower-left-hand corner there should be a "MovieClip" pull
    down and
    probably a text box with "<Instance Name>" in it. This
    is how Flash
    recognizes which clip you want to target. Add the name here
    (no spaces,
    don't start with a number, no special characters), and this
    is your
    instance name. Then, replace the "someClip" with the instance
    name. Say
    you used, "myInstance" for the instance name, your code would
    be:
    this._parent.myInstance...
    You would do this anywhere where "someClip" appeared in the
    example I
    showed you.
    In order for that code to work correctly, you will need to
    ensure that
    it is ON the button (not the timeline or anything). Also,
    your clip
    instance needs to be BESIDE your button on the timeline.
    Here's how:
    1. Your movie clip (the one to control) should be on a frame.
    The button
    you want to use to control the clip should be on the same
    frame. It
    shouldn't be inside the clip you want to control, in another
    scene, or
    anywhere else.
    2. When adding code to your button, select it (don't open it
    so you can
    see "DOWN"/"UP"/"OVER" frames), hit F9 (or open the actions
    panel) and
    add the code there.
    The reason you need to be careful when adding this code is
    because of
    something called scope. You'll notice that in the code I use
    a keywor
    called "this". It literally means...this! So if you are
    putting this
    code inside of some movie clip, "this" will refer to the
    movie clip. In
    this case, "this" refers to the button. "_parent" refers to
    the movie
    clip in which the button lives. It's like a word map....
    this._parent.someInstance >>> From "this", look in
    my "parent", and in
    there look for something with instance name "someInstance".
    Hope that clears it up.
    Patrick
    Cevema wrote:
    > Many thanks for your speedy help. Whilst I find creating
    the drawings and
    > animations easy as a graphic designer action script is
    like a foreign language
    > to me!
    > By clips "instance name" would that be the final name of
    the swf or 'scene
    > one'? Sorry to sound so thick but I can't recall
    "instance names" coming up in
    > my DVD course.
    > Many thanks
    > Ralph
    >
    http://www.baynewmedia.com
    Faster, easier, better...ActionScript development taken to
    new heights.
    Download the BNMAPI today. You'll wonder how you ever did
    without it!
    Available for ActionScript 2.0/3.0.

  • How to smooth edges?

    Hi all,
    I am in hopes that someone can tell me how to smooth the edges of the numbers in the attached image?
    Thanks for any advice, hints. etc.

    Hi.
    Here's a little more food for thought.
    Noel and Paulo have offered good suggestions for getting very close to the desired result. But the characters might still need a little tweaking.
    Before I tweaked, I would convert the character to a vector path. And do my tweaking on the path. Refining the path should be fairly simple, and when you're done you have a character that can be scaled to your hearts content and it will be crisp.
    Taking Paulo or Noel's method as a starting point, Ctrl+Click on the layer thumbnail then Alt+Click on the "Make work path from selection" button at the bottom of the Paths pallet. In the pop up, select a Tolerance value. 1or 2 pixels if your character is small. Higher if it's larger. Experiment to get the best effect. You will now have an editable vector path. It needs to be edited.
    Then using the Direct Selection Tool (A)and the Pen Tool (P) you can perfect the letter. There is no drawing with the Pen Tool. Just adding and deleting points. Some points will have to be converted from corner to smooth and vice versa. Some will need to be moved a little. I selected the point or points then used the arrow keys to nudge them.
    Below is my finished vector path. As you can see, on this particular font most of the handles are vertical or horizontal. Part of what gives this font its characteristic shape. And it makes things a little easier. Once a point is in the right position, just hold down the Shift key while you drag the handle to adjust the curve. Mostly points will have to be deleted. The fewer the points the better. But no less than you need. They're cheap. (Caveat: Make sure you rename your work path. Otherwise, if you make a new path, you'll lose it.)
    Below, the path is rendered at 3 sizes, Huge, Large, and Actual Size of the screenshot. They are all crisp. Make it big as a barn and it will still be crisp.
    Anyway, if you're going to be fiddling around with fonts, I'd suggest you learn vectors if you don't know them already. The scalability is necessary. As Noel said, Ps is not ideal for this. But the vector tools in Ps are quite good enough to get you going. If you are comfortable with paths, you can convert the Magic Wand selection directly into a path and not refine it first as Noel and Paul suggested. That's what I did. It won't look as good as a converted selection modified by Noel or Paulo's method at first, but it may not be any harder to perfect.
    Once you have the path perfected, you may also convert the path into a Custom Shape. Then using the Shape Tool (U) you can drag and draw the shape to size. You can create a Shape Tool Library for the font. See the Help Files for details.
    Another note about this font. The circles at the end of some of the letters are really circles.You can use this to your advantage when tuning up the letters.
    That should be plenty to chew on top of what the others have already put on your plate.
    Peace,
    Lee

  • Web Banner with Video: How to start a flash animation ONLY after .flv is finished loading.

    Hi,
    I am making a 10 sec. web banner and am required to use a video that is on an external server. I had no problem getting the video file converted, uploaded to the external server and it is now playing back perfectly after exporting the .swf file.
    The problem I am having is that my animations (mostly text items, which are placed very carefully throughout the .flv movie) aren't matching up with the movie's movements (due to the .flv starting later due to streaming – I am assuming).
    How would I go about syncing these two things, so that the animations always line up exactly with the video's movements? Something like a preloader would be totally fine. I've also read about 'Cue Points' but they seem to be a little unnecessary for what should be a simple 10 sec. banner.
    Also the .flv itself is exactly 10 sec. long, but the banner is 13 sec. long so that the last screen (with the most important information) is shown statically for 3 sec. Should I be doing anything to compensate for this other than simply adding the 3 sec. in the timeline in flash, and letting the .flv restart when the entire .swf starts looping?

    use cuepoints in the video to sync your swf movieclips/timelines with your video.

Maybe you are looking for

  • I can't connect my iPod to iTunes! What do I do?

    My iPod 4G connects to the computer (Windows) but doesn't connect to iTunes. I've restored the iPod but it didn't work.

  • Instr function  help required

    Hai if we search the particular string we can use 'INSTR' to find the position in the string by instr('TOM an oracle programmer','oracle')>0if i want to seach the two words like 'oracle' AND 'TOM' then how can i do it? or ((instr('TOM an oracle progr

  • How to use tableColumnGroup APi

    hi everybody                  A table columnGroup is used to merge more than one column with one heading..Can u please help how to do it or anybody can help me with any tutorial or some explantion on it Thanks in advance madhavi

  • Why is Adobe Media Encoder so slow when encoding videos?

    I had this movie on my computer but audio was out of sync. So i threw into Adobe Premiere Pro, synced the audio, saved it. But when i opened the media encoder it said my estimated time remaining was 48 hours? Is it supposed to be this slow? I have CS

  • ICloud sync with MacBook Pro does not work

    I've installed iOS 5, updated Lion to 10.7.2, marked Calendar and Contacts sync in System settings for iCloud on my Mac. However iCal and Address Book sync between iCloud and Mac (MacBook Pro) does not work though there is no problem in syncing betwe