ParallelTransition.stop() does not stop containing animations - BUG???

Hi,
When I start a ParallelTransition animation, calling a stop() method has no effect on containing animations. Is it a bug or a "by design" behavior? Code to test:
package test;
import javafx.scene.Scene;
import javafx.scene.shape.Circle;
import javafx.scene.paint.Color;
import javafx.animation.transition.TranslateTransition;
import javafx.animation.Interpolator;
import javafx.animation.transition.ParallelTransition;
def obj = Circle {
centerX: 0, centerY: 0
radius: 40
fill: Color.BLACK
translateX: 100;
translateY: 100;
def scene = Scene {
width: 800
height: 800
content: [ obj ]
function run( args : String[] )
FX.deferAction( function() {
def tt = ParallelTransition {
content: [
TranslateTransition {
duration: 5s
node: obj
toX: 800
toY: 800
interpolator: Interpolator.EASEBOTH
tt.play();
tt.stop();
/*for ( t in (tt as ParallelTransition).content )
t.stop();*/
scene;
Antón
Edited by: user4165069 on Dec 15, 2010 6:39 AM

Hi, I think it works.
import javafx.scene.Scene;
import javafx.scene.shape.Circle;
import javafx.scene.paint.Color;
import javafx.animation.transition.TranslateTransition;
import javafx.animation.Interpolator;
import javafx.animation.transition.ParallelTransition;
import javafx.scene.control.Button;
import javafx.stage.Stage;
import javafx.scene.layout.HBox;
import javafx.scene.layout.VBox;
def obj = Circle {
            centerX: 0, centerY: 0
            radius: 40
            fill: Color.BLACK
            translateX: 100;
            translateY: 100;
var btnStart = Button {
            text: "Start"
            action: function() {
                tt.play();
var btnStop = Button {
            text: "Stop"
            action: function() {
                tt.stop();
var hbox = HBox {
            content: [btnStart, btnStop]
def tt = ParallelTransition {
            content: [
                TranslateTransition {
                    duration: 5s
                    node: obj
                    toX: 600
                    toY: 600
                    interpolator: Interpolator.EASEBOTH
def scene = Scene {
            width: 700
            height: 700
            content: [obj, hbox]
var stage = Stage {
            title: "MyApp"
            onClose: function() {
            scene: bind scene
        }

Similar Messages

  • Precomposed layer does not recognise opacity setting (bug)

    Hi
    I have a very simple precomposed layer comprising a single text layer with a drop shadow (layer style). However, it does not recognise the opacity setting in the main layer, even when set to 0% and the playhead is not even on the layer. If I change the opacity in the precomposed layer I can see it coming through to the main layer, but changing the opacity in the main layer does nothing.
    I have reported this to Adobe as a bug, anyone have any other ideas?
    Thanks
    Antony

    There is a fix. Apply a layer style to your pre-comp, then turn off the any styles. CR will now evaluate layer styles in your source comp and render them in the proper order.
    Why does that work? You have to understand how CR works. When you turn on Continuous Rasterization the layer type is identified before any effects or transformations take place. This is why you can scale a vector layer without problems if CR is turned on. This explains why a 3D pre-comp that contains a 2D layer will be rendered as a 2D layer.
    When you apply a Layer Style you are changing the layer type in the same way you change a layer type from 2D to 3D. If you want to have transformations applied to the layer style in the source file you need to change the layer type of the pre-comp layer to Layer Styles.

  • [MacOSX 10.10] [RDP 8.0.12] Remote screen does not match containing window size or monitor

    Hello. I am facing a very strange issue that I have never seen before. When I connect to a remote host, the host's screen does not match my client screen, and instead spills over into two monitors. This happens in full screen mode. When switching to windowed
    mode, only a portion of the remote host shows, the rest is a black screen.
    I would love to post example pics but this site wont let me until I verify my account, but I have no email asking me to do so...

    A few notes:
    - I have tried a restart.
    - I am running two displays, one is the built in 1440x900, one is an external 1920x1200
    - I am on OSX10.10.1
    - RDP is 8.0.12
    - I have tested this against Windows 7 Pro machines
    - This was working fine a week ago, just started this week.
    Graphics Properties Dump:
    Chipset Model: NVIDIA GeForce GT 650M
      Type: GPU
      Bus: PCIe
      PCIe Lane Width: x8
      VRAM (Total): 1024 MB
      Vendor: NVIDIA (0x10de)
      Device ID: 0x0fd5
      Revision ID: 0x00a2
      ROM Revision: 3682
      gMux Version: 1.9.23
      Displays:
    Color LCD:
      Display Type: LCD
      Resolution: 1440 x 900
      Pixel Depth: 32-Bit Color (ARGB8888)
      Mirror: Off
      Online: Yes
      Built-In: Yes
    HP LA2405x:
      Resolution: 1920 x 1200
      Pixel Depth: 32-Bit Color (ARGB8888)
      Main Display:
    Yes
      Mirror: Off
      Online: Yes
      Rotation: Supported

  • Presenter does not play Flash animation

    Hey.
    I've got a problem with the Presenter when trying to incorporate a certain Flash animation into the presentation. The Flash animation is just a collection of spheres who move and collide according to an Action Script Code (AS 1, not 3!). Since the whole animation is dictated by the script, the duration is just 1 frame. When I create the .swf file, it works fine.But as soon as I incorporate it in PowerPoint and export the presentation with the Presenter, the animation shows nothing more but the first frame.
    I tried both settings for the .swf managment (managing by presentation - true and false), neither of those worked.
    Does anybody have any idea what I can do about this?
    Thank you!

    Hello Dinindaerrtu - After how many weeeeeeeks. I finally have it working. You are not going to believe what my problem was... BOY! O! BOY!
    I might have lost the plot as to what your problem was but let me explain what I did. Off the bat I could not even import an swf and play it in presenter. Nothing worked even although I have done it before. I know your solution was to have it run in one frame. Ok! Ok! I am so excited because I have eventually got it to work ... heee.... with help from Adobe (Kapil ... thanks Kapil). So here it comes... Ready? All I had to do was upgrad my version of Presenter. I must have upgraded my version about 4 times. My current version is 7.0.6 Build 7604.
    I created a couple of tests and it works.
    I am so holding thumbs that this will sort your problems.
    Let me know
    Dimitri

  • Screen Mirroring does not work, full of bugs.

    Hi,
    I've had a Sony Z1 for well over six months now and have got a Sony Bravia TV that supports mircast screen mirroring. When I purchased the Z1 it was on android 4.2 and the screen mirroring worked a treat, it was lag free, always responsive etc.
    But when I upgraded to 4.3, the mirroring was buggy as **bleep**, the device always disconnected, when it did connect after several attempts it would lag, black out, then disconnect again. I've tried fiddling with wifi settings as well as wifi direct etc. but no joy and I left it as that.
    When I knew 4.4 kitkat was coming to the z1 I waited as I would assume the issue would be fixed, but I upgraded to 4.4 (build: 14.3.A.0.757) today and is still full of these disconnecting and unresponsive bugs. I'm not sure what the problem is, I mirrored a samsung s4 mini and works absolutely fine (4.2) and I can mirror my sony xperia tablet z (4.3) with no issues either. I know a relative who also owns the z1 and has exactly the same issue, what also seems to happen now and then, is that half way through a mirrored session, the wifi would disable and will switch to the mobile network, then after some time, back to wifi again; yet this never happened on 4.2?
    Is there a fix or a way to solve these issues? It's rather annoying having such a great feature that doesn't want to work on a flagship. 
    Thanks.

    I had some issues with Miracast on my Z1 but with 4.2 and 4.3 firmware. It was loosing connection or kept saying that I don't have HDCP. I was connecting using Netgear Push2TV.
    On 4.4  (.757) it works quite stable. On Z1C with 4.3 I wasn't able to miracast at all.
    The same goes with screen mirroring to Z2 tablet. Works fine from Z1 to Z2 (both KitKat, altough one touch pairing is a disaster and not working at all), but you can forget about it using Z1C and Android 4.3.
    Best regards,
    Sergio PL
    Xperia Z1 / Nexus 7 (2012)

  • The cookieName property in cookie-properties does not work in AS7 - bug in

    Hi,
    I'm working on an app that is accessed in two different ways, one directly from our intranet e.g.:
    http://host.domain:7000/esq/App.jsp
    And also over the internet tunnled over ssl (Sun.net):
    https://host2.sun.net/http%3A//host.domain%3A7000/esq/App.jsp
    Obviously the cookie path of "/esq" doesn't work with a url like that. So I set cookiePath to "/". Which is fine, but then my cookie conflicts with other apps tunneled over SSL - including one we host on the same app server. I'm thinking that if I can change the cookie's name to something unique other than the default "JSESSIONID" I'd be ok. And that's where I think I've run into a bug with AS7. Setting the cookiePath works fine, but changing the cookieName doesn't seem to have any effect, the App server keeps on naming it "JSESSIONID".
    This is what I have for my sun-web.xml:
    <sun-web-app>
    <session-config>
    <cookie-properties>
    <property name="cookiePath" value="/"/>
    <property name="cookieName" value="ESQ"/>
    </cookie-properties>
    </session-config>
    </sun-web-app>
    Thanks,
    Daniel Brice.

    Jacques,
    It appears that in the past few days you have not received a response to your posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at http://support.novell.com in both the "free product support" and "paid product support" drop down boxes.
    - You could also try posting your message again. Make sure it is posted in the correct newsgroup. (http://support.novell.com/forums)
    If this is a reply to a duplicate posting, please ignore and accept our apologies and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Why is it that Apple Iphone 4 does not have any animated wallpapers?

    I love my iphone 4 but would really love to have animated wallpaper!

    It's not a feature of the iPhone. No one but Apple knows why they do things but in this case, I'm guessing it's not there because it offers no user benefits and will only use unnecessary resources. IMO, it's just a gimmick that gets old very quickly. If you really want to modify your smartphone, get an Android, not an iPhone.

  • Setting Tooltip on accordion section Does not work. Possible bug??

    HI All,
    I am using accordion control with following code.
    var oAccordion = new sap.ui.commons.Accordion("accordionA");
    //Building Section 1
    var oSection1 = new sap.ui.commons.AccordionSection( "section1" );
      oSection1.setTitle("Section 1kdfjkdasfjsdafffdfjkakfajfajfksafjdkfjdf");
    oSection1.setTooltip("Section 1");
      oSection1.setMaxHeight("100px");
      for (var i=0 ; i < 5 ; i++){  
    var oCheckBox1 = new sap.ui.commons.CheckBox( "CheckBox1"+i );
      oCheckBox1.setText("CheckBox1 "+i);
      oSection1.addContent( oCheckBox1);
    var oLabel1 = new sap.ui.commons.Label( "Label1"+i );
      oLabel1.setText("Label 1 "+i); 
      oSection1.addContent( oLabel1);
      oAccordion.addSection( oSection1 );
    Though I am setting the Tooltip. While mouse hover I don't see the tooltip.
    My thought is whenever sectionsTitle is truncated it should show the tooltip.
    Please clarify when the tooltip will be visibile.
    thank you for allyour inputs and help in advance.
    regards

    Hi there,
    It is a bug. You may use the title for each section until they get the tooltips to work.
    Regards,
    Alejandro.

  • Captivate 3 does not import PPT animations

    I have the PPT set to build (text, graphics) on mouse click.
    When I import into Captivate 3, and attempt to record audio, it
    just flies through the animations without pausing for my mouse
    click.
    Is there any way I can use PPT import? Or do I have to just
    record the presentation as I give it?
    Thanks,
    -Paul-

    >I have the PPT set to build (text, graphics) on mouse
    click. When I import
    > into Captivate 3, and attempt to record audio, it just
    flies through the
    > animations without pausing for my mouse click.
    >
    > Is there any way I can use PPT import? Or do I have to
    just record the
    > presentation as I give it?
    >
    I think there are some limitations with certain PowerPoint
    animations. So
    far as I know, Captivate 4 addresses these issues.
    Steve
    http://twitter.com/Stevehoward999
    Adobe Community Expert: eLearning, Mobile and Devices
    European eLearning Summit - EeLS
    Adobe-sponsored eLearning conference.
    http://www.elearningsummit.eu

  • Is it really true that EA CC 2014 does NOT support multiple animations on a single page?

    My page has multiple animations that I have spent days designing, and now my developer is telling me we can only use one. 
    Is this seriously true?  A lack of detail on this issue will surely drive me to use another product like Hype or Google...
    http://www.adobe.com/devnet-docs/edgeanimate/api/current/index.html#multiplecompositions

    Hi,
    Please check this article, you can still use multiple composition on a single page, it is working on Edge CC214
    Nesting Animate compositions with the Composition Loader by Edge Commons | EdgeDocks.com
    I will check more on this with the concern team and let you know.
    Regards,
    Devendra

  • IsReadOnly and Keyboard does not work anymore - WPF Bug?

    I have created a TextBox that is read only.  Once the text is read only however the arrow and page keys no longer function!  Strangely, the shift-arrow keys still work to allow selection.  Why can't I scroll the text box when it is read only with the arrow keys.  This seems like a WPF bug - especially since shift-arrow keys allow scrolling and selection!
    Regards,

    Agreed, I worked around it with the following:
            private void FilePreview_PreviewKeyDown(object sender, KeyEventArgs e) 
                // the IsReadOnly flag on the control doesn't let the navigation keys work! 
                // (strangely, the selection keys work!)  Because of this we create our own 
                // read only control logic by only allowing the navigation keys to be processed, all other keys 
                // are marked as handled by us 
                if (!(e.Key == Key.Down || e.Key == Key.Up || e.Key == Key.Left || e.Key == Key.Right || e.Key == Key.Home || e.Key == Key.End || e.Key == Key.PageDown || e.Key == Key.PageUp || e.Key == Key.Tab)) 
                    e.Handled = true; 
    Todd

  • Container element 'ADDRESSSTRINGS' does not exists

    Dear all,
    I am trying to define expression for recipient type
    it gives me error
    container element 'ADDRESSSTRINGS' does not exists
    container element 'EXPRESS' does not exists
    container element 'TYPEID' does not exists
    Can you please share the technical detail of these parameters
    or is there some other problem
    Best of regards,
    Gaurav

    Hi Gaurav,
    These are the standard task container's for the send mail step type.
    No need create these container's and already they are available in the Task container.
    Have you used the standard task to send the mail? If so just double click the Task ID and you can find these container's under the Container Tab.
    Just delete the send mail step and create a new one. It will solve the issue.
    Thanks,
    Viji.

  • My weather forecast does not work!

    My weather forecast does not work, the animation background catching this.
    This equals the image of the print, it does not move.

    Try:
    - Reset the iOS device. Nothing will be lost      
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings                 
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes
    - Restore to factory settings/new iOS device.                       

  • .mov file does not display on the web-site

    iWeb is easy to use but my simply link to a .mov file does not work. I am working on the Domain file on my Desktop so I can move it between computers, and it renames the media file in the inspector from name.mov to name-1.mov. In the end the site does not display the animation.

    Are you linking to this file so that it can be downloaded from your website?

  • Workshop 10.3 generated WSDL does not conatain policy assertions

    when I use a WS-RM policy in my JWS the workshop generated WSDL (right-click gen WSDL) does not conatain these assertions.
    bug? is documented somewhere?

    Yes of course the policy is located with the jws.
    For the the mtom, it does not work for WLS 9.2 target.
    your sign example does not work because it is missing the policy: so if I change it to
    @Policy(uri="policy:sign-policy.xml") and try then
    I cannot see any Policy assertions in the WSDL.
    if I try with
    @Policy(uri="policy:sign-policy.xml",attachToWsdl=true)
    I get:
    attachToWsdl can not be set to true for policy "policy:sign-policy".
    see my other posting for this.
    Again it does not even work with the WS-RM example provided with WLS92
    maybe it is related to the WLS version??

Maybe you are looking for