move the position of the box with working capital

I have a flash file that slides the position of a movieclip to 4 different positions with 4 buttons which works very well.  I also want to add 2 buttons when riding on them, I want the position of the clip to continue to slide left and right up to that of the button (and stop when it gets to the ends of the movieclip.  The code below slide the clip when you click on it... If this is useful.

onClipEvent (load) {}
_x = 0;
FLF = 0;
SPD = 2;
It's the speed of scrolling, the height, the number the faster it scrolls.
}
onClipEvent (enterFrame) {}
_x += (endX-_x) / spd;
FLF += (endY-FLF) / spd;
_root. Page1.onRelease = function() {}
endX = 0;
endY = 0;
};
_root.Page2.onRelease = function() {}
endX = - 220;
endY = 0;
};
_root.page3.onRelease = function() {}
endX = - 440;
endY = 0;
};
_root.page4.onRelease = function() {}
endX =-660;
endY = 0;
};
}

I have a new started buttons called 'test '.

and here's the function I started:

_root.test.onRollover = function() {}

};

Any help is very very very very appreciated!

Thank you

In fact, your explanation only led me to wonder if what I asked is what you wanted.  I still don't know what you want to happen when you roll off the buttons, but what I offer simply interrupts the movement since it's where you left it.  Maybe you'll be able to reason about what you have to change/enter to add more controls to it.

Due to different modes of enterframe type query, my solution takes the object code and place in the timeline (where it is easier to deal with).

Here is a link to the modified version of what I was able to determine that you have.  You should be able to adapt without too much difficulty.

http://www.nedwebs.com/Flash/AS2_Step_Scroll.fla

Tags: Adobe Animate

Similar Questions

  • Apple TV (Gen 4) remote will not work. I can restart the box with the remote, but can not select a country with her. Can someone help me?

    I tried to reload the remote upwards. But as I said, it won't work, but I can restart the box with him. Everyone knows about similar problems - can somebody help me please!

    Welcome to the Apple community.

    A very small number of people have had a similar problem, you have an Apple remotely from another device.

  • Hi I need to move my cs5 to a different cpu and do not have the box with the product key

    Hi I need to move my cs5 to a different cpu and do not have the box with the product key

    Quickly find your serial number

    Mylenium

  • How to move the King with the castle on the titans of chess?

    I'm not sure of what is called the movement but in titans of chess, the computer moves the King with the Castle, how to make the same move? I'm new to this, so any help would be a great help.

    It is called castling.

    You can even move if 1) the King and the Tower never moved, 2) if the King is not in check, move in a square in failure, or end up in failure, 3) there is no room between them.

    You can Castle, by touching the King and you'll see there is an option to pass 2 or 3 squares toward either Rook, who will perform the Castle. Paul Smith - MVP for Windows desktop experience... I crawled off NNTP - for now. Detachment Aldershot, United Kingdom. On the internet at windowsresource.net and dasmirnov.net. Please post back to let us know what works and what does not. :-)

  • I can't boot into windows xp. The windows logo comes on but then a black screen blank (you can see and move the cursor with the mouse however) is displayed.

    I can't boot into windows xp. The windows logo comes on but then a black screen blank (you can see and move the cursor with the mouse however) is displayed.

    anesvet,
    I'm going to sound like I'm repeating myself tonight... (see previous 4 posts...)  but try this:

    When you start start pressing F8 until you get the Windows startup options.  Then try "Last known good configuration" see if that helps.  If this does not work, try to F * then try to go to Safe Mode.  If those who do not help, I would start with your XP CD to recovery mode and run "chkdsk/r" then "sfc/scannow".  QQ learn manage!

  • Impossible to move the camera with the touchpad in the games while moving in Windows 8?

    I've seen this happen on two Toshiba laptops now, I can't move the camera with the touchpad in games like TF2 while I also move with WASD keys. The problem disappears when I use an external mouse, even if, I was wondering if anyone else has this problem, and if someone has solved. I disabled the Edge slides in the Synaptics Control Panel if it helps.

    Thank you in advance! :)
    Edit 15/5: I did more research, and it seems that there is a feature called "PalmCheck. I am yet to confirm because I'm away from home, but I will as soon as POSSIBLE.

    Solved! The feature was PalmCheck Synaptics Control Panel.

    To fix:
    1. look for 'mouse', click on settings, then 'Mouse' with the mouse icon.
    2. click on device Options.
    3. click on settings.
    4 expand the category of "pointing".
    5. click on PalmCheck, then the small icon of gable beside him.
    6 move the cursor to a Minimum or offshore.
    7. apply, OK, and you're done!
  • I bought Photoshop CC 2015 creative thinking Cloud before running the trial version of my computer. After you have installed the creative cloud, the box with the number of days remaining still apears. How can I proceed?

    I bought Photoshop CC 2015 creative thinking Cloud before running the trial version of my computer. After you have installed the creative cloud, the box with the number of days remaining still apears. How can I proceed?

    Check your account indicates the subscriptions that you expect (and that the adobe, used in the next step id is correct) by logging in here and checking the status of your subscription, https://www.adobe.com/account.html

    then, if it's current, disconnect and then back to your client application using the adobe with the link above in cc id: http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html

    If this fails, CC help | Applications creative Cloud back to update evaluation Mode to 2015 CC

  • Move the disk with Windows 7 to a new box

    I have Windows 7 installed on the drive HARD n ° 1 of my Compaq desktop computer.  The power supply fails to start (with the light flashing on the PS).  I have another almost identical box with a faster processor and more than 50% of available memory.  The disk HARD #2 in the box Windows 7, but it is indicating that he is not an authorized copy.  I would like to move the HARD disk #1 to the new box and wipe the old disk, HARD drive #2 to use for storage, etc.  When I installed the HARD drive #1 existing, HDD #2, I can see the #1 disk, but it does not start to it.  I can access the files #1 but I can't to start her.

    I tried to boot on it in the start menu, but it does not start.

    I can make this transition?  What should I do to make this work?

    Still don't give us the information complete, that we need.

    It's a detail or full an OEM System Builders license for the edition of Windows 7 Ultimate?

    Everything you say is that you bought.

    «I've recently updated the HARD drive #1 XP to Windows 7 with an official version of the software.»

    If it is full retail Windows 7 Ultimate license make a clean install with it on the second machine.

    How to do a clean install:

    http://www.SevenForums.com/tutorials/1649-clean-install-Windows-7-a.html

    And make sure that you have only installed on a hard drive in a single machine

    Using this method may require phone Activation.

    If it does require phone activation, do not follow Demand of Auto, but brace yourself for a real person explain as to what has been done for purposes of re-setup

    "How to activate Windows 7 by phone '

    http://www.SevenForums.com/tutorials/18715-activate-Windows-7-phone.html

    See you soon.

  • Tecra R940 - 1 hr: what happens to work out of the box with Linux?

    I'm considering buying a laptop Tecra R940 - 1 hr.
    I'm going to use it with linux (ubuntu) system.

    What happens to work out of the box?
    Should I expect any problems with the display/network/wifi/sound?
    What about camera, usb 3.0 and bt?

    What is possible to work? Suspend? Function keys? Fingerprint reader? SD reader?

    What's not to work?

    I run Ubuntu Studio (12.04) on a Tecra A11-ST3504, and everything works perfectly.

    However, your computer probably has the latest UEFI instead of the BIOS, and this causes problems for some with start-up and installation.

    If the live system starts and runs, I'd go for it.

    I'll put the admins the trouble to make their usual warning: "of course, Linux is not supported by Toshiba."

    Enjoy!

  • Click on the boxes only works intermittently

    Hello

    I use 7 Captivate to develop a guide of online user and have problems with click boxes. Some of them will be randomly cease to function and to freeze the project when you click it (it is after having published both in the preview of Captivate). Who click on the boxes what happened is completely random - it will happen with a clickbox and 10 minutes later we're going to work even once and another (who worked previously) will have stopped working. This is without changing any settings.

    The clickboxes are just linking to other slides in the project and are put on pause until the user clicks. I checked that slide numbers are well positioned and checked the timeline to ensure that it is not not to do with this.

    There is other intermittent issues, how I feel, like images flown over appearing as red squares and the project as a big black screen. It is normally resolved by closing the preview and re - open.

    I was wondering if it could be to do with the size of the project (96 slides and 405 mb), because the problems are so random it seems to be bound to parameters.

    I use Windows 7 and the project is previewing or opening Internet Explorer 9 (using a work PC).

    Anyone have any idea what might solve this problem?

    Thank you.

    Tom.

    Tutt... Tutt... language...

    405 MB for a project with slides below 100 waaaayyyy sounds excessive to me.  You have to deal with a corrupt project file.

    I suggest that you create a new empty project of the same size and then copy paste groups of 10 or 20 slides from the old project to the new.  Sometimes, you can strip the corruption caused by files bloated this way that it forces Captivate to recreate all the unique object ID again, but nothing that do not directly relate to a slide is left behind in the old project file.

    Let us know what your size drops down for once you do the exercise of copy paste.

  • Click on the boxes with different audio

    Hello!

    I use 5 Cp and I have problems with the audio. Button or box where to click must play an audio short or long after that is clicked on.  In the text, I want to cover some words with boxes click with different sounds, students can click to hear the sounds. in the text, there may be a lot of words I want to cover with boxes to click.  Is it possible to do? If Yes please let me know how.

    Thank you

    Ok.  Who can be a little trickier.  Normally a button or click box has a break point on the timeline and once you click on the object continues to play beyond its break point.  This means that you get only a click... UNLESS... you change the Action when a click to be an advance Action that does two things.  First of all, it does everything you want to take place (for example to read the audio file) and THEN he moves the read head to a point BEFORE the break point so that you get another possibility to click New.

    Blog of Lilybiri has some good examples of this sort of thing: http://lilybiri.posterous.com/

    You may encounter a problem where even after you have everything installed correctly the buttons stop working after a while.  In this case your best recourse would be to use the Widgets event handler instead, these can transform any object into a clickable button screen.  But even better, is that they give you preferences to disable continue and the pass/fail criteria reset after Action so that your users can click on your buttons as often they like to repeat actions, these useful widgets trial versions can be downloaded here.

  • Click once on the box w / working single Action Advanced

    Hi all:

    I work at 5 Cp.  I have 2 boxes of click.  They show and then hide a script in my project.  When the student clicks on the first area click, the script opens and displays a bunch of text.

    When they click on the second, click box, the script ends.  My problem is that I can get for this action to be executed only once.

    I use a standard tip Action that works perfectly on my other slides; but not on this one.

    Two areas of click are set to run until the end of the slide if break points are not the issue.  In fact, I have no break points on the slide.

    On the Action, I have infinity box ticked. Options, my hand to show (which also happens once), click it on turn off the sound and the pause project until that clicks of the user selected.

    What gives?

    Thank you.

    Sandra

    OK, I thought about it.  My problem was that I put my box of click on 'See the script' (the first one) to hide when it should have been set to 'Show', on my box of click on "hide the Script."

    Thank you very much for taking the time with this.

  • Referencing of the boxes with chains of their identity papers

    I do not know it is really easy a (im a newbie)...

    I'm creating boxes to check then for execution and assignment of the ID in the format 'checkBox_1', 'checkBox_2' etc..

    I am also pushing these strings in a table, so I have a list of all the boxes, I did (through several containers of NavigationContent)

    I need loop in the table and convert the string to a valid box reference and enter the label of this check box.

    What I am struggling with, is an error in the following

    var myCheckBox:CheckBox;

    myCheckBox = CheckBox ("checkBox_1");

    trace (MyCheckBox.Label);

    and myCheckBox = "checkBox_1" as checkbox; does not work

    Miss me something of really basic here

    Unless you want to store the IDS in a table for a specific reason (in which case the above tips are valid - push of the object checkbox to the table instead of just the ID) you can browse just all the boxes on the Web by doing something like that: -.

    for each (var myCheckBox:CheckBox of in yourContainer.getChildren ())

    {

    trace (MyCheckBox.Label.ToString ());

    }

    Hope that helps,

    Alex.

  • I need help making the scale back tool in the box with tools!

    My colleague is working in AI CS3 on PC, and suddenly the scale tool is not appear in its box to tools. She may have touched a control button to clear or something:

    "I suddenly lost the ability to resize anything... a box, a text box, you name it." the selection tool will not add markers to do anything... I know I've hit something, I started and restarted... help! I have no idea how to get it back... advice? »

    She also said, that happens when it opens other files or creates a new one. She cannot access the tool of the scale at all.

    I'm on a Mac using AI CS4 off site (we are not on a network, etc.), so I don't know what happened to me. Can someone help us?

    Thank you!

    My,.

    If the tools are missing, the most likely reason is a corruption of preference.

    The opening of Illy it can press Ctrl + Alt + shift to delete and get a fresh start.

    If this does not help, or if she wants a reset reversible of preferences, it can follow the instructions in the indication move the folder here: http://www.bugge.com/Family-and-friends/Illy/illy.html.

    The name of the folder would be Adobe Illustrator CS3 Settings.

  • Click on the boxes stopped working on the project Cap 3

    Preview and in the published file, my click boxes no longer work. Used to, but stopped and I'm pulling my hair out trying to make them work again. What happens is I click on them, and action that is supposed to happen does not work. This is true regardless of browser (and, as I have noted, they do not work in the preview either).

    I have only four who are on the last slide of my project. Two of them are 'Replay' (supposed to go to slide 1) and 'Close' (allows to drag continue at the end of the project where I project designated to close). The other two are the boxes that are set on "send to."

    So far, I've recreated them, I created in another project where they work and imported, and I deleted the slide and recreated the slide from scratch.

    There seems to be something with the project that makes any box click does not work.

    Someone at - it experience with this?

    I discovered the source of the problem. I was using a custom preloader. If I use a standard, the problem goes away.

Maybe you are looking for

  • The screen sharing / video conference

    Hey guys,. I'm trying to understand the best way to share my screen with a number of customers all over the world. I recently saw that iMessage, now called Messages, can make screen sharing. So I try to know if everyone can use Messages in order to s

  • Time machine backup on my external drive...

    Hello I am doing this for the first time so I need some help here please. I have a 5 years, 250 GB Mac Book Pro running on Mac OS X 10.6.8.  I have NEVER done a Time Machine backup first. I have an external hard drive 1 TB, which has about 200 GB of

  • MacPro Late 2013 buzz

    My MacPro years end of 2013 started to buzz. It is not the internal fan, but something else inside the case. The machine still works well, and no apparent problem, don't except a constant buzz loud enough. I installed iStat Pro to check the abnormal

  • I have an e-mail message in Windows Live Mail which is stuck and are not sent.

    I run windows xp home edition. I have a message in live mail which continuously keeps trying to send, but fails. How can I break the loop? original title: stuck Message

  • Bug: Cannot update

    So I upgraded to 1.0.2 when I was in the store the day of the launch. Messing around since then I went to update program to manually check and he always said that it was impossible to connect. I just assumed that he knew that I had not updated. I jus