Actionscript with particle systems

I want to apply particle systems into actionscript3,because I know particle systems can create many special effects,but I only know actionscript grammer and don't know any particle systems knowledge,anyone could tell me some books about actionscript with particle systems?
Thanks

Here few links (I never tried though):
http://www.actionscript.org/resources/articles/607/1/A-simple-particle-system-using-Action script-3/Page1.html
http://www.lynda.com/ActionScript-3-tutorials/building-particle-systems/573-2.html
http://www.lemlinh.com/flash-tutorial-create-cool-particle-systems-5-how-to-articles-on-as 3/

Similar Messages

  • How to move a particle system with arrow keys?

    I have a little "ice fountain" particle effect and I want to
    be able to move it like an object. How do I use actionscript to
    effect a group particle system? (or have collision detection
    features for that matter)
    Code:
    this.createEmptyMovieClip("holder2_mc",
    this.getNextHighestDepth());
    for(i=0;i<50;i++) {
    var k:MovieClip = holder2_mc.attachMovie("ice","ice"+i
    ,holder2_mc.getNextHighestDepth());
    k._y = 350;
    k._xscale = Math.random()* 55 + 35;
    k._yscale = Math.random()* 55 + 35;
    k._x = Stage.width/2 -150;
    k._rotation += Math.random()* 90 -45;
    k.gotoAndPlay(Math.ceil(Math.random()*16));

    fixed:
    holder2_mc coordinates had to be loaded outside onEnterframe
    and outside the "for" but inside an onLoad, and the initial k
    coordinates had to be shut down.
    ------------- Code --------------------
    onLoad = function(){
    holder2_mc._y = 350;
    holder2_mc._x = Stage.width/2;
    onEnterFrame = function(){
    if(Key.isDown(Key.UP)){
    holder2_mc._y -= 5;
    if(Key.isDown(Key.DOWN)){
    holder2_mc._y += 5;
    if(Key.isDown(Key.LEFT)){
    holder2_mc._x -= 5;
    if(Key.isDown(Key.RIGHT)){
    holder2_mc._x += 5;
    if(Key.isDown(Key.SPACE)){
    //trace(holder2_mc._y);
    holder2_mc._rotation += 15;
    this.createEmptyMovieClip("holder2_mc",
    this.getNextHighestDepth());
    for(i=0;i<150;i++) {
    var k:MovieClip = holder2_mc.attachMovie("ice","ice"+i
    ,holder2_mc.getNextHighestDepth());
    //k._y = 350;
    k._xscale = Math.random()* 55 + 35;
    k._yscale = Math.random()* 75 + 25;
    //k._x = Stage.width/2 -150;
    k._rotation += Math.random()* 90 -45;
    k.gotoAndPlay(Math.ceil(Math.random()*16));
    //k._y -= Math.random()* 100 +25;
    //k._x += Math.random()* 100 -50;

  • Poor quality when rendering CC Particle Systems II

    Hi Guys.
    I'm getting strange render results when I render out CC Particle Systems II cubes and tetrahedrons.
    I have the particles cascading out towards the viewer and they look great when I preview render in AFX but when I do a full render to H.264 mp4 they start really crisp and clear then turn in to a really pixelated mess as the render continues. It's odd. I tried rendering through Adobe media encoder but it's the same. I also tried just rendering the particle part of the comp and it does the same thing. Am I missing some settings?
    Any help would be greatly appreciated.
    Thanks

    Without seeing it in motion, it sounds like normal issues you would experience with an interframe compression scheme like H.264
    H.264 works on the principle of a few full frames scattered among a bunch of incomplete frames with interpolated data. Your first frame would be a keyframe with full data and that middle frame would be one that's incomplete. The reason it looks worse when the particles are on the screen is that there's also a lot more data happening. In the rest of your project, the compression is barely noticeable. This is an issue any time you are trying to design for broadcast or the web. Heck, you can even see this kind of artifacting in major releases. See, for example, the Planet Earth Blu-ray in any of the shots involving a massive flock of birds. You can see compression artifacts despite the pristine quality you would expect from them. There's only so much data you can squeeze out of a frame (to make it easily playable) before certain artifacts will creep in.
    You can either redesign to make it less likely to have artifacts when compressed or you can rest assured that most normal people won't even notice something like this as it flies past them on the screen.
    Now, this is all assuming your particles are moving quickly. If it looks like that with slow, smooth motion, something else may be wrong.

  • Particle System Collision Area?

    so I've got a bunch of modules called "c4" labled red1,red2,red3, etc. And a laser made from particles, with angle controlled
    by bckspace and enter keys:
    onEnterFrame = function(){
    for (m=1;m<4;m++){
    c4 = this["red"+m];  
    if(robot_mc.laser_mc.lasereye_mc.hitTest(c4.cap)){c4.gotoAndPlay("frame2"); }
        //laser controls
        if(Key.isDown(Key.BACKSPACE)){robot_mc.laser_mc._visible = true; robot_mc.laser_mc.lasereye_mc._rotation -= 7;}
        if(Key.isDown(Key.ENTER)){robot_mc.laser_mc._visible = true; robot_mc.laser_mc.lasereye_mc._rotation += 7;}
        if(!Key.isDown(Key.BACKSPACE) && !Key.isDown(Key.ENTER)){robot_mc.laser_mc._visible = !true;}
    for(i=0;i<500;i++) {
        photons = this["photon"+i];   
        var k:MovieClip = robot_mc.laser_mc.lasereye_mc.attachMovie("photon","photon"+i ,robot_mc.laser_mc.lasereye_mc.getNextHighestDepth());
            k._xscale = Math.random()* 120 - 20;
        k._yscale = Math.random()* 180 + 35;
        k._y -= Math.random()* 10 +10;             //plus changes distance of start of beam, base changes range
            k.gotoAndPlay(Math.ceil(Math.random()*16));    }
    The problem I run into is having the collision work with the beam, as opposed to the bounding box that begins with the
    lasereye_mc. Is there a way to get the c4 to react with the beam, instead of the bounding box around the beam? Or a way to get the photons to interact individually? Also, is there a way to load a particle system through an onEnterFrame without it overloading/oversaturting ?    Thanks.

    ok, so I added the remove movieclip at the end of the particle timeline,
    and then cut down the i<500 to i<80, and added the c4.cap hitTest;
    for(i=0;i<80;i++) {
        photons = this["photon"+i];   
        var k:MovieClip = robot_mc.laser_mc.lasereye_mc.attachMovie("photon","photon"+i ,robot_mc.laser_mc.lasereye_mc.getNextHighestDepth());
            k._xscale = Math.random()* 120 - 20;
        k._yscale = Math.random()* 220 + 35;
        k._y -= Math.random()* 15 + 10;             //plus changes distance of start of beam, base changes range
            k.gotoAndPlay(Math.ceil(Math.random()*16));   
                for (m=1;m<4;m++){
            c4 = this["red"+m];   
        if(c4.cap.hitTest(k)){c4.gotoAndPlay("frame2"); }
                } //end c4 for loop
        } // end photon for loop
    and duplicated the loop for the c4 module. It now works like a charm ^_^
    Thanks much!

  • Spin behavior with particles emitter not smooth when close to camera

    Hello,
    Just got Motion 4 and was playing with it last night with the particle system.
    http://idisk.mac.com/pixmation/Public/motionParticlesTest.png
    As you can see in the screen shot, I have an emitter spinning and moving towards past the camera emitting particles at zero speed (leaving a trail). As it get close to the camera, the particle curve is not smooth. I am wondering if this is some kind of limitation or am I missing some setting?
    Thanks in advance,
    Edmond Leung

    Without seeing a screenshot of the behavior settings, I'm gonna say that the problem is how you're animating the position of the emitter. You should look into the Motion Path behavior. I think it's much better suited to a curving animation.
    It's certainly not a limitation of the software.
    Andy

  • Built-in Particle System

    On a few projects I've wished that there would be a built-in particle system in Photoshop. I know that you can do a lot with brushes, but it would be nice to have something completely random.
    My workaround for this is to render something from After Effects. Yes it does work, but it would be much easier if we could stay in one program.
    I'm not talking any intense functionality like there is in Particular, I'm just saying something that can take a layer or image and make a particle of it and have it shoot out from an emitter. That way we can get truly random effects. This may be pushing a bit, but if it could have some basic 3D functionality like in CC Particle World that would also be very handy for creating 3D starfields for example.

    I am not familiar with the products you have mentioned, but I guess the feature might be useful indeed.
    If you should have some JavaScript experience you could also try to Script some automation for the task (possibly involving Smart Objects).

  • Filter problem with operating system in french

    Hello,
    There is a problem with the "Operating System - Windows" filter in the french version of ZCC.
    If you create a bundle and go into "Requirements" and add a filter with Operating system and you set it to "Version 6.1 - Windows 7 / Windows Server 2008 R2" you get this error
    "Vos modifications ne peuvent pas tre appliques pour les raisons suivantes :
    ErreurLa version doit tre sous la forme "x" "x.x.x.x". "
    "You changes cannot be applied for the following reason : formatting must be x to x.x.x.x"
    The format should be "6.1 - Windows 7 /Windows Server 2008 R2 Versions".
    The filter does work as intended with the english versions of ZCC. I have no problem with that but some of our admin does.
    PS : I am currently unable to open an SR because our licence has not been renewed yet. So i am reporting this here.
    Thank you!

    Originally Posted by GuillaumeBDEB
    Hi poplante, this bug is haunting Novell since version 11.0! Believe me on that. I'm the one who reported it. Here's the workaround.
    1.Go to Server machine.
    On Windows:
    Go to
    %ZENWORKS_HOME%\resources\properties\com\novell\ze nworks\core\web\internal\resources\CoreInternal_fr .proeprties
    On Linux:
    Go to
    /opt/novell/zenworks/resources/properties\com/novell/zenworks/core/web/internal/resources/CoreInternal_fr.proeprties
    2.change the property value of windows.versions.6.1 from "Versions 6.1 Windows 7 / Windows Server 2008 R2" to "6.1 Versions Windows 7 / Windows Server 2008R2"
    3.Then Restart the server. The issue will be gone.
    By the way you will see this bug reappear with every new update of ZENworks including new service packs and monthly updates. So keep this workaround at hand just in case.
    Hope it helps!
    GuillaumeBDEB
    In 11.3 the value seems to be:
    windows.versions.6.1=Versions 6.1 - Windows 7 / Windows Server 2008 R2
    But should probably be set to:
    windows.versions.6.1=6.1 - Versions Windows 7 / Windows Server 2008 R2
    And the correct Linux path would be: /opt/novell/zenworks/resources/properties/com/novell/zenworks/core/web/internal/resources/CoreInternal_fr.properties.
    This bug would probably take them a minute or two to fix, sad to hear that it's been there since 11.
    Thomas

  • Firefox 4 is apparently not compatibile with MacOS 10.5.8 PPC since after downloading and trying to open a pop-up says it is not compatible with my system. This version is probably for MacOS 10.5 Intel users. Unless there's another reason?

    When Firefox 4 was proposed, I immediately checked the system requirements for Mac user:
    "MacOS 5
    MacOS 6"
    So I downloaded it, since my OS is 10.5.8 (PPC), I thought I was fine. When downloaded, the Firefox icon showed a Stop sign in the middle: maybe a new logo? But when trying to open it, a window popped up saying this version was not compatible with my system. Therefore, using Time Machine, I reverted back to Firefox 3.6.16.
    If this is the case, you should absolutely warn '''PPC''' users not to download Firefox 4. Your version is probably for '''Intel''' versions.
    Unless you come up with a fix, I won't be able to use Firefox 4 until I change computers, having updated my system to the last possible upgrade.

    Firefox 4 requires at least OS X 10.5 and an Intel Mac. There is a third party version of Firefox 4 that runs on OS X 10.4/10.5 and PPC Macs, for details see http://www.floodgap.com/software/tenfourfox
    If you prefer, you can get the latest version of Firefox 3.6 from http://www.mozilla.com/en-US/firefox/all-older.html

  • How do I get a cd out of my imac with no system?

    I have an iMac Mid 2007 with no system on it. I put in a Snow Leopard OS disk and booted from that in order to instal the system. The install failed three times with the message that certain support files couldn't be copied. I had verified and repaired the disk a couple of times while trying to do this install.
    So I thought that I'd buy a Lion disk and install Lion that way. However, the Snow Leopard disk is still in the machine. Is there any way I can get that disk out of the machine without having to take the machine to be repaired? When I boot from the disk, I didn't notice anything in the menus for ejecting and there's no disk icon at that stage to drag to the trash -- there's no trash.
    Any suggestions would be appreciated.
    Thanks.

    Oh, that's where I got the $69 from. I didn't realise it was a usb stick. Well that would solve the problem.
    I can't remember where I got the Leopard disk, it's been a while. And I know this really sounds stupid, but I can't tell whether the disk is gray or white :-)
    Since I last wrote, I came across this:
    About Lion Recovery Disk Assistant v1.0
    Built right into OS X Lion, Lion Recovery lets you repair disks or reinstall OS X Lion without the need for a physical disc.
    "The Lion Recovery Disk Assistant lets you create Lion Recovery on an external drive that has all of the same capabilities as the built-in Lion Recovery: reinstall Lion, repair the disk using Disk Utility, restore from a Time Machine backup, or browse the web with Safari.
    Note: In order to create an external Lion Recovery using the Lion Recovery Assistant, the Mac must have an existing Recovery HD.
    To create an external Lion Recovery, download the Lion Recovery Disk Assistant application. Insert an external drive, launch the Lion Recovery Disk Assistant,  select the drive where you would like to install, and follow the on screen instructions.
    When the Lion Recovery Disk Assistant completes, the new partition will not be visible in the Finder or Disk Utility. To access Lion Recovery, reboot the computer while holding the Option key. Select Recovery HD from the Startup Manager. "
    Since I have another iMac running Lion which has the recovery HD on it, do you think that I could create Lion Recovery on an external drive on that machine and then then boot to that external drive from the systemless machine and install from the external to the systemless machine?
    Thanks.

  • Create a new user for oracle 10G ASM instance with sysdba system privilege

    Hi,
    In our Golden Gate Project, we require the SYS user credential to connect to the Oracle 10g  ASM instance to read the database transaction logs.But our client is not providing the SYS user credential to  connnect to ASM instance.
    I'm getting the error message "ORA-01109:  database not open",When I tried to create a new user using the  below the steps in oracle 10g ASM instance
    1. Login using "sqlplus / as sysdba"
    2. Create user <username> identified by <password>;
    But in oracle 11g ASM instance, I'm able to create new  user  by connecting the ASM instance with SYSASM role without issues.
    Is there is any workaround to create a new user with sysdba system privilege in oracle 10g ASM instance?.
    Thanks in advance .

    Hi,
    Recreate the password file for the ASM instance as follows:
    Unix:
    orapwd file=<ORACLE_HOME>/dbs/PWD<SID> password=<sys_password>
    Windows:
    orapwd file=<ORACLE_HOME>/database/PWD<SID>.ora password=<sys_password>
    Now sys password is reset, we are ready to use sys for ASM management. I decided to create another user ASMDBA as I tried above.
    SQL> create user ASMDBA identified by test01;
    User created.
    SQL> grant SYSASM, SYSOPER to ASMDBA;
    Grant succeeded.
    SQL> select * from v$pwfile_users;
    USERNAME SYSDBA SYSOPE SYSASM
    SYS TRUE TRUE TRUE
    ASMDBA FALSE TRUE TRUE
    Please see this link : http://orachat.com/how-to-change-asm-sys-password-creating-sysasm-user-11g/
    Thank you

  • Error while executing SAP E-Commerce Application with UME system

    When attempting to login to the B2B application (http://hostname:port/b2b/init.do), we receive the following error:
    Error while executing SAP E-Commerce Application with UME system; try again to log on. If the problem persists, call our hotline.
    I checked the defaultTrace log and every time the login page is called the following messages are displayed:
    #System.err#sap.com/crm~b2b#System.err#Guest#0##n/a##70cf2ba0756b11df86050003ba827311#SAPEngine_Application_Thread[impl:3]_0##0#0#Error##Plain###com.sap.engine.services.servlets_jsp.server.exceptions.WebIllegalStateException: The output is committed.
    #System.err#sap.com/crm~b2b#System.err#Guest#0##n/a##70cf2ba0756b11df86050003ba827311#SAPEngine_Application_Thread[impl:3]_0##0#0#Error##Plain###  at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:354)#
    another 40 lines of similar text
    When a login is attempted, the following messages are appended to the trace file:
    #tracing.isa.runtime#sap.com/crm~b2b#tracing.isa.runtime#Guest#0##n/a##f6384ec0756b11df81380003ba827311#SAPEngine_Application_Thread[impl:3]_0##0#0#Debug##Plain###[actionxecution]='begin' [actionclass]='com.sap.isa.user.action.PrepareLoginBaseAction' [path]='/preparelogin'#
    tracing.isa.runtime#sap.com/crm~b2b#tracing.isa.runtime#USER1#7439##n/a##f6384ec0756b11df81380003ba827311#SAPEngine_Application_Thread[impl:3]_0##0#0#Debug##Plain###[actionxecution]='end' [actionclass]='com.sap.isa.user.action.PrepareLoginBaseAction' [path]='/preparelogin' [forward]='/login.do' [exectime]='42'#
    #tracing.isa.runtime#sap.com/crm~b2b#tracing.isa.runtime#USER1#7439##n/a##f6384ec0756b11df81380003ba827311#SAPEngine_Application_Thread[impl:3]_0##0#0#Debug##Plain###[jcofuncionexecution]='begin' [funcname]='CRM_ISA_SSO_LOGIN_CHECKS' [ashost]='<hostname>' [sysid]='CRM'#
    #tracing.isa.runtime#sap.com/crm~b2b#tracing.isa.runtime#USER1#7439##<hostname>_CJM_678801250#USER1#f6384ec0756b11df81380003ba827311#SAPEngine_Application_Thread[impl:3]_0##0#0#Debug##Plain###[jcofunctionexecution]='end' [funcname]='CRM_ISA_SSO_LOGIN_CHECKS' [ashost]='<hostname>' [sysid]='CRM' [exectime]='12'#
    I have modified the userid and hostname in the above trace output.
    Does anyone know how we can debug this issue further?
    Thanks,
    Setu

    Hi,
    Are you using UME login type for your B2B Scenario?
    In your B2B XCM setting have you selected UME related login type?
    eCommerce Developer

  • Can no longer logon to EM DBA-Studio 8.1.7. with user SYSTEM

    Hello
    my 8.1.7 Enterprise Edition Database shows some "strange bahavior". I can no longer logon to Enterprise Manager Console with user system. (Message: This Application needs more privileges...) But the user system still has the same system privileges as before when it worked fine. So what could have gone wrong?
    The logon with user sys as sysdba still works.
    I can still logon with any user in SQL Worksheet and SQL Plus for instance.
    I have checked for any data loss......but all data still seems to be available. I checked for it with desc and select commands.
    BUT.....I can no longer post a "select * from cat"
    (Message: Table or view does not exist !)
    The database is in archivelog mode in case a recovery is necessary.
    Before the "crash" a normal user schema dump was exported without any problem. But that shouldn't have triggered off the problem!?
    Any help would be greatly appreciated!
    Thank you very much for any hint.
    Stefan
    PS: My user SYSTEM already has the DBA and the SELECT_CATALOG_ROLE but still is no longer able to logon in DBA-Studio!
    I assume it is a more serious problem since none of my users can still perform a "select * from cat" which should always be possible!

    Stopping the jrew process is what i do anyway, but that doesn't seem to be e very elegant way of working with DBA Studio. What is the reason for this behavior?
    Thanks to anyone who can give me a clue

  • My Extensis suitcase 11.0.4 is no longer working with my system OSX10.6.8, what is the best and cheapest font management software to use that's compatible with this system and CS software

    my Extensis suitcaseX 11.0.4 is no longer working with my system OSX10.6.8, what is the best and cheapest font management software to use that's compatible with this system and my existing CS design software?

    If you upgraded to Snow Leopard, then it would seem that Suitcase 11 is not compatible with Snow Leopard and you'd need to buy Suitcase Fusion 3 for $99.95.

  • On Windows 7 Ultimate, desktop with C (system) drive, D K and L drives, can I install Adope Creative Suite 6 Production Premium (from cd's) to Drive D (not C). Thank you.

    On Windows 7 Ultimate, desktop with C (system) drive, D K and L drives, can I install Adope Creative Suite 6 Production Premium (from cd's) to Drive D (not C). Thank you.

    you can but there may be some issues and a lot of files will be saved to your c drive, anyway.

  • The Firefox checking system says that Shockwave Flash 10.1.82.76 (10.1.r82) is VULNERABLE and I should immediately update it. When updating I can find no higher version of Shockwave Flash that is compatible with my system. What should I do ?

    1. I have an eMac running Mac OS 10.5.8
    Processor Name: PowerPC G4 (3.3)
    Processor Speed: 1 GHz
    Number Of CPUs: 1
    L2 Cache (per CPU): 256 KB
    Memory: 1 GB
    Bus Speed: 133 MHz
    2. I use Firefox 3.6.24 as my browser
    3. The Firefox checking system says that the version of Shockwave Flash that I have installed, namely 10.1.82.76 (10.1.r82), presents a security VULNERABILITY and that I should immediately update it or disable it. On attempting to find an update I cannot locate a higher/more advanced version of Shockwave Flash that is compatible with my system. What should I do ?
    Thankyou for any assistance.

    The latest version for your system seems to be Flash 10.1 r102
    Flash Player 10.1 Release Notes: (latest version for Mac PPC)
    * http://kb2.adobe.com/cps/838/cpsid_83808.html
    See (Released 11/04/2010) Flash Player 10.1.102.64 and 9.0.289.0 (126 MB)
    * http://kb2.adobe.com/cps/142/tn_14266.html Archived Flash Player versions

Maybe you are looking for

  • DVR620KU Recording Problem VHS-DVD

    Having a problem copying from a VHS tape to DVD. Followed the instructions in the Owners manual and and checked the input settings but when the recording process is completed there is nothing on the DVD. Any suggestions ?? Solved! Go to Solution.

  • Attachments in Emails

    I have the original iPad, and when I open an email with an attachment it doesn't give me the option to open it myself, it just automatically downloads in the text of the email. I need it to show up as an attachment to use a business app. What setting

  • How to display a .jpg in a JAR file

    I wrote a programe"demo" to display a "001.jpg " and I made a demo.jar file D:\0816>jar -tf demo.jar META-INF/ 001.jpg Demo.class META-INF/MANIFEST.MF I notice that 001.jpg is in the the jar file but the demo.class can not display it. what can I do?

  • Making video start fast and slow down?

    I am trying to avoid doing this in FCP because I know speed changed video can be jumpy... Basically I have video that pans and I want to start fast, lets say 600% speed and slow down just at the end to 100%. I know that in motion it doesn't work with

  • How to Create a java chat room

    Hi, I want to make a web based chat, possibly using Java, any idea how to do that. I have a website and want to add a multithreaded chat component to that. The way it should work is that a user logs-in and start chatting live with any one of the tech