Animation freezes (I think because the script is Flash 6 and my doc is CS3)?

I have an animation for particles script that has been created in Flash 6. I'm trying to recreate it in my flash document that is configured as Flash 8. I couldn't get the animation to play, and then I realized that if I return to this original Flash 6 and change it to Flash 8, it will not play in this document either.

I'm really new with Flash and scripting in general. Is there a preferred solution, we need to change the Flash 6 particles effect document so that I can re-create it in my Flash 8 document and have it animate?

I have attached the file, but here's the script...

This is the script in the timeline:

c = 0;
totalParticles = 100;
While (c < totalParticles) {}
c ++ ;
duplicateMovieClip ("particle0", "particle" + c, c);
}

And this is the script in the subject of the film:

onClipEvent (enterFrame) {}
r ++ ;
Yvel +=(yvel2-yvel)/10;
xvel +=(xvel2-xvel)/10;
If (r == as) {}
As = minVal + Random (RND);
r = 0;
yvel2 = ((rvel*2) + 1 random)-rvel;
xvel2 = ((rvel*2) + 1 random)-rvel;
}
_x += xvel;
FLF += yvel;
}
onClipEvent (load) {}
_xscale = _yscale = 10 + random (50);
_x = random (Stage.width);
FLF = random (Stage.width);
minVal = 25;
RND = 25;
As = minVal + Random (RND);
rvel = 1;
yvel2 = ((rvel*2) + 1 random)-rvel;
xvel2 = ((rvel*2) + 1 random)-rvel;
}

Thank you!

the two errors are failures to initialize xvel and yvel.  use:

c = 0;
totalParticles = 100;
While (c
c ++ ;
duplicateMovieClip ("particle0", "particle" + c, c);
}

And this is the script in the subject of the film:

onClipEvent (enterFrame) {}
r ++ ;
Yvel +=(yvel2-yvel)/10;
xvel +=(xvel2-xvel)/10;
If (r == as) {}
As = minVal + Random (RND);
r = 0;
yvel2 = ((rvel*2) + 1 random)-rvel;
xvel2 = ((rvel*2) + 1 random)-rvel;
}
_x += xvel;
FLF += yvel;
}
onClipEvent (load) {}

r = 0;

xvel = 0;

Yvel = 0;

_xscale = _yscale = 10 + random (50);
_x = random (Stage.width);
FLF = random (Stage.width);
minVal = 25;
RND = 25;
As = minVal + Random (RND);
rvel = 1;
yvel2 = ((rvel*2) + 1 random)-rvel;
xvel2 = ((rvel*2) + 1 random)-rvel;
}

Thank you!

Tags: Adobe Animate

Similar Questions

  • Hi, while writing an email online using Firefox 3.6.3, I was using one of the "CTRL + left arrow or right" to move the cursor on the text. I must have pressed some other key because the screen has become huge - and I can't scroll vertically or horizont

    Hi, while writing an email online using Firefox 3.6.3, I was using one of the "CTRL + left arrow or right" to move the cursor on the text. I must have pressed some other key because the screen has become huge - and I can't scroll vertically or horizontally, which makes the pages of Mail of Hotmail impossible. I have connected since using the Explorer MSFT and it works very well. This problem occurs only on the page of Mail of Hotmail Live not on the home page or other.
    Could you please let me know if there is a problem with Firefox, or if you have any advice on how to restore the appearance of Hotmail in Firefox?

    This has happened

    Just once or twice

    == I'm compiling an email in Hotmail Live

    See this:
    https://support.Mozilla.com/en-us/KB/page+zoom

  • Under XP, when I try to install the program screen flash BACK and trying to change back, but then return to the windows form.

    When I run the Setup in the program screen flash backs and trying to change back, but then return to the windows form.

    * original title - back program will not be run. *

    How old is this program and what is his name?  If you give us the name of the program someone read here who have experience with the peculiarities of the program might be able to provide more help.

    Open a command prompt, and then try running Setup from the command prompt.  To start a command prompt, type CMD in the box run from the start menu and press or click OK .  At the command prompt, you can use the CD command to navigate to the CD, or you can run the Setup program by using the full path to the Setup program, for example:

    x:\Install.exe

    where x is the CD drive letter.

    John

  • Hi, when I connect to my Wired XBOX 360 controller to my PC the guide button flashes once and there is no answer. I use 32 bit Windows 7, Dual core 2 GB Ram DDR2

    Hi, when I connect to my Wired XBOX 360 controller to my PC the guide button flashes once and there is no answer. I use 32 bit Windows 7, Dual core 2 GB Ram DDR2

    Hi JamBoard,

    It is possible, that you need to install the drivers for the controller.  You can get them from here:

    http://www.Microsoft.com/hardware/en-us/p/Xbox-360-controller-for-Windows#support

    However, if it's not too hot, it could be a real hardware problem.

    Thank you!

  • Download previous versions of Premiere Pro? The most recent one doesn't work on my computer. The screen keeps flashing black and white.

    Download previous versions of Premiere Pro? The most recent one doesn't work on my computer. The screen keeps flashing black and white.

    Hello

    You can see the following link to find out how to download a previous version of creative cloud apps.

    Download and install Adobe Creative Cloud apps

  • Can't play Scrabble because the Script error

    I tried to load a Scrabble game from a disc, but I got a script error.  I use Windows 7, and the disc is designed for Windows 95/98.  Could be the problem?  Can it be fixed?

    Some older games from 95/98 can do run on W7, some may not.

    Have you tried to install or run the game in compatibility mode? Try to mark the program under W95/W98 and see if it works then.

    If it still fails then also try the privilege "run as Administrator" box as this can sometimes help.

    If the game needs it, also try to tick the boxes res screen 640 x 480 and 256 colors.

    However, there is no guarantee that this will work.

    If you W7 32-bit it is perhaps a better chance to get to manage if you have 64-bit, which may have other problems esp with the old 16-bit games or installers.

    If the game has been loaded on a Windows 95 or W98 computer but actually ran in the BACK, then you can get it running on W7 in DOSBOX or similar. But you must read this first if you are not familiar with it. In a first time - http://www.dosbox.com/wiki/Basic_Setup_and_Installation_of_DosBox

    If you still can't work, please post back with as much information as possible, i.e. your version of W7, games full title and maker etc. and the exact error and message when it appears.

  • How to make the script a buttons previous and next to navigate between fields using the navigation sequence?

    I want to put in "next" as well as "Previous section" buttons on the top of my page, aside from the arrows in the table of contents. I put a browse sequence. But I am unalbe to describe the buttons. Can anyone help please.

    Thank you.

    Hello

    You're definitely on the right track. The problem is that you cannot use a path "hard" for images. It may work for the subjects to the root, the directory images can exist. It may not work for the subjects, because the correct path would be something like '... /... / Images /'.

    In addition, you must add the images as baggage files to your project. If you only use the images in a script, RoboHelp does not recognize them as resources.

    I've updated you above the article. He now understands how to use images like browse buttons in the sequence.

    Take a bow

    Willam

  • Backup of the script only procedures, collection and paintings

    Hello

    Please let me know if there is a way to take backup of the script of the procedures, arrays and collections using SQL developers.

    Thank you

    Siradji

    Sayam Jain says:

    Hello

    I know, but I wonder if there is a method to get the script to database on a command or a click.

    Thanks in advance.

    None

  • How to say the script colse all files and save them, but not untitle docs

    Hello world

    I want colse open files and save them, but not the files that have never been saved.

    Try this script, but I ran after, all files are not saved.

    docs var = app.documents.
    for (var i = docs.length - 1; i > = 0; i--) {}
    if(App.activeDocument.Saved == false) {}
    docs [i]. Close (SaveOptions.no);
    }
    Another yew (docs [i] m:System.NET.Sockets.Socket.close (SaveOptions.YES));
    }

    can someone tell me what is the problem with the script?

    Thank you

    Respect of

    Teetan


    var docs = app.documents;
    for (var i = docs.length-1; i >= 0; i--) {
        if (docs[i].saved == false) {
            docs[i].close(SaveOptions.NO);
        }
        else {
            docs[i].close(SaveOptions.YES);
        }
    }
    
  • Cannot change rules in Mail because the window is too short and not resizable

    When I create or edit a rule in the mail, the window is always too short, and it cuts the Actions section. I had this problem for a while, but there is a small bit visible (the wick down the line) and I could click to edit it, but now there's nothing I can click at all, that keeps me completely from the use of the rule. How can I fix or work around this problem?

    In the past, restarting Mail would bring this window to its full size. If this does not work for you, try this:

    Exit the Mail.

    In the Finder, select go, then navigate to the folder. Copy and paste the path below and click GO:

    ~/Library/containers/com. Apple.mail

    Move the entire folder com.apple.mail to the Recycle Bin, open Mail and test. If all goes well, you can empty the trash. You may need to re create your user settings.

    Some have said it works, and others say that it worked temporarily.

  • How can I determine what my CURRENT profile, because the Profile Manager shows 3 and all the questions and answers are ambiguous on this issue. THX.?

    Yes, I see ambiguity. I have also some old Save profiles of boards and I have 3 profiles showing under the Profile Manager. The folder under "%APPDATA%\Mozilla\Firefox\Profiles\" shows 2 of them, but how DO I know WHICH is my current profile? So far, I have been unable to navigate up a clear answer. THX.

    You seem to have created a profile in the Profiles folder and not as you should be in an empty folder.

    You already clicked the button Choose a folder and specified the profiles folder in the profile folder?

    You must always specify an empty folder and new for the profile if you really want to create one profile other than suggest Firefox (you can change the file extension part after the '. ': for example the default user-> my < name >)

    It would be preferable to cleaning the Profiles folder and delete all the files except the file profiles.ini and the default and files 'default user', although you might want to move to another location and start from scratch. If necessary, you can retrieve data from one of the two folders.

  • 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/

  • How can I fix my CD player that does not start spinning, however the green light flashes twice and the door opens fine.

    I recently got a desktop computer. It's an hp with Microsoft Windows XP. I don't understand not brand-new, but it worked when I got it. My children decided to "help" with a cd of one day and he has not worked since. It is not simply turn and nothing shows up on the screen as if I never put anything in the drive. I tried to open a file manually, but he just told me to insert a disk in drive D. When I close the door, it flashes twice, then nothing happens and it is completely silent. I'd appreciate any help.

    Sounds as if the reader does not, replace it and see what happens.

    "evil heart," wrote in the new message: * e-mail address is removed from the privacy... *

    I recently got a desktop computer. It's an hp with Microsoft Windows XP. I don't understand not brand-new, but it worked when I got it. My children decided to "help" with a cd of one day and he has not worked since. It is not simply turn and nothing shows up on the screen as if I never put anything in the drive. I tried to open a file manually, but he just told me to insert a disk in drive D. When I close the door, it flashes twice, then nothing happens and it is completely silent. I'd appreciate any help.

  • during the conversion of several Word and Excel docs in a combined PDF file random pages have blue background in the final PDF file.

    I have a user using Acrobat 10. It has been installed two weeks ago and had no problems at the start. Today, she said that when she tried to convert several word and excel docs by selecting and right-click on it to select convert/combine PDF format, pages randomly in the finished PDF file have a blue background. I did some research online and you can't find any information on this problem. Can anyone here shed some light on this subject and maybe point me in the direction of a solution? Any help is appreciated. Thank you!

    Hi Gilad,

    So something I didn't consider was that it could be a setting in office documents. The reason why I do not consider this was cause we tested several docs and had similar results each time. I returned and examined this possibility and found a setting in word that was causing this problem. Although the word doc showed no color page when opened in word, if I went to the "Page Layout"-> 'Color of Page', a shade of blue was chosen. By selecting "no color", then convert / combining documentation in PDF format, we have achieved the desired result. Thanks again for your response!

  • my outlook Express freezes on opening because the albums email won't let me delete it

    How do I get in outlook express if the email at the top of the page hangs and will not respond?

    In fact, I have one than another thought. You never answered whether or not it was always the same message.
     
     
    If you go to the OE message store and delete the file Inbox.dbx with OE closed, when you open OE you will have a new but empty Inbox. No message, no corruption.
     
    Of course, which will delete all of your messages. You couls rename the Inbox.dbx to Inboxold.dbx and then try in retrieving your messages with this tool, but it is not free.
     
     
    You may need to run in the extract from disk Mode if its normal recovery mode fails to find lost messages.
     
    Also, check the Windows Recycle Bin and the OE message store and see if you have an Inbox.bak file. If you do, note the date of creation. There is a way to restore your messages until the free creation date.
     
    And another thing. Let me know the Inbox.dbx file size as it is right now.
     
     
     

Maybe you are looking for

  • Report icon that appears between the http: box box and google is missing

    In the old version of Firefox the report security icon (Trusteer endpoint protection) is located between the http; area search and the google search box. Use the report to protect a site I just clicked on the icon and asked him to protect. The icon i

  • El Capitan will never support a Microtek ScanMaker X 12 USL?

    When will you update this ugly OS so people can use scanners that worked with Yosemite? I'm fed up with El Capitan. All I want to do is be able to reuse my Microtek ScanMaker X 12 USL. It worked very well with Yosemite and Vuescan has issued software

  • Need password BIOS for HP Pavilion 8380us

    My sister has a HP Pavilion 8380us, which has not been used in a while. I could get my hands on a (power) BIOS password that works and even BONES log in credentials, but still need a BIOS password so I can (a) delete the BIOS password and (b) allow t

  • How to acquire the generated signal?

    Ladies and gentlemen, I am a novice in LabVIEW even if I practice solving problems more or less difficult, I got NOR cDAQ-9178, possess an entrance connected with output channels and after a plan of work on the signal acquisition and production separ

  • Error code 37 during the installation of the Xbox wireless controllers

    I am trying to install drivers for my a Xbox controller. I have a micro USB cable and it detects the controller, but when I try to install the drivers that they wont install properly. I give myself a 37 code saying that the driver cannot be initializ