ActionScript 2.0 :: Creating Bubbles Using The Snow 3.0 - Snow Moving Downward On The Y Axis?
May 15, 2007
I created bubbles using the snow 3.0 tutorial from here at kirupa. I slightly altered the code so it would be for bubbles on a canvas of 800x500.The problem with the tutorial is that it is for snow moving downward on the y axis. for bubbles in the water, I need them going upward.which part of the code I need to alter so the bubbles will move up and not down? Also, I need the life of the bubble to last the length of the canvas.
Code:
init = function () {
width = 800;
// pixels[code]........
View 13 Replies
Similar Posts:
Mar 28, 2007
So I've modified the code for the snow demo for a practice site (made it into bubbles instead of snow) but for some reason, the bubbles appear on top of every layer, even though they're on the first layer. Is there something I can do to tweak the actionscript so the bubbles stay on the first layer?
View 4 Replies
Nov 20, 2007
I need create bubbles in flash, I used the fallinng snow script but I need that the particles go to the sky and not go to the floor :This is the code...
onClipEvent (load) {
//specifies the size of the movie stage
movieWidth = 78;
[code].....
View 7 Replies
Oct 24, 2010
I've been experimenting with this and I haven't been able to come up with an adequate solution. Hoping one of you Mathletes can point me in the right direction. I'm building a Snow Globe in ActionScript 3 and I need to come up with a set of equations to control two level of snowflakes - one level random, and the other interactive where a user can click on them.For the random snow, I need to have it create certain number of random x/y positions at the bottom of the globe, which is a circle with a radius of around 300. Then when the shake action occurs, They should randomly float toward the top, then fall back to a random position at the bottom of the circle again.
For the interactive snow, I need it to randomly layout, but I don't want flakes to overlap so that its easier to interact with them.
View 1 Replies
Jan 29, 2009
at the end of the scene I want the snow to stop falling. I can't work out how to end this script. I want to reuse the snow later, but I have a scene set inside next.How do I start/finish this script?
View 4 Replies
Mar 12, 2004
I like the falling snow effect, how its random sizes and alapha channels, but how do you alter the cod so its going up like bubbles and not falling down, I.E. in a fish tank there are bubbles going up constantly
View 6 Replies
Nov 10, 2011
I'd like to put a mask over a snow animation like the one found here: [URL]
However, if I place a simple shape mask above the "snow" layer, it doesn't mask the snow below.
how I might be able to mask the "snow" layer?
View 2 Replies
Nov 13, 2009
i am experiencing a strange and unpleasant situation.I am using CS3 and upgraded to Snow Leopard 10.6.2 last night, along downloading the latest Flash Player for browsers.
Problem is that now all of my text block arent displaying the same line height that before i updated?????
I compared the same exact SWF made under Tiger and those made under Snow Leopard and the two arent identical, lines are misaligned regarding line height!
View 5 Replies
Dec 28, 2004
I have learn from this web-site how to do a snow effect.but I don't know to change te position of the movie on my page ???
View 2 Replies
May 13, 2005
Got the particle snowfall going fine, but the wind factor - which changes the ._x according to the slider's value - pretty much ruins the initial random() effect of the snowfall. [When taken to a high or low wind factor, then back to 0%, the particles get stringy-looking and too regular.]Tried tweaking the wind variable with a bit of randomness [// in the code] - which solved the above problem, but now the harsher snowfall is a bit too 'wiggly'. How can I maintain the randomness of a soft snowfall without screwing up the wind effect?
View 5 Replies
Dec 27, 2007
[URL]I would like to know how I can get the snow to move up instead of down. I've tried to put a "-" i = "-"1+Math.random()*4; there but it doesn't loop and the snow balls doesn't stop just keeps going.
View 5 Replies
Dec 19, 2008
I have enjoyed the Snow 3.0 code located here on this site:[URL].. It works beautifully. However, I am wondering how I can get the snow to end at a certain frame number. I currently have it starting in frame 25. How could I get it stop in frame 150? I have tried several things and it just keeps snowing throughout the whole movie..
View 1 Replies
Mar 28, 2009
Has anyone tried the Snow 3.0 tutorial using Flash CS4? I followed all the steps and can't seem to get it work?
View 6 Replies
Jul 9, 2009
trying -with no success - to make snow flakes to go up, instead of falling, using Snow 3.0
View 2 Replies
May 25, 2010
I did the excellent tutorial on Falling Snow for Flash CS4/AS3 on this website.I now want to add further graphics and animations to the snow for an e-card I'm creating.I have tried to add to the timeline and animate a logo, but then the snow just flashes on and off in one piece. Is there a way I can make the snow fall, say, halfway through my animation so I can add other things to it?
View 3 Replies
Sep 9, 2010
I am using Flash CS5, Actionscript 3.0 and trying to get the Falling snow 3.0 to work. Is it me or can other of you get this tutorial to work.
View 1 Replies
Oct 14, 2011
I have just finished the falling snow tutorial which works perfectly. However I am unable to make it stop once it reaches a certain frame.
View 2 Replies
Oct 9, 2009
I just installed Snow Leopard and now my Flash CS4 will not stay open. It crashes. All software updates are up to date.
View 3 Replies
Oct 19, 2009
Whenever i try to open any kind of file in Flash CS4 (version 10.0.2) , it instantly crashes, and i get the error message "Flash has quit unexpectedly."This problem has only started to happen since I recently upgraded my brand new macbook pro to Snow Leopard (mac osx 10.6.1).All other CS4 programs run fine
View 3 Replies
Jan 19, 2010
I hate to start a new thread but I didn't see one pertaining to this issue. I hope I am not alone. I recently bought a new iMac and it came with Snow Leopard OS. I ported over my Web Premium Creative Suite and all of my applications work great except for Flash CS4. I open the app to the intro screen but as soon as I try to open an existing project file or even to create a new project file, the app crashes immediately. I tried calling Adobe Support but they only turn me away, saying I need to purchase a $175 Support Plan for help. I just want my Flash to open. The same app works fine on my Macbook Pro (running Leopard). It seems adobe should be willing to help seeing as how the specifications say it is supposed to be compatible with Snow Leopard.Anyway, I have tried installing all updates and Deactivating/Uninstalling and Reinstalling.
View 7 Replies
Oct 28, 2009
I have this code that I got from this site and I figured out how to stop the falling snow but it just disappears with remove moviclip function. Is there any way to have the snow fall to an end instead of just disappear? So it looks more natural? I would even take a fade to alpha =0. I have attached the .fla file for viewing.
View 9 Replies
Nov 18, 2011
My 2D game has a simple snow effect, but I would like to improve the framerate performance during this effect.I animate 500 sprites with a particle system, using a white 2x2 .gif image.I animate to whole pixel values only.I turn off smoothing and image compression.I don't rotate or scale.No calculations, just modifying the sprite's x values every frame.I've heard some people discuss bitmap caching.
View 0 Replies
Jan 2, 2003
I had download a snow fla from this site. And i put at my moive. But when i want the snow to stop somewhere of the frame. ITs still keep going falling snow. Anyone know how to fix this problem?The code as below
//
// Snowfall algorithm by Grant Skinner. Check out http://gskinner.com/ for updates, more source code and other good stuff.
[code]....
View 1 Replies
Nov 15, 2003
how do you make the snow rise up? I sorta did it but the snow doesn't reappear where it should.You can download the original from the provided link,[code]
View 1 Replies
May 26, 2005
I've done the tutorial on falling snow but what I really want it to do is fall upwards... like bubbles on water.what part of the code I need to change...
View 6 Replies
Mar 19, 2003
I'm using Flash MX and am following the falling snow tutorial in the actionscript section. What I'd like is for the snow to move from right to left, but still with the random y position.This code gives me snow (particle) moving right, left, and right again but most ends up along the top (y value of 0).
onClipEvent (load) {
//specifies the size of the movie stage
movieWidth = 131;[code]....
View 2 Replies
Aug 9, 2005
I've got a problem masking the snow effect by this tutorial : http:[url]...when i place the MC in my movie it runs good but when i mask it - its everything but good.
View 3 Replies
Sep 9, 2005
I used this snow effect from kirupa... [URL]
Can i center the effect? i mean, like make it in the center of the flash movie? because when i resize it the lower part of the snow effect goes away and the top stays. Its like, i dont want it to go up or down, i want it to be in the center of the flash movie.
View 1 Replies
Dec 1, 2005
is it possible to have the snow moving from right to left?someone had designed something completly sideways as they were rotating there monitor 90 degrees instead of buying a video card that would do it for them.
View 3 Replies
Dec 3, 2006
I want the snow to build up st the bottom of the file like it would in real life.[code]
View 2 Replies