Elasticity: the conversion of Flash 5 help code in Flash 8

Hello

because I have to make a menu flash with elasticity effect I came across this tutorial: http://www.kirupa.com/developer/actionscript/spring.htm
Everything is OK, but the code only works with Flash 5. I managed to whip up some code that works for Flash 6, but still I came not even near a working code in Flash 8. I only use Actionscript from version 7, I don't know anything about Flash 5 and 6. So please, more experienced guys, help me!

The code that I've come up with is:
MovieClip.prototype.move = function (centerx, centery, inertia, k) {}
This.x = - this ._x + centerx;
This.y = - this ._y + CenterX;
This.XP = this.xp * inertia + this.x * k;
This.YP = this.yp * inertia + this.y * k;
This this.xp of ._x +=;
This ._y += this.yp;
};
{onEnterFrame = function ()}
This.Move (_root._xmouse, _root._ymouse, 0.9, 0.1);
}

This code set is in the chronology of the MC is misplaced.
So now, the only thing I need is to make this code work for Flash 8
Help, please

Just managed to do!

Tags: Adobe Animate

Similar Questions

  • Problem with the conversion of Midlet (jad/jar) cod file (Jasymca 2.0)

    BB Storm last official OS.

    There is this wonderful program called Jasymca 2.0 which is a combination of programs of mathematics MATLAB and MAXIMA of high-end (subset to fit) and written in J2ME as a MOPED. To see a demo of it, go to http://webuser.fh-furtwangen.de/~dersch/jasymca2/indexEN.html and click on demo on the left. It's quite impressive... able to make the symbolic math and math matrix among others. The ultimate calculator for a PDA... and the best I could find out there.

    The only problem is that it is written in J2ME as a MIDLET and the runtime is stored as a combination of jad/jar. Now, I tried the standard conversion using the CAP as follows...

    CAP import = "C:\Program Research In Motion\BlackBerry JDE 4.7.0\lib\net_rim_api.jar" code name is jasymca-midlet jad is Jasymca.jad Jasymca.jar

    It seems to work very well. There are a few warnings about unused variables, but that's fine. The last line was "No Errors".

    .. .and he left me with a file .cod 229K

    When I insert it in my blackberry through javaloader, it loads very well.

    However, when I look in my download directory I 2 files related to Jasymca and not running.

    I suspect that it is because the cod file is too big. Is there another step I can do for the cod of the loadable file?

    Any help is appreciated.

    Thank you

    -Donald

    It takes more time than I expected.

    There is a preprocessor directives in the source files and to leave JDE to understand these guidelines, I need to modify the jdp.

    I stopped the investigation

    But I will say that I found.

    icons and data files must be located in the default folder.

    If the root folder of the package is src\

    path of the icon should be: src\myicon.png

    for now the icons are located in the src\icons folder

    in this case the image files are not accessible from the BlackBerry App.

    The second: there are some files showed up as the symbol file name first.

    JDE does not add these files to the project.

    I think that the best way would be to contact the developer of Jasymca and talking to him about the Jasymca and porting for BlackBerry

  • Can anyone help me pls with 0xc000012f error code during the installation of Flash Player version 11.6.602.180

    Can anyone help me please with 0xc000012f error code during the installation of Flash Player version 11.6.602.180? I tried several times to install to no avail. Thanks in advance.

    Download installer of http://helpx.adobe.com/flash-player/kb/installation-problems-flash-player-windows.html#mai n-pars_header offline and save it to disk, and then close all browser windows and run the downloaded installer.

  • Portege R100 stoped working - the power LED flashes error codes

    I have a R100 that has suddenly stopped working.
    The power led (clear amber with the image of the power wire) flashes what appears to be an error code of 5 flashes with a long pause on the last flash, followed by 3 flashes.

    That - what it means, and where can I get a list of all codes error?

    I changed the main battery, changed the spare battery and changed supply - and again, I get the error permanently. I was not able to power the laptop at all since it started. When you press the power button / nothing happens.

    I hope someone on this forum has some information that may help you diagnose this problem. Tech support representatives Toshiba post here?

    Thanks in advance.

    Hello

    I m not a R100 owner but to me it looks like a card mother malfunction because you have already tried to exchange the battery and the AC adapter.

    In this case, the best solution would be if you go to an authorized service provider. Technicians can consult the specifications and they know what means this code I think.
    Here it s only a user to user forum and I have never seen anyone from Toshiba again.

    Anyway, here you can search for the nearest ASP:
    http://EU.computers.Toshiba-Europe.com-online decision-making supported downloads & => find an authorized service provider

    Good luck!

  • Can someone please help an elderly person in layman's terms how the problem of FLASH PLAYER? Thank you very much, elderly person, United States

    I keep seeing that the version of FLASH PLAYER is updated; However, I can't have the additional UPDATES.

    Can you help an older person THAN the LAYMAN TERMS in it please how to make it work in Firefox?
    Thank you very much
    MissM

    Hello MissM, if you want to download the latest version of adobe flash player - it is 16.0.0.305 at the moment - in order to correct security vulnerabilities that have been found in the plugin, you can do on this site:
    https://www.Adobe.com/products/flashplayer/distribution3.html

    Click on the link "Download EXE to install" next to "Windows / Browser Plugin-oriented" in order to download the installer...

  • I use the helper downloader (ver. 2.2) when you save a video of WWII, during the reading period, I get some equidistant points from the screen and Flash

    I use the helper downloader (ver. 2.2)
    When you save a video of WWII on my Windows 7 Desktop, during the period of the video, I get points at equal distance between the screen and flashing arrow as well. What is the problem with my download?

    [email protected]

    Which may be caused by a problem with the codec that is used by this video and who is not taken care of correctly.

    You can open this video in another video player to see if it works there?

    What kind of video is it?

  • CQ61-313us: maestro also needing help code is 75957252 for the bios password reset

    Maestro also needing help code is 75957252 for the bios password reset

    Check your other post. I answered here.

  • Need help with the launching track pack for forza code 4

    Bought new Forza 4 and the lancer Track Pack code does not work, how do I get a code that is generated in the form I've already paid for it. Rank of loads of numbers and sent 10 s of emails but cant seem to get help.

    This is the help I get when the cat to an Ambassador xbox on xbox.com

    Terry wrote:
    Need help with the launching track pack for forza code 4
    The Xbox Ambassador says:
    Location of Ambassador of the community...
    The Xbox Ambassador says:
    Location of Ambassador of the community...
    The Xbox Ambassador says:
    Your question will be answered by an Ambassador of the Xbox. You have been connected to the Ambassador as a user Xbox [3]
    The Xbox Ambassador says:
    Hello
    Terry wrote:
    Hello
    The Xbox Ambassador says:
    Hey
    Terry wrote:
    just to be on the phone to xbox live support and was told to come here
    The Xbox Ambassador says:
    ok\
    The Xbox Ambassador says:
    What is your problem?
    Terry wrote:
    I bought the 4 for forza ansd 360 new sealed Christmas...
    Terry wrote:
    has got 2 codes that accompanies the game but the pack track code does not work
    The Xbox Ambassador says:
    Wow good
    Terry wrote:
    whenever I put in the code it says code redeemed
    The Xbox Ambassador says:
    I think the code is used. You must return to the retailer
    Terry wrote:
    I tried to, but since I already opened the case they will not accept
    The Xbox Ambassador says:
    Oh. No,
    Terry wrote:
    the code had been used or defective as I am the only person who has touched the game once opened, tried to enter the code when it is open
    The Xbox Ambassador says:
    Maybe it was auto bought?
    Terry wrote:
    so, how do I get another code generated track Pack if defective?
    The Xbox Ambassador says:
    I do not know.
    Terry wrote:
    bought the game new, so I get the track pack
    The Xbox Ambassador says:
    Oh. It's bad.
    The Xbox Ambassador says:
    I think that if you Exchange 1 code it will buy it
    Terry wrote:
    car pack code worked, starter pack did not work
    The Xbox Ambassador says:
    Oh.
    The Xbox Ambassador says:
    It's a bad
    The Xbox Ambassador says:
    BTW you have an evolution of the tests?
    Terry wrote:
    Yes, I want to? but more anxious to get a code object generated for this pack
    The Xbox Ambassador says:
    Hey if I help can u give me this game too?
    Terry wrote:
    ?????????????????
    Terry wrote:
    So is it possible to get a code for that time?
    The Xbox Ambassador says:
    Hey
    The Xbox Ambassador says:
    Yes.
    The Xbox Ambassador says:
    you need to contact them
    The Xbox Ambassador says:
    and tell them that the code is used.
    Terry wrote:
    I was told to come here? where can I go to get the code?

    Hi Terryg76,

    ·         What version of the operating system is installed on the computer?

    I suggest you to contact the game manufacturer for more help and information.

  • CODE 66 has when the update NET FRAMEWORK 4 with WINDOWS UPDATE can't update more far until the issue is resolved. Help, please... I almost tried everything.

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    CODE 66 has when the update NET FRAMEWORK 4 with WINDOWS UPDATE can't update more far until the issue is resolved. Help, please... I almost tried everything. Ideas:

    • You have problems with programs
    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    Take a look at this link and see if it helps-

    http://social.answers.Microsoft.com/forums/en-us/vistawu/thread/3adefda0-69f3-4075-96ee-e2c61bd599cc>

  • Unable to get the windows updates. Get error code 80072EFE. Help!

    Unable to get the windows updates. Get error code 80072EFE.  Help!

    Gary,

    ERROR_INTERNET_CONNECTION_ABORTED 80072EFE

    You may experience temporary errors related to connection when you use windows update or microsoft update to install updates http://support.microsoft.com/kb/836941

    by running the Fixit on this page, you can reset to windows update components.  but, if there is malware present, she will continue to reset the connection to the update servers: how toreset windows update components

    suggest you download and save the Fixit.  then conf is the boot vlean system before you run it:http://support.microsoft.com/kb/971058

    How to troubleshoot a problem by performing a clean boot in Windows Vista/Windows 7http://support.microsoft.com/kb/929135

    Once the Fixit has been downloaded and the system is started in the pure State, check that the native vista firewall is now on if a 3rd party firewall has been used previously.  now run the Fixit and choose the default mode.  restart once it's done and see if the system can be connected to the update servers. If he can't, then rerun the Fixit and choose aggressive mode.  turn it back on when he finished the race and updates.

  • error code: 0 x 80070002: MS updates__The site has encountered a problem and cannot display the page you are trying to view. The options provided below might help you solve the problem

    The website has encountered a problem and cannot display the page you are trying to view. The options provided below might help you solve the problem

    Hello

    Look in Control Panel - updates of Windows to see what is the KB and post it here. You can indeed
    There no need and do a right click on it and HIDE it. Let us know what is the update, so that we can
    help advise.

    Also, if you don't need it you can try to download it here.

    Microsoft Download Center - research on KBxxxxxx the number of update for anchor xxxxxx
    http://www.Microsoft.com/downloads/en/default.aspx

    Download - SAVE - go to the place where your put it - click on - RUN as ADMINISTRATOR

    If you need to fix the error:

    Error message when you use the Windows Update Web site or the Microsoft Update Web site to install updates: "0 x 80070002.
    http://support.Microsoft.com/kb/956698

    Windows Update Error 80070002http://windowshelp.microsoft.com/Windows/en-us/help/c5f4d9e0-3eb6-426b-8118-0cedf489a75f1033.mspx#EJH

    Or - these two (above and below must be the same)

    Windows Update Error 80070002
    http://Windows.Microsoft.com/en-us/Windows-Vista/Windows-Update-Error-80070002

    Fix Error 80070002 when using Windows Update in Vista
    http://www.mydigitallife.info/2007/12/21/fix-Error-80070002-when-using-Windows-Update-in-Vista/
    Error Code 0 × 80070002 during Windows Vista SP1 Setup Install - SP2 might have similar problem
    http://www.tipandtrick.NET/2008/error-code-0x80070002-during-Windows-Vista-SP1-Setup-install/

    You receive an error '0 x 80070002' or '0 x 80070003' code after you download an update from Windows Update, Microsoft Update or Windows Server Update Services
    http://support.Microsoft.com/kb/910336

    Error message when you use the Windows Update Web site or the Microsoft Update Web site to install updates: "0 x 80070002.
    http://support.Microsoft.com/kb/956698

    ----------------------------------------------------

    Then run this:

    How to reset the Windows Update components? -a Mr Fixit
    http://support.Microsoft.com/kb/971058

    Description of the system for Windows Vista, Windows Server 2008, update tool and
    for Windows 7
    http://support.Microsoft.com/kb/947821

    ------------------------------------------------------------

    If necessary, you can get free reports of incidents:

    Windows updates - free Incident report

    Go here and click on-> Windows Update fails while searching, downloading or installation of updates
    http://support.Microsoft.com/GP/wusupport#tab3

    The security updates, you can get free support Incident report
    http://www.Microsoft.com/protect/resources/support.aspx

    I hope this helps.

    Rob - bicycle - Mark Twain said it is good.

  • I am running virtual xp on a Windows 7 system, but I can't get cursor flashing at the command prompt... help?

    I am running virtual XP on a Windows 7 system, but I can't get cursor flashing at the command prompt... help?    I studied the orders autoexe.bat, command.exe and cmd.exe, son and so on.  However, nothing seems to work.

    Hi Bernard,.

    Given that the question relates to the virtual XP, which is outside the boundary of support. I would ask to view the query in the TechNet forums for assistance.

    https://social.technet.Microsoft.com/forums/Windows/en-us/home?Forum=w7itprovirt

    Please come back if you have problems with Windows.

    Thank you.

  • Help the transition from Flash to Illustrator

    Hello

    I hope you are all well.

    Newbie here! I would be very grateful for your help to learn how to make the standard actions flash cc in illustrator:

    (1) is it possible to bend a straight line in illustrator in a single action click - drag?

    (2) If you have two lines that overlap, what is the easiest way to trim/remove a section of the overlap?

    (3) If you have a number of overlapping lines, what is the fastest way to fill closed shapes?

    I am attaching a video of each of these actions in Flash in the case where this makes it clearer.

    Three Questions - vidme

    Thanks a lot for your help.

    Ben

    1: Warp tool

    2: form Builder with the Alt/Option key

    3: live paint

  • Reader Adobe XI updates last week. Reinstalled this morning. All previous saved pdf files are now forms of words asking the conversion? Creates problems for my business. Help, please?

    Reader Adobe XI updates last week. Reinstalled this morning. All previous saved pdf files are now forms of words asking the conversion? Creates problems for my business. Help, please?

    See http://windows.microsoft.com/en-us/windows/change-file-open-program#1TC=windows-7

    Another method: http://windows.microsoft.com/en-us/windows/change-default-programs#1TC=windows-7

  • questions about the uses of flash cs6 and the code that it exports VS. switch to other tools

    I looked at the overviews on the new version of flash and I did experiment a bit with muse and edge of adobe. I have also heard the announcement Friday 4.1 android devices will run is no longer the flash player. my questions are:

    1 does flash cs6 fuction basically the same design-wise, but when it comes to export the file, the code a combination of html and javascript rather than in a solid swf file as it was currently publishing my work as?

    2 East edge meant to supplement flash? or he will take some of the uses of the flash so edge can publish for flash and mobile devices will remain in the area of desktop applications?

    3. If I created full-flash sites in older versions of flash, can I import in cs6 and make them exported as functional across all devices?

    I guess that, overall, just trying to get an overview here so that I can decide how to move forward and what to focus on.

    Thank you!

    1. Yes. The Toolbox for CreateJS is an additional downloadable extension for Flash CS6. He's going to post html and js files that will provide the animation rather than the swf file that you would normally publish. The success or failure of the version of javascript from your animation is the result of the work within the Toolbox. You are a bit constrained in the use of the timeline in Flash for your animations. If you are only working in Actionscript, then the output will be very disappointing.

    2 edge outputs javascript, css and html for you give an animation. The user interface allows you to design within the limits of what can make the border. You can preview and adjust and adjust your animation work you. Edge is a tool of html5. It can create some animation html5. It is not a replacement for Flash. It's something that you can use to integrate the animation in html instead of Flash.

    The problems and the benefits of each are unique. It is a good substitute to learn javascript, css and HTML 5. If you don't understand the code that is created from each of these tools, you can easily end up with huge, inflated, files which improved. I'm very biased towards really knowing what is happening. If I need to change something, I want to be able to enter the code and make a change, do not add an extra piece of code to work around what was there. I don't use any of the timeline, and so nothing of what I publish using CreateJS. Well, he's going to publish, but nothing happens because there is nothing on the timeline to translate.

    You can download a trial version of Flash CS6 and try to box at tools for yourself. Edge is still in free preview, you can get a copy to http://labs.adobe.com and try to see how it works.

    Also, if you do not use the Greensock Animation with Flash platform, take a look at this. It has recently been extended to ensure similar Javascript for most libraries. http://www.greensock.com/

Maybe you are looking for

  • Sharing photos between apps?

    Many third party apps, to import photos, can only look for them within the app Photos (because no file on iOS system). So, to get them in the Photos from another application, you must export them from this application. Unfortunately, I'm looking in t

  • MB Pro restarts randomly with the ethernet cable is plugged

    I recently bought a thunderbolt reduction - Ethernet [1] and it works very well. The problem is that when it is plugged in, my MacBook Pro (13', 2015, i5, 8 GB) gets very hot. This isn't a problem, but the next thing is really annoying. Whenever I'm

  • The journ.e Touch software error - how do hard reset?

    Hello My Journ.e Touch crashed software... A lot of Windows CE error in the application .exe file and an error 'unaspacted' so that it is turn on. If it is possible, how can I do a hard reset or restore default? Thank you toLuca

  • Excel 2007 starts does not after installing KB973593

    Office Standard 2007 in Vista running.  KB973593 installed last night.  When I try to start Excel, instead of start, Windows Installer arrives.  After a minute or two, I get the following error: Problem with shortcutThis patch package could not be op

  • Cannot access Microsoft Update

    For three years now, I not was able to access Microsoft Update because I get the below error message: Install the ActiveX control required to view the siteThe site is not correctly displayed on your computer without this control. To install it: 1 rig