Transition of container moves slowly

Hi all

I want to pass a B container in an another A touch event. But the container B do not keep pace with the stroke of a finger.

Container {
    id: containerA
    background: Color.Yellow
    horizontalAlignment: HorizontalAlignment.Fill
    verticalAlignment: VerticalAlignment.Fill
    implicitLayoutAnimationsEnabled: false
    layout: DockLayout { }

    onTouch: {
        if (event.isDown() || event.isMove()) {
            containerB.translationX = event.localX;            containerB.translationY = event.localY;
        }
    }

    Container {
        id: containerB
        preferredHeight: 65
        preferredWidth: 220
        background: Color.DarkGray
        implicitLayoutAnimationsEnabled: false
    }
}

Is there a way to make it faster?

I also added ImplicitAnimationController as the object attached to the container B:

attachedObjects: [
    ImplicitAnimationController {
        propertyName: "translationX"
        enabled: false
    },
    ImplicitAnimationController {
        propertyName: "translationY"
        enabled: false
    }
]

Now, the speed is satisfactory!

BBSJdev, thank you! Closed question

Tags: BlackBerry Developers

Similar Questions

  • I'm unable to view devices and printers. Green bar moves slowly on screen, but does not show anything

    When you try to solve a problem, discovered that Bluetooth 'printers and devices' in the control rest empty.  A green line moves slowly on the screen, but even after a long break, none of my devices appear.

    64 bit W7

    Hello

    1. If you are unable to print, what is the exact error message?

    2. are you aware of any changes made to the computer, before the show?

    3. What is the problem you are having with Bluetooth?

    Method 1:

    Consult the following link:

    Window devices and printers stops responding (hangs) after you turn off the Bluetooth Support service in Windows 7 or in Windows Server 2008 R2

    http://support.Microsoft.com/kb/2486635

    Method 2:

    An analysis of auditor of system files on your computer.

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7

    http://support.Microsoft.com/kb/929833

    It will be useful.

  • What does 'insufficient media. This transition will contain repeated images"means?

    Premiere Pro CS5.5.2. Windows 7 Pro.

    What does 'insufficient media. This transition will contain repeated images"means?

    Duration of image A 00.00, 08:48

    Duration of image B 00.00, 31: 00

    Duration of transition 00.00, 00:30

    At maximum zoom, there is no difference between the two clips to 00. 33; 44; 44 in the timeline panel. Transition window info appears on any video transition that I use.

    Duration of the film is currently 01; 09; 39 38

    D0NNN wrote:

    What I don't understand?

    Handles the item and transitions

    https://helpx.Adobe.com/Premiere-Pro/using/transition-overview-applying-transitions.html#c lip_handles_and_transitions

  • load a movie in a container movie - should I remove the first?

    I'm loading movies into a container feeder, BUT when I load in one of my games it works real slowly. Is it because I have to have removed other films first IE: they seem to be all in there and stacked above the other.



    import flash.net.URLRequest;
    import flash.display.Loader;
    import flash.events.Event;

    MyButton.addEventListener (MouseEvent.CLICK, this.startLoad);
    function startLoad(e:MouseEvent)
    {
    var mLoader:Loader = new Loader()

    var mRequest:URLRequest = new URLRequest ("bgWalk1.swf");
    mLoader.contentLoaderInfo.addEventListener (Event.COMPLETE, onCompleteHandler);
    mLoader.load (mRequest);
    }
    function onCompleteHandler(loadEvent:Event)
    {
    addChild (loadEvent.currentTarget.content);
    }

    Nothing works on earlier versions.

    If you're talking about previous versions of Flash - Flash 9 and upwards can interpret AS3.

    Here's a concept that takes over sovereign wealth funds in one order and deletes the previously loaded SWFs. It uses the same key. Read the comments.

    import flash.display.DisplayObject;
    import flash.display.LoaderInfo;
    import flash.display.MovieClip;
    import flash.net.URLRequest;
    import flash.display.Loader;
    import flash.events.Event;
    // array of swfs
    var swfs:Array = ["movie1.swf", "movie2.swf", "movie3.sef"];
    // index of currently loaded swf
    var currentSWFIndex:int = 0;
    // reference to currently loaded swf
    var currentSWF:DisplayObject;
    // loader can be instantiated once
    var mLoader:Loader = new Loader();
    // load first swf
    startLoad();
    
    function startLoad(e:MouseEvent = null):void
    {
         // disable button while swf is loading
         MyButton.removeEventListener(MouseEvent.CLICK, startLoad);
         var mRequest:URLRequest = new URLRequest(swfs[currentSWFIndex]);
         mLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,  onCompleteHandler);
         mLoader.load(mRequest);
    }
    
    function  onCompleteHandler(loadEvent:Event)
    {
         // remove previously loaded content if it exists
         if (currentSWF && this.contains(currentSWF)) {
              if (currentSWF is MovieClip) MovieClip(currentSWF).stop();
              removeChild(currentSWF);
              currentSWF.loaderInfo.loader.unload();
              currentSWF = null;
         }
         currentSWF = loadEvent.currentTarget.content;
         // remove listener to make eligiblae for GC
         LoaderInfo(loadEvent.currentTarget).removeEventListener(Event.COMPLETE,  onCompleteHandler);
         addChild(currentSWF);
         // advance to the next swf
         currentSWFIndex = currentSWFIndex < swfs.length - 1 ? currentSWFIndex + 1 : 0;
         // enable button for click
         MyButton.addEventListener(MouseEvent.CLICK, startLoad);
    }
    
  • "Random selection" for "Transitions" in Windows Movie Maker?

    For all that I can tell, Windows Movie Maker doesn't have a 'Random' selection for transitions.  It is this true or am I missing where the selection within the program?

    Hello ugotano,

    Welcome to the Microsoft Answers Forum!

    If you are looking for the option on how to change or add the transition in Movie Maker, here are the steps:

    1. on the table of the storyboard / timeline, click the second of the two video clips, titles or images that you want to add a transition between.
    2. click on tools, then on Transitions.
    3. in the content pane, click the transition that you want to add. You can click Play under the monitor to see a preview of what looks like the transition.
    4. click on the Clip and then click Add to timeline or add to the storyboard table.

    Here is an article you can do references who will give you information on the transitions:

    http://Windows.Microsoft.com/en-us/Windows-Vista/add-transitions-and-effects-to-pictures-and-video-in-Windows-Movie-Maker

    By default, Windows Movie Maker does not include transitions random, pans and zooms.  Adding Pan/zooms and transitions must be picture.
    You can apply the same transition to all the clamps at the same time:
    1. click on the 1st box of transition on the storyboard table (small box between the clips)
    2. do one of the following:
    3 Ctrl + A to select
    4 shift-click on the last transition box to select everything in between
    5 Ctrl-click the transitional areas to add them to the selection one by one.
    6. right click on the desired Transition and select "apply to the Storyboard object.

    I hope this information helps.

    Thank you
    H Irfan, Microsoft Answers Support Engineer.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • random transitions on vista movie maker 6

    I recently discovered the filmmaker windows 6 on my computer, after several years using proshow gold.
    Anyone know if it is possible to apply transitions 'random' to all the slides. I commonly slideshows using a lot of pictures, I'd find a lot of your time to apply transitions to each slide individually

    Thanks for any help on this

    brand

    I recently discovered the filmmaker windows 6 on my computer, after several years using proshow gold.
    Anyone know if it is possible to apply transitions 'random' to all the slides. I commonly slideshows using a lot of pictures, I'd find a lot of your time to apply transitions to each slide individually

    Thanks for any help on this

    brand

    =================================
    Automatic video option might be worth a try.

    Windows Vista-
    Make a movie quickly in Windows Movie Maker (AutoMovie)
    http://Windows.Microsoft.com/en-us/Windows-Vista/make-a-movie-quickly-in-Windows-Movie-Maker-AutoMovie

    FWIW... PhotoStory 3 may be worth a try for the creation
    Video slide shows from still shots:

    PhotoStory 3 for Windows
    http://www.Microsoft.com/windowsxp/using/digitalphotography/Photostory/default.mspx
    (Yes, it will run on Vista, but not Win7)

    John Inzer - MS - MVP - Digital Media Experience - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • How can I make my photos in my slideshow move slowly towards the screen while this mixture?

    I was looking at my pictures of holiday and hit the word "slideshow".  A photo could evolve slowly towards me for a few seconds, and then again one right after the other... it looked really cool.  Now - for some reason any... He is not doing that.  Everything that happens is photo suddenly appear on the screen - one right after the other.  No discoloration or movement.  How to bring back the soft cool slideshow?  Thank you - Heath

    Hi Heather,

    -What program do you use to view photos on the computer?
    -Were there any changes made to the computer before the show?

    If you use Windows Photo Viewer to display pictures on the computer, then try these steps and check.

    a. double click on a photo and click the slide show button.
    b. right-click on the photo and select slideshow speed or slide show average speed.
    c. When finished, close the Windows Photo Viewer and once more open it and check if the problem persists.

    For reference:

    View and use your pictures in Windows Photo Viewer
     http://windows.microsoft.com/is-IS/windows7/View-and-use-your-pictures-in-Windows-Photo-Viewer

    Working with digital images 
    http://Windows.Microsoft.com/en-us/Windows7/working-with-digital-pictures

    If you use program Photo Gallery to see the pictures, then I suggest you to ask your question in the forums Windows Live Photo Gallery is a product provided through Windows Live Essentials.
    http://answers.Microsoft.com/en-us/windowslive/Forum

    If you use a third-party program to look at pictures, then I suggest that you contact the software vendor for assistance.

  • FX - scroll content container move outside of the browser.

    Hello together!
    I have a question, which makes me mad for a month or two.
    I'm curious to know if anyone has an answer or you can at least tell me where I made the mistake...

    I did a small site on a page - master page. The browser fill is a mosaic with a scroll effect.


    The navigation is done with icons and I used anchors to navigate to single points.

    Everything works fine on my PC.

    But when I visit the page on another PC or Mac, or change browsers, and I use the navigation, or simply scroll down, the pages (content containers) begin to move to the left.

    I'm sure it has something to do with the anchors, but I do not know...

    In older versions, I always put the anchos on the right or left side of the page, so they would not disturb me. But a few days ago, I saw a tutorial, and this guy has placed all the anchors in the center of the page.

    So I did - now. And it really works fin on MY PC - but nowhere else...

    Please if anyone can help me would be great!

    Here is the link to the page.

    http://dus00101.BusinessCatalyst.com/

    The screenshot below shows what it looks like in Internet Explorer.

    Obviously, the content containers are turning to the left side.

    Its always the left - right never!

    Thanks in advance for your help.

    Michelle

    2015-03-12 00_43_10-Homepage - Internet Explorer.jpg

    The content of the page is 1500 pixels wide. (When you resize the browser window smaller that the horizontal scroll bar is displayed when the browser window is less than 1500 pixels wide. As long as the browser window is less than 1500 pixels, there will be a horizontal scroll bar and horizontal scrolling will occur when scrolling of an anchor.

    If all the anchor points are at the same position x:, and then once the page has been scrolled beyond the one anchor scrolling elements will be later all vertical only (unless the user manually scrolls horizontally to another position).

    If you visit a site of Parallax as http://muse.adobe.com content is wide 980px.

    You can turn off the ability to scroll horizontally, which allows to hide the horizontal scroll bar, with a snippet of code pasted into the Page Propertiesarticle, but this is strongly discouraged because it would interfere with the normal navigation of your site for those visiting your site on smaller screens.

  • Content in the container moves every time I click on

    Hello!

    I created a project called a symbol in a container, and when the user clicks, the content is loaded into the container. However, whenever I click the button, it goes down the contents/container about 25 pixels.

    I tried in Firefox and Chrome, it works better in FF, but the same problem occurs also in Chrome.

    If anyone knows why this is happening, I would appreciate greatly any help. Thank you!

    Link to project: http://adobe.ly/1mbxreo

    It is not moving not not, but actually reproduce the symbol on each click. If you click once, it seems in good condition, click a second time, you will see the symbol instance appear below the first appearance because the first instance of symbol is still there.

    You must destroy or remove from the original instance so that the same operation click to occupy the same space.

    Enter symbol editing Mode for hashtagButton

    1. Switch Mode Action timeline by clicking on the {}, as they appear;
    2. Click on the + and select "complete" event handler
    3. Then type in the Code sym.deleteSymbol ();

    HTH

    Darrell

  • How to make my video move slowly to the right after a few seconds?

    Hello

    I have the code which will be my Banner_mc in the middle of my introductory page with some effects. Now, I want this clip to wait for a while and then move to the right until it disappears with the same effects. How can I do?

    var BannerFadeTween:Tween = new Tween (Strong.easeOut, 0, 1, 6, Banner_mc, "alpha", true);
    var BannerRotateTween:Tween = new Tween (Banner_mc, "rotation", Strong.easeOut, 0, 360, 6, true);
    var BannerXTween:Tween = new Tween (Banner_mc, "x", Strong.easeOut,-300, 500, 6, true);
    var BannerYTween:Tween = new Tween (Banner_mc, "y", Strong.easeOut,-125, 300, 6, true);

    Thanks in advance for any help in this regard.

    https://www.greensock.com/TweenLite/

    https://www.greensock.com/tweenmax/

    the download buttons are at the top right of the pages.

  • Program moves very slowly

    Hi all

    Its very nice to find that people are so helpful on this forum.

    I just collect my Adobe Premiere Elements program moves slowly sometimes is because my computer is not sophisticated enough to stick with it. I'm running on a Sony Vaio, processor intel core duo. I understand the basic things, but admit that I am not advanced computer tech andmy main use for the program is to change my actor and Director of coils.

    When I change something and you are trying to watch the playback, the audio will play but video will be stuck on an image and then go and its very unhelpful.

    I checked that I have no other programs on my computer running that could slow down, but can you suggest something else I could do? An analysis of the system or an upgrade, I missed?

    Also on my site it is said that I have 'USED' all my Adobe online storage is that maybe whats slowing things down?

    Thank you

    Welcome to the forum.

    What are the specifications. Source files and which is predefined, selected project to the new project?

    With the Duo - Core CPU, if you edit HD material and especially AVCHD or some flavor of H.264 videos, you will never really smooth playback. The best we can do is tuneup the system and the OS and then, if there is a red line above the Clips in the timeline panel, press ENTER to Render for a better reading. This ARTICLE has some tips on setting up of its system and the operating system.

    Good luck and please let us know some info.

    Hunt

    PS - the storage of Photoshop.com shouldn't have any impact on the performance of the edition.

  • Effect of movement not executed on the transition from State

    I have the following problem using view States, of transitions and the effect of movement

    I have a component panel and States state1 and state2.

    Panel is included in state1 but not in state2.

    When view state is changed from state1 to state2 I want to animate the front panel is removed.

    However, if I put a motion effect in my state of transition that it never runs because the Panel is removed before the effect plays.

    The only solution I found was to add a fade transition effect. This prevents the Panel to detach and the effect of movement is plays correctly.

    What continues? Is there a documentation explaining this? This could be a bug?

    Here is a sample application to demonstrate the problem. Panel1 has the problem and workaround Panel2.

    <? XML version = "1.0" encoding = "utf-8"? >

    " < = xmlns:fx s:Application ' http://ns.Adobe.com/MXML/2009 "xmlns:s ="library://ns.adobe.com/flex/spark" "

    xmlns:MX = "library://ns.adobe.com/flex/halo" >

    < s: states >

    < name s: State = "state1" / >

    < name s: State = 'state2' / >

    < / s: states >

    < s:Group >

    < s:Panel id = "panel1" y = "0" y.state2 = "100" title = "Group 1" includeIn = "state1" / > "

    < s:Panel id = "panel2" x = "150" y = "0" y.state2 = "100" title = "Group 2" includeIn = "state1" / > "

    < s:Button left = "300" label = "toggleState" click = "currentState = currentState == 'state1'? 'state2':"state1"" / > "

    < / s:Group >

    < s:transitions >

    < s:Transition fromState = toState 'state1' = 'state2' >

    < s:Parallel >

    <!-strange! 1 Panel is removed before the effect of movement time->

    < s:Move target = yTo "{panel1}" = "100" / >

    <!-the workarount. With a mannequin fade effect panel2 stays visible and move effect is executed->

    < s:Move target = yTo "{panel2}" = "100" / >

    < s: bland target = alphaTo "{panel2}" = "1" / >

    < / s:Parallel >

    < / s:Transition >

    < / s:transitions >

    < / s:Application >

    What is happening here is the Panel is removed from the DisplayList at the beginning of the transition before the passage has a chance to occur.  This happens by default unless someone tells the transition to remove the item at another time.

    There is a special logic built into bland who knows when an element is removed from the DisplayList so that he knows to say the transition to weaken the element before removing it.  This is why the workaround you mentioned works for your case.

    You will notice that if you use:


    The target fades out as long as his movement before retiring from the DisplayList.

    Normally, in this situation the transition must know when to remove the item from the DisplayList and you can tell him that using the RemoveAction tag, for example:

    http://ns.Adobe.com/MXML/2009"xmlns:s ="library://ns.adobe.com/flex/spark">
       
           
           
       

       
       


           
       
       
       
       
       
           
               
                   
                   
               

           

       

    Note that in this transition, I use a sequence and put the RemoveAction after the move, so the transition knows to move the item before removing it.

    By the way, thanks for the great code example!  When posting code on here is compile concise, complete, and I can quickly copy and paste into Flash Builder, I'm much more likely to focus on the issue.

  • Tecra S1: Move the mouse pointer

    From time to time my mouse pointer moves slowly upward or sideways. This happens once anchored and when not docked. In the latter case, I have an external mouse not attached.

    This problem is really annoying, especially when you try to hit a box for example.

    Any ideas?

    See you soon

    seasack

    Hi seasack

    If you use the pointer internal (the stick between GH and B), it is very common that the ca of pointer starts to move.
    The reason is a bit technical but very understandable.
    The mouse pointer works like a small joystick. Means that it is that you push forward, down, sideways and so on. However, please check the HOUSE or 0-position from time to time. When you're not, this would be a normal position of the HOUSE for us but it doesn't.
    It is therefore possible that it may be wrong to believe that the position of the HOUSE is when you push forward.
    If you stand and do not change the position of the needle for (I think) 2 separate controls the position of the HOUSE, this position will then be the new post HOME until the next time he finds another.
    Actual cases is not that extreme, of course, but more normal cases are that you bend your finger on the pointer when for example reading something on the screen. The pointer can recognize as a small boost, and if you do go, then he could have a new position of the HOUSE and start to drift or it could be "heavy" feeling in a certain direction.
    The solution? Simple! Leave it on for about 5 seconds and it will go away.

    If you have this problem, even if your not even using the pointer, then I guess you have a hardware problem.
    Try disabling the internal mouse by pressing FN + F9.

    Good luck

    Tom

  • My Apple Magic Mouse 2 is erratic, its moving very slowly or not at all.

    My Magic Mouse 2 is erratic, it sometimes does not move or moves very slowly.  I tried to log on to Apple Support without success as accessories do not seem to be supported.  Does anyone have a suggestion?  I have changed the speed of follow-up, recharging the mouse via bluetooth, rebooted, not everything works.  Scrolling works fine, but when I move the mouse it move step or move slowly.  I use a pad, just to make sure this isn't a surface issue.

    I'm curious to know if your problem persists on the mouse pad? I also use a mouse pad. Mine is a black steelseries all mats. I bought it when I bought my MM2 nearly two months. Before this week, I had when the mouse pointer is frozen on the screen or moved very slowly for a period of time. The problem solved always himself, after a brief period. Starting this week I twice when the pointer is locked horizontally. He moves laterally, but not vertically. I moved it out of the mouse pad, and it worked perfectly. Back on the shelf, it is still stuck horizontally. By turning the MM2/turn off had no effect. I rebooted and everything worked again. Spend a day or two, and it does again. I was not in a place to do a restart and continued to work on the mouse pad. After a few moments I am back on the mouse pad and it works again. It has been working fine since then. I have reviewed the MM2 lens, but it seems normal. He had been recently charged then the power should not be a problem. With the exception of those troubles it works much better that my original Messrs. Pour memory, I use a Mac mini (end 2012) OS X 10.11.2 with updates that have been offered. I did a general search of this issue and your description seems close, I could find to issue messages so far.

  • G510 - black screen, everytime I move my laptop

    I have lenovo g510 windows mobile 10 whenever I move my laptop my screen goes black when I put it on the flat surface of his pleaaasssseeee back give me the solution

    Mod edit: System model added to the front of the subject line to improve visibility / clarity.

    Hello, welcome to the forums.

    This may seem to me like your monitor hardware problem, the best thing to do will be to open a ticket for Lenovo. If the machine is guaranteed that they will cover, otherwise they will charge you. But I know not complete.

    But maybe you can specify what type of movement you made for your black screen, a slight movement of the screen when you move it over the hinges? , or is it when you disconect the laptop power and lift all the computer? What happens if you move slowly? How do you need to move it to the screen turns off?

    Sorry to have more questions. I suggest youcheck the support site and updated the BIOS, power and video just in case drivers drivers.

    Concerning

Maybe you are looking for