Results 1 to 4 of 4

Thread: Javafx timeline problem

  1. #1
    Join Date
    Mar 2010
    Posts
    360

    Javafx timeline problem

    Hello,
    I've a problem with the timeline slider and I got my problem something easier to understand it more better. The goal is when I play the timeline first time, it is stopped and then moved to my slider and then I click on the play, it puts on to run where I've moved them. The problem is that it always bounces back to the old position. Do you have any solution for this? Any sample code will also interest me. Thank you For your help.

  2. #2
    Join Date
    Nov 2009
    Posts
    347

    Re: Javafx timeline problem

    Hello,
    See if this code can help you
    Code:
    (Var bt = Stop Button
                 trans lx: 200
                translateY: 300
                text: "Pause"
                action: function (): Void (
                  Timeline2.pause ();
                )
                
    )
    
    Stage (
        title: "TestApp"
        scene: Scene (
            wd: 500
            hg: 500
            content: [Button Play, Stop bt, slider, Line]
        )
    )

  3. #3
    Join Date
    Mar 2010
    Posts
    338

    Re: Javafx timeline problem

    With the inverse is not TIME LINE changes, that is not entirely trivial, because to start with a change of the slider to the timeline with a new start value must be. This can be done best with one or more on replace trigger and different bind variables.

  4. #4
    Join Date
    Dec 2009
    Posts
    213

    Re: Javafx timeline problem

    So now I have a solution, but is not quite perfect. I have my timeline converted to a ticker, increases my slider just always one, the termination of the one wall is free, but the performance of it is not the solution. I guess this is not the solution you are looking for.

Similar Threads

  1. JavaFX into jsp file
    By Bottlenecked in forum Software Development
    Replies: 10
    Last Post: 01-09-2010, 10:22 PM
  2. JavaFX is the right choice?
    By Bricklayer in forum Software Development
    Replies: 6
    Last Post: 26-07-2010, 10:34 AM
  3. Threads in JavaFX
    By Rily in forum Software Development
    Replies: 3
    Last Post: 15-07-2010, 04:02 PM
  4. JavaFX for Web
    By Bricklayer in forum Windows Software
    Replies: 4
    Last Post: 15-07-2010, 01:21 PM
  5. JavaFX Mobile from Sun
    By Bon-Z in forum Portable Devices
    Replies: 1
    Last Post: 12-02-2009, 11:28 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,717,347,949.87587 seconds with 16 queries