Slider bar does not control the timeline?

I'm back with yet another problem on the same project.

This time, I'm trying to make a schedule, which should control what image of a clip on the root timeline. If relevant where the user swipes the slider bar, the appropriate information will be displayed inside that movie clip.

Now I have really NO idea where to start the coding that will attempt to convert the location of the cursor on the scroll bar, which framework is displayed on this movieclip.

But here's what I put inside the clip, it's the chronology:

If (_parent.mc_timeline.ratio > = 0) {}
gotoAndPlay ("One");
}
ElseIf (_parent.mc_timeline.ratio > = 33) {}
gotoAndPlay ("Two");
}
ElseIf (_parent.mc_timeline.ratio > = 66) {}
gotoAndPlay ("Three");
}
else {}
gotoAndPlay ("One");
}

Basically what I try to inspire them to do, is go to a certain image tag (that's to say, one, two, or three) when it is at a certain time on the scroll bar.

I've got 2 boxes of small screen in it as well, demonstrating that the scroll bar exports some sort of information. I just need to then use it to control which image appears in my video content.

I have attached the file, please take a look. I'm sure it would be much easier to solve if you take a look.

The questions are more than welcome.

the following function will add parameter properties to a movieclip in order to allow a linear interpolation between two values:

function f (mc:MovieClip, x 1: number, y1:Number, x 2: Number, y2:Number) {}

MC.m =(Y1-Y2) /(x1-x2);

MC.b = Y1 - mc.m * x 1;

}

to use f, just spent two known pairs x, y.

for example, if your cursor (say sliderMC)

far left is slidertrackMC._x and its

position to the right is slidertrackMC._x + slidertrackMC._width - sliderMC._width

and you want more position to the left of the slider to match the frame of a movieclip (say mc) 1 and its position to the right corresponds to the last image of mc (mc._totalframes), you would use:

f (sliderMC, slidertrackMC._x, 1, slidertrackMC._x + slidertrackMC._width - sliderMC._width, mc._to talframes);

you would then code your slider as follows:

{sliderMC.onPress = function ()}

this.startDrag (false, slidertrackMC._x, this ._y, slidertrackMC._x + slidertrackMC._width - MC._width slider, this ._y);

clearInterval (current);

Current = setInterval (dragF, 50;)

}

{sliderMC.onRelease = sliderMC.onReleaseOutside = function ()}

this.stopDrag ();

clearInterval (current);

}

function dragF() {}

mc.gotoAndStop (Math.round(sliderMC.m*sliderMC._x+sliderMC.b));

}

Tags: Adobe Animate

Similar Questions

  • type in the navigation bar does not display the web page

    Type the URL in the navigation bar does not appear the page. But when you click on the same URL in bookmarks, page displays OK.

    Hi sidonius,.

    I'll try from Firefox Firefox to solve the issues in Safe Mode. If you do not have the issue so that all your modules, extensions, and themes are disabled, you can try adding them in one by one until you find the culprit. You should look at the guide to troubleshooting Extensions and themes and article troubleshooting issues with plugins like Flash or Java to solve common Firefox problems as well.

    Hope this helps!

  • Portege M750 - Volume knob does not control the sound

    Hello:

    Just made a new intall of Windows 7 (32 bit). Made from scracth with CD from Toshiba. The drivers that I downloaded from the site Web of Toshiba. Everything is ok, except the volume knob does not control the sound.

    Does anyone know driver I'm missing? All buttons and other functions are active except volume wheel.

    Hello

    Have you installed the VAP (value added package) for Win 7?
    EU from Toshiba are page pilot VAP v 1.2.40

  • Satellite Pro L300-PSLB1E: XP does not control the wifi to the power connection

    * + Hello + *.

    I have a model Satellite Pro L300-PSLB1E and a XP Professional SP3 on it.
    Already everything works because I had a compilation of drivers copy of the past.

    The problem is that XP does not control the WiFi works without danger the and it disconects when I close the lid.

    So I tried with the power that said safety program to:

    Bq. [06/04/08 Power Saver Toshiba Windows XP 7.04.02I | http://es.computers.toshiba-europe.com/innovation/tracker.jsp?file=http%3a%2f%2fsupport1.toshiba-tro.de%2ftedd-files2%2f0%2fpwrsav-es-20080519173239.zip] + doesn't work-error 0 x 0 +.
    And I tried also with the thought of program Toshiba wifi on 32-bit compatibility:
    Bq. [Intel PROSet/Wireless Software | http://es.computers.toshiba-europe.com/innovation/tracker.jsp?file=http%3a%2f%2fsupport1.toshiba-tro.de%2ftedd-files2%2f0%2fpro-ncs-20080416140552.zip] + doesn't work too-Said controller is not installed when you and full work +.

    So, how to control the peripheral power turn off on?

    Bq. * + thanks for your attention and patient. + *

    Hello

    Firstly the Toshiba Power Saver requires the installation of the common Module.
    The common Module for Win XP v1.00.05 can be downloaded from the European pilot page Toshiba.

    So before installing the energy saver, install common Module, restart the computer, and then try the energy saver.

    In addition the Intel PROSet/Wireless Software can be used only with the Intel Wlan card.
    Is the laptop supports the Intel wireless network adapter?

    AFAIK the L300 series can be equipped with a Realtek, Atheros and Intel Wlan card
    Check it!

  • Device right out of windows and sliding bottom don't work in all applications. In the pictures folder slide bar does not remain in the position. It slides up. How can I fix it?

    The cursor does not work in all applications.  I was allowed in word documents.  When I click on the connection box, I don't get the drop down with choices; the choice will Flash and then disappear.  A spreadsheet in Google docs, does not work with the cursor.  the window opens to the right and if I drag the slide to the left, it slides back just before I can select one cell.

    I tried to empty the caches and history (successfully, I think).  I use Mozilla and Safari.  Gmail was my first instance of the problem with th elog-in box.  Now, the problem seems to be spreading.

    Hi Kenypat,

    A. - what happens with internet explore?

    B. what applications like Excel, Notepad, etc.?

    You try to run a scan for viruses on your computer and check if the problem persists.

    http://www.Microsoft.com/security_essentials/

    http://social.answers.Microsoft.com/forums/en-us/vistasecurity/thread/ba80504b-61f1-4D71-960f-b561798b7b42

    If the problem is with other browsers, you will need to communicate with them in that regard.

    Bindu S - Microsoft Support
    Visit our Microsoft answers feedback Forum and let us know what you think

  • my cursor in the task bar will not control the volume? I've got it locked somehow?

    my task bar the volume slider does not work, have I locked it somehow? Help :(

    Hello
     
    1. what operating system is installed on the computer?
    2. are you able to change the position of the cursor, or nothing happens when you change?
    3. did you of recent changes made to your computer before the show?

    Method 1: SFC scanner. Analysis (sfc) System File Checker will Windows replace corrupted or missing system files on your computer.
    Scan sfc enforcement procedure:
    a. Click Start, click principally made programs, accessories, right-click on command prompt and select run as administrator.
    b. click on continue or provide administrator credentials if prompted.
    c. in the type in the following command prompt window and press ENTER:
    sfc/scannow
    Refer to this article for more information:
    http://support.Microsoft.com/kb/929833
     
     
    Method 2: Try to perform the clean boot and check if it helps, here is the link:
    http://support.Microsoft.com/kb/929135
     
    Note: When you're done to diagnose, follow step 7 in the article to start on normal startup.
  • The address bar does not appear the URL of the page

    When I open a tab, I don't see the URL of the page that is open in it. If I enter a new address and press ENTER, I go to the page. The URL displays the entered URL, but does not change for new pages that load.

    In addition, previous/next buttons do not work. I'm guessing that it is related to the issue of address bar.

    You have this problem when running in Firefox SafeMode?

    http://support.Mozilla.com/en-us/KB/safe+mode

    Do not choose anything at the moment, just use 'continue in safe mode.

    If this is not the case, see this:

    http://support.Mozilla.com/en-us/KB/troubleshooting+extensions+and+theme...

  • First pro does not control the properties of the video clip to match the sequence

    Hello

    I have a sequence in my calendar set at 1920 x 1080 and based on my understanding of the video clips, I place in the timeline should automatically be adjusted in cadence, resolution etc. I looked in my settings to see if an option to do this automatically has been disabled, but can not find it and the timeline is always insert Staples into their native format 1280 x 720. can you tell me what I am doing wrong? You can see in the screenshot that the video is narrowed down, thank you!

    22035973929_fc15bf3db3.jpg

    This dialog box appears only when you place a clip in an empty sequence. This is to help you create a sequence quickly that meets (or not) your footage.

    To do what you want, go to your Pro first preferences > general and select the check box for the default scale to the size of the image.

    Click OK.

    MtD

  • OAM animation with slider bar does not not in DPS

    I created this animation to true explanation of wind apparent Versus | Sailing by NauticEd blog

    and it works very well. When I publish as oam and drop in an indesign folio then publish with the viewer content adobe or on my iPad - the animation slider bar won't work. Other animations work very well. Any ideas?

    This is probably because the animation generated by the term is not support or be expected to key events. Likely update HTML code to manage the gestures of touch (and to answer your next question, no, sorry, I don't know how to do this)

    Neil

  • Uncheck the option of the Menu bar does not appear the orange button Firefox - I'm running FF5 XP - How can I get the FF button to appear, please?

    After the upgrade to FF5 the appearance of the top of the window remained unchanged, no orange button of the combustion chamber appeared. Tried help and followed the instructions to a right-click on the workspace toolbar and uncheck the Menu bar, but the orange button still not visible (the Menu bar becomes hidden as expected, although). No other symptoms.

    Troubleshooting extensions and themes

    Check and tell if its working.

  • Personal bar does not show the links when the firefox window is maximized

    When the FF window is maximized, I do not see the additional folders and links that are not displayed (the double chevron does not show anything).

    This has happened

    Each time Firefox opened

    Hello

    Your solution works well.

    It's the Hypercam toolbar that creates this bug.

    Thank you very much

    I don't know if I should mark this topic as resolved, or or to do...

  • My keyboard does not control the player in my games.

    I have a Lenovo G550. I played Army 3 of America on Steam (a game service run by Valve) when all of a sudden I couldn't control my player. I assumed it was a bug in AA3 and passed to Minecraft where it's the same thing. It must be something with my keyboard, but I'm not sure. Just in case, I handed to conditions in the factory and redone the games. The same problem. I run windows 7 on this computer. Thank you in advance.


  • Option does not control the volume

    Hi I just got a new Sansa Fuze PC World yesterday... For some strange reason, the sound quality is rubbish, and I pushed the tight Sansa helmet. I read on a thread here that there is Volume settings on the control panel... It is not on my rocket? Can someone tell me exactly how to change my Volume settings please?

    Thank you

    Truez


  • 1inc Strip everywhere at the tool bar does not with the mouse... all else ok.but cannot sign out of mail ' cos in this band

    1inc band less than search and bookmarks... nothing doesn't work with mouse inside so can not disconnect because déconnexion comes in this band... can not scroll top because arrow in this band.everything otherwise ok. Google and internet explore is ok... everything works fine for them only on mozilla firefox... which is what I use all the time

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

  • Slide Show does not show the #1 slide, start on #2

    After months of work, we finally got the desktop version of this fenced site. Now, we are copying the entire site to phone format, which means hours and hours of resize each part of the site.

    The home page is a slideshow simple 'Hero', with the type and links on each slide. It works great, that is, until it is moved to the site of phone.

    He began, instead of starting the slide show on slide 1, slide TWO.  :-(

    The only clue that we have as to what is apparently wrong are the triggers of Muse.

    What triggers are similar to Muse on the desktop version is:

    Screen Shot 2014-06-02 at 1.51.48 PM.png

    ... and this is what they look like in Muse on the version of the phone. Notice the sign "+" is now appear after the FIRST slide instead of the LAST slide.

    Screen Shot 2014-06-02 at 1.52.07 PM.png

    We transferred slideshows from desktop to the phone and tablet before and used exactly the same versions. If (1) WHY now, the sign '+' appears on the FIRST slide, instead the LAST of them, and (2) HOW to move to the last slide, the FIRST slide appears when the page is presented in preview or published?

    Thanks for ANY idea.

    Nevermind, it is fixed. But seriously, what HASSLE.

    The procedure we used to reorder the slides has been:

    1. move the first slide (which was now LAST) in the last position (moving the trigger)

    2. make a new slide empty by clicking the sign «+»

    3. go to the far left slide by selecting its trigger, select everything manually (piece by piece), cut all of the selected items, and then go to the last slide and glue in position.

    4. return to the first slide (now empty) and remove its trigger, which removes this slide.

    -Repeat until all the slides except the REAL everything first glide are moved - now the sign '+' is after the last slide in Muse, which is where it SHOULD be, and now the FIRST slide appears FIRST, as it should.

    Ugh.

    Still, I would like to know why this happened in the first place, since we have started with the first slide and resized elements successively, one slide at a time, in order. We have never rearranged no slides when we their copied as the composition of the version of office to the version of the phone, and we have resized each of them in order, from first to last.

    ???

Maybe you are looking for

  • Videos YouTube lose Audio/video synchronization

    I have been using Windows 10 since the first beta version. Also, I went to the HTML5 YouTube video a few months ago due to accidents caused by the Flash plug-in. The YouTube HTML5 player has reached the point where it is as good as the Flash plugin i

  • Is there a way to convert the compressed files jsonlz4 in json?

    Hi, is it possible to learn how to properly restore a session of bookmarks via the jsonlz4 file? Firefox lost all my favorites, and when you try to restore using the recovery with the latest jsonlz4 file session the process simply does not end, start

  • Satellite L50D-B-15Z problem with cooling system

    Hi, I have a laptop about a year ago. And for 5 months, I have a problem with the fans. Out and the following message is displayed: WARNING: A problem with the cooling system has been detected. Please turn off the power immediately and return it for

  • Error with parallel while loops

    Hello I need to connect 6 different instruments gpib. I am using parallel loops, but the problem is when I try to open 2 or 3 Subvi simultaneously (the intstrument drivers), I just open one because of everything in a loop to run the Subvi. The progra

  • HP Probook 6460 b: upgrade memory for HP Probook 6460 b

    I would like to know the best way to upgrade the RAM. I currently have 2 GB in a slot. It is better to have the memory of an equal amount in both slots or could I just added 8 GB to the open slot.