-
Bug
-
Resolution: Cannot Reproduce
-
P3
-
fx1.1
-
Windows XP, JavaFX 1.1, NetBeans standard execution
General nesting of Sequential/Parallel Transitions does not work as expected. In the following example code, the second FadeTransition, which is outside the ParallelTransition, but part of the SequentialTransition content, is played in parallel with the Scale and Path transitions:
SequentialTransition {
node: photo
content: [
FadeTransition {
duration: 1s
fromValue: 0.0
toValue: 1.0
}
PauseTransition {
duration: 2.5s
}
ParallelTransition {
node: photo
content: [
ScaleTransition {
duration: 14s
node: photo
toX: .35
toY: .35
autoReverse: true
repeatCount: 2
}
PathTransition {
duration: 28s
node: photo
interpolate: Interpolator.LINEAR
path: AnimationPath.createFromPath(Path {
elements: carouselElements
})
}
]
} // ParallelTransition
// This FadeTransition should play sequentially, but
// it plays in parallel.
FadeTransition {
duration: .2s
fromValue: 1.0
toValue: 0.3
}
]
} // SequentialTransition
SequentialTransition {
node: photo
content: [
FadeTransition {
duration: 1s
fromValue: 0.0
toValue: 1.0
}
PauseTransition {
duration: 2.5s
}
ParallelTransition {
node: photo
content: [
ScaleTransition {
duration: 14s
node: photo
toX: .35
toY: .35
autoReverse: true
repeatCount: 2
}
PathTransition {
duration: 28s
node: photo
interpolate: Interpolator.LINEAR
path: AnimationPath.createFromPath(Path {
elements: carouselElements
})
}
]
} // ParallelTransition
// This FadeTransition should play sequentially, but
// it plays in parallel.
FadeTransition {
duration: .2s
fromValue: 1.0
toValue: 0.3
}
]
} // SequentialTransition