How to control the speed of nested movie with mouse

I have a movie nested inside another movie with pictures that
scroll horizontally across the screen. I would like the user to be
able to control the speed and direction of the pictures by moving
their mouse. Can anyone give me some insight on where to look to
find out how to do this?
If this can't be done then perhaps add controls on the screen
to stop / play / speed up / slow down the horizontal scrolling
pictures

it can be done. search for a scrolling movieclip tutorial
using google or at flashkit.com

Similar Messages

  • How to control the speed of a loopOut expression

    I have a looped walk-cycle of an elephant that I would like to control the speed of using a slider controller or similiar.
    I have a 25f walk cycle that Ive used the loopOut expression on. I would like to add to this something to control the speed of the loop so I can easily make the elephant walk, run or stop.
    Im not an Expression genius so would like some advice on how to go about this.
    Cheers

    Trying to create a rate slider is going to be complex. Dan Ebbert's MotionScript site has an explanation of how to write an expression for a speed control slider. It would be a good page to study.
    I would adjust the keyframes of my walk cycle so it was at the slowest speed, pre-compose, then adjust pre--comp settings and extend the length so it was much longer than the main comp and extend the walk cycle or you'll run out of cycles before the main comp ends. I would not convert your expression to keyframes because it is not necessary.
    Dan has an example that uses audio to drive time remapping. I already have all of his expressions for rate control in my animation presets library and use them all the time. I customized each or them to suit my typical needs. To customize his audio driving time remapping example I replaced the Audio Keyframes slider with an Effects Control slider attached to the layer. For a walk cycle you may want to keep all the values positive and animate between 0 and something like 3. I'm not sure what a walk cycle would look like while it was reversing.
    Here's what the expression looks like:
    spd = effect("Slider Control")("Slider");
    mult = .5;
    n = spd.numKeys;
    if (n > 0 && spd.key(1).time < time){
      accum = spd.key(1).value*(spd.key(1).time - inPoint);
      for (i = 2; i <= n; i++){
        if (spd.key(i).time > time) break;
        k1 = spd.key(i-1);
        k2 = spd.key(i);
        accum += (k1.value + k2.value)*(k2.time - k1.time)/2;
      accum += (spd.value + spd.key(i-1).value)*(time - spd.key(i-1).time)/2;
    }else{
      accum = spd.value*(time - inPoint);
    value + accum*mult
    Here's the animation preset: TimeRemapSpeedControl.ffx
    All you have to do is pre-compose, adjust the length of your pre-comp, then apply the expression and add keyframes.

  • How to control the speed of video file in Window media player

    Hello
        I had worked on LabView for a week & i am new to LabView.i am working on Labview 8.5 and i want to control the speed of video file in windows media player on front panel.
    Is it possible?and if yes send me some examples for this & steps to do this.
    Thank You.

    few minutes back only i posted a reply to similar question here

  • How to control the speed of an animation in Flash Catalyst

    I had created a simple slide show  in Flash and published as a .swf file. The slide show contains few  images and the animation takes about 45 seconds to run at 8 frames per  second. When i imported it into Flash Catalyst, the animationa runs very  fast, taking only about 15 seconds to get through the whole slide show.  I re-adjusted the animation in Flash to make it run slower but when i  imported the new version into flash catalyst, it runs at the same speed,  --still very fast.
    Is there any way for me to control the speed of my animation and make it runs the same speed as I set up in Flash?
    Thanks,

    Take a look at this forum post to see one solution:
    http://forums.adobe.com/message/3402367#3402367
    It takes a little effort in Flash Builder. but it should work. I am assuming your custom component goes from state 1 to state 2, and all the effects occur in the timeline?
    The other option is to go back to Flash Profession and have it do the looping.
    Chris

  • Require help controlling the time line of movie with AS 2.0

    I am trying to control a movie clip via action script through a button.
    My Flash File has a master movie clip "masterMC" that contains all of
    the movie clips for the flash movie.  It is essentially a calendar that
    when the user clicks on a date a small box pops up with the event(s)
    scheduled for that day.
    Inside "masterMC" there is a movie clip "calendar" and a movie clip
    "events" both with similar instance names.  Inside the "calendar" movie
    clip are calendar graphics of different months (oddly enough) where the
    dates on which an event falls is a button symbol.  I have a layer in the
    "masterMC" that holds the action script for the buttons.  I am trying
    to, when a button I pressed, trigger a specific frame to play in the
    "events" movie clip that brings up the box with the events.  One of my
    button's code looks like:
    Oct18_btn.onRelease = function (){
        eventsMC.gotoAndPlay("oct18");
    I have verified all instance names, frame names, letter case etc... And
    cannot figure out why when I test the movie nothing happens when I click
    the button.  Is there a problem in the code or could it be something
    else?  Thank you.

    I apologize for harping on about this, I have been away for a couple weeks and just saw this.  I think this is the case.  The "eventsMC" and "calMC" are in the "masterMC" however the button is inside of another movie clip called "octMC" within the "calMC" therefore I cannot seem to manipulate the action script correctly to achieve the result I want.  I have tried everything that has been posted as a possible solution and have gotten nowwhere.  I tried putting the script directly on the button as:
    on(release){
         eventsMC.gotoAndPlay ("oct11");
    and all varients using "_root." etc... and have gotten nothing.  I attached the .fla file if anyone is willing to take a look and help me; the only button I have been working is the one for OCT 11.  I simply want to repeat the same process each time an event falls within a day of the month.  Thank you.

  • How do I control the speed of a 24 volt DC motor with a 5 volt signal?

    Hi guys, I need your expertise here. I am trying to control the speed of a 24 volt dc motor for a project. To do this I am using a MOSFET transistor. I am using the 5 volt output from a NI myDAQ microcontroller. When I connect up the circuit, the MOSFET allows roughly 13 volts to pass through the motor without a gate signal. When I apply a 5 volt signal to the gate of the MOSFET transistor it sends 24 volts to the motor and remains at this even when the 5 volt signal is removed. My plan was to use PWM on the gate signal to control the speed of the motor. I was hoping that the motor would be at 0 volts and ramp up to 24 volts with a 5 volt gate signal. It is a 3.6 amp motor and the MOSFET is a IRF520.
    http://pdf1.alldatasheet.com/datasheet-pdf/view/22389/STMICROELECTRONICS/IRF520.html
    http://www.ebay.ie/itm/Brushless-DC24V-Magnetic-Drive-Pump-640GPH-Motor-Speed-Variable-0-100-50C-246...
    http://www.electronics-tutorials.ws/io/io_7.html
    For the last link the circuit I am using is the Unipolar transistor switch circuit.
    Any more info needed I will be glad to supply. Thanks

    I am unsure what the pump is for but I can help you to control the speed of a single phase brushed 24V DC motor.  I would recommend using an amplifier that can handle a pwm signal.  It will take a PWM from your myDAQ and translate that to a analog voltage to your motor.  This analog voltage will be supplied by your external 24 VDC Power supply.  A good example of this type of amplifier can be found here:
    http://www.robotmarketplace.com/products/0-SMPH.html
    Hope this helps

  • Toolkit for CreateJS: How to control the main timeline from outside the canvas.

    Hey Everyone,
    I'm currently trying to do something simple, but my animation breaks whenever I attempt to change my code. I have created a basic animation in Flash where an object moves from the left side of the canvas, to the right, and then loops from the last frame to the first frame. Nothing else. The animation is simply put on the main timeline. I exported the animation with Toolkit for CreateJS through Flash's extension and the animation runs as it should. I am trying to start and stop (restarting from the first frame) the animation with mouse over and mouse off events. I want the events to fire when moused over/off a div OUTSIDE the animation's canvas tag. Is this possible with CreateJS? I'm trying to figure out how to control the main timeline without being inside the canvas tag.
    Example HTML:
    http://www.thephotoncore.com/testing/example_test.html
    Example Code:
    <section id="container">
      <canvas id="canvas" width="550" height="400" style="background-color:#cccccc"></canvas>
      <section id="animation_control">
        <p>Roll over to start and stop animation.</p>
      </section>
    </section>
    Thanks again for the help!
    -DJ

    Hi DjPhantasy5,
    All movieclips on the stage are children of the stage,
    So on the "mouseover" all movieclips on the stage could be stopped with stop and on the "mouseout" all children could be restarted with gotoAndPlay like this:
    function Stop()
              if (stage && stage.children)
                        var i, l = stage.children.length;
                        for (i = 0; i < l; i++)
                                  var child = stage.children[i];
                                  if ("stop" in child)
                                            child.stop();
    function Restart()
              if (stage && stage.children)
                        var i, l = stage.children.length;
                        for (i = 0; i < l; i++)
                                  var child = stage.children[i];
                                  if ("gotoAndPlay" in child)
                                            child.gotoAndPlay(0);
    See http://www.liauw.nl/forums/adobe/djfantasy5/index.html
    But it is also possible to expose "ball1", for example, by adding it to the document.
    This can be done by adding code to "ball1" like so:
    /* js
    document.ball1 = this;
    Then the stopping of the animation would look like:
    function Stop()
         if ("ball1" in document)
              document.ball1.stop();
    etc.
    Have fun!
    Ronald

  • How to make the servo motor to move in steps of set degrees and stop

    how to make the servo motor to move in steps of set degrees and stop

    Hi,
    I think the following document would be a good starting place: NI Developer Zone Tutorial: Single Axis Moves It includes links to several example programs that you may find useful for your application. Keep in mind that there are many motion examples that ship with LabVIEW as well.
    I strongly recommend that you check out the following documents as well:
    NI Developer Zone Tutorial: Simple Point to Point Motion
    NI Dev
    eloper Zone Tutorial: Hands-On Motion
    NI Developer Zone Tutorial: Axis Settings for Motion Controllers
    These tutorials will help give you a good foundation for understanding motion control systems.
    Best wishes!
    Dawna P.
    Applications Engineer
    National Instruments

  • How to control fan speed on Satellite A660-11M?

    please any body know how to control fan speed its always 69% and make bad noise and the cpu usage is 3% no at high processing i try advanced power settings but still runing at high speed

    > I hope u didnt expect that they were gonna stay at 0% like forever
    Of course I dont expect this. When you switch on the notebook CPU reach high temperature in few seconds only and you must not wonder if pretty high CPU temperature and fan activity will be shown very soon.
    I dont know what do you expect but it is logic that cooling fan will run. Maybe all time maybe will be cut off for short period of time but it will run permanently. I dont see any problem there. With cooling method option it can be reduced a little bit.
    And what is your question? I didnt understand what you want to know exactly.

  • How to control the data  in data selection

    Hi,
    how to control the data  .
    in the transfer structure I am having 10 fields and and the file which is to be loaded contains 7 fields only.where can I control  the other 3 fields and how .
    thanks in advance
    karna

    If your source file is flat file, add extra three fields with blank (just add field separator say comma for each extra field) and then load. It should be ok.
    Hope it helps..

  • How to load and display the external flv video files in dynamicly and the how to control the flv fil

    How to load and display the external flv video files in dynamicly using AS 3.0
    and  How to control the flv file  add the play paus button and add seekbar.
    I have using to load the flv file following code
    var flvPlaceHolder1:MovieClip = new MovieClip();
    var vid1:Video = new Video(734, 408);
    flvPlaceHolder1.addChild(vid1);
    addChild(flvPlaceHolder1);
    flvPlaceHolder1.x = 1059;
    flvPlaceHolder1.y = 152;
    var nc1:NetConnection = new NetConnection();
    nc1.connect(null);
    var ns1:NetStream = new NetStream(nc1);
    vid1.attachNetStream(ns1);
    var listener1:Object = new Object();
    listener1.onMetaData = function(evt:Object):void {};
    ns1.client = listener1;
    ns1.play("GV-1600 TURNING.flv");
    ns1.addEventListener(NetStatusEvent.NET_STATUS, statusChanged1);
    function statusChanged1(ns1:NetStatusEvent):void
             trace(ns1.info.code);
            if (ns1.info.code == 'NetStream.Buffer.Empty')
                 trace('the video has ended');
                 removeChild(flvPlaceHolder1);
                 //trace('removeChild');
                gotoAndPlay(1786);
    then how to add the play,paus ,full screen button    and   seekbar,volumebar.

    I have to Create the flash presentation for our company product
    In this presentation the left  side the text animation are displayed then right side the our product video is displayed.
    In this presentation i need the following option :
    1, The first product video and animation is finished then the next product is played
    2, then the video displayed  (size width and height 400x300) , I click this video to increase the size(ex:1000x700)
    3, then the playing video i control  it play, stop, paus button and volume bar, seek bar.
    4, then this presentation is displayed on 42 inches LCD TV so this full presentation is run full screen.
    I have finished first two steps 1 and 2
    the following are the screen short and code:-
    code :-
    var count=0;
    var flvPlaceHolder2:MovieClip = new MovieClip();   
    var vid2:Video = new Video(734, 408);
    flvPlaceHolder2.addChild(vid2);
    addChild(flvPlaceHolder2);
    flvPlaceHolder2.x = 1059;
    flvPlaceHolder2.y = 152;
    var nc2:NetConnection = new NetConnection();
    nc2.connect(null);
    var ns2:NetStream = new NetStream(nc2);
    vid2.attachNetStream(ns2);
    var listener2:Object = new Object();
    listener2.onMetaData = function(evt:Object):void {};
    ns2.client = listener2;
    ns2.play("GS-4000.flv");
    this.addEventListener(Event.ENTER_FRAME, BtnFadeIn2);
    function BtnFadeIn2(event:Event):void
        if (this.currentFrame == 387)
            /*flvPlaceHolder2.x = 30;
            flvPlaceHolder2.y = 140;
            vid2.width=1800;
            vid2.height=800;
            trace('Screen size is changed');*/
            if(count==0)
            flvPlaceHolder2.x = 30;
            flvPlaceHolder2.y = 140;
            vid2.width=1800;
            vid2.height=800;
            count++;
    ns2.addEventListener(NetStatusEvent.NET_STATUS, statusChanged2);
    function statusChanged2(ns2:NetStatusEvent):void
        trace(ns2.info.code);
        if (ns2.info.code == 'NetStream.Buffer.Empty')
                trace('the video has ended');
                 removeChild(flvPlaceHolder2);
                 //trace('removeChild');
                gotoAndPlay(433);
    flvPlaceHolder2.buttonMode=true;
    flvPlaceHolder2.addEventListener(MouseEvent.CLICK,home2);
    function home2(e:MouseEvent):void
        if(vid2.width==734 && vid2.height==408)
            flvPlaceHolder2.x = 30;
            flvPlaceHolder2.y = 140;
            vid2.width=1800;
            vid2.height=800;
        else
            flvPlaceHolder2.x = 1059;
            flvPlaceHolder2.y = 152;
            vid2.width=734;
            vid2.height=408;

  • How to control the measure based on the related dimension.

    Hi Experts,
    In order to improve performance, I have created three kinds of time tables in DB,such as Year .Month, Day.
    Then import them into the physical layer in RPD, and combine them into one dimension in BMM.
    Actually, it has three level fact related with three time tables,so they are also dragged into one fact in BMM,and one column will be corresponding with three column derived from different Fact table in physical layer.
    So I want to know how to control the measure based on the related dimension.
    For example:
    when users drag the Year,Sales column, it will come from Year Dimension and Year Fact Table.
    when users drag the Month,Sales column, it will come from Month Dimension and Month Fact Table.
    when users drag the Day,Sales column, it will come from Day Dimension and Day Fact Table.

    Hi,
    Create a dimension Hierarchy, with Year >> Month >> Day Levels and
    Next Double click on Year Table LTS >> click on Ocntetnt Tab >> set as Year
    same way for Month LTS and Day LTS.
    So now when you select year column then server canknow which LTS to hit and Hits Year LTS.
    Mark If Helpfu/correct
    Thanks.

  • How to increase the speed of video (avi file) using labview

    How to increase the speed of video (.avi file) using labview? I have  tried this by skiping alternate frames. also I have used  minimum time delay.Is there  any other option for which i can go?
    please suggest me........... 

    Are you using NI Vision IMAQ AVI Read Frame or anther method to read the AVI file?
    Matthew Fitzsimons
    Certified LabVIEW Architect
    LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison

  • How to control the size of live data in Coherence?

    How to control the size of live data in Coherence?
    See the following statement:
    Pause times increase as the amount of live data in the heap increases. We recommend not exceeding 70% live data in your heap. This includes primary data, backup data, indexes, and application data.
    --Excerpted from http://coherence.oracle.com/display/COH35UG/Best+Practices                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    In any Java program, it is good practice to make sure your live objects leave some room in the heap for "scratch space." Without this, you will spend too much time in GC, and, in the worst cases, run out of memory. In the general case, you can see how much live data your application requires by looking at the heap used after a full GC's. For Coherence, you should ensure that live data, as you say, is under 70% of the maximum heap size.
    Coherence provides you tools to help enforce this policy. [http://coherence.oracle.com/display/COH35UG/local-scheme] describes how to size limit your cache. By implementing an eviction policy, you can control what happens when a size limit is exceeded.

  • How could control the scroll events in ALV OO?

    Hello experts!
    I'm programing a report, inside there is a field that need time of processing. I'm using ALV OO.
    I have thought that it could only calculate the field for the lines that visualize.
    How could control the scroll events to calculate the field of the visualized lines?
    I'm using CL_SALV_TABLE class and cl_salv_events_table to control the events, but there aren't any event to control the scroll.
    best regards!

    Hi Sriram,
    I did view the information that you was attaching, but this don't resolve my problem. With methods get_scroll_info_via_id and set_scroll_info_via_id, we can get and put information of selection and view rows in the screen but we don't control when the user click in the scroll for advance or to back down a page.
    I would like to refresh the data in ALV when the user view news rows.
    I want your genial ideas.
    Best regards!

Maybe you are looking for