ActionScript 2.0 :: Snow Falling Upwards?
May 26, 2005I'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 RepliesI'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 RepliesI 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 RepliesI 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 RepliesI 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 RepliesI 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 RepliesI'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]....
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 RepliesI want the snow to build up st the bottom of the file like it would in real life.[code]
View 2 RepliesI'd like to ask if anyone knows how to create words (example Merry Christmas) from falling snow. I'm trying to build a xmas card and the customer wants the wishes to be created from the snow leafs.
View 2 RepliesI'm not very knowledgeable in terms of actionscript and I would like to know how I would go about into modifying a function that is currently running?I'm using falling snow 3.0 in the first frame of a movie :
Code:
init = function () {
width = 300;
[code].....
The actionscript is applied on my FLA successfully. Here is a brief description :(a) frame 01 to 30 : without snow effect(b) frame 31 to 99 : snow effect appliedThere is no problem at all when the SWF is run for the first time.
View 1 RepliesThis project I am working on needs a top view on a snowstorm. I was thinking I can use code similar to a starfield coming at you, and then modifying it so that the objects start from around you and fall towards the center. (opposite direction). However, when I change the code the way I believe I need to, I get the right thing to happen but not to regenerate. It happens only once, and once they reach the center, they don't recreate around the edges of the screen. Here is the code I am using from a simple starfield tutorial:
_global.ppDist = 700;
_global.speed = 50;
//update function to handle perspective projection and scaling
[code]....
how this tutoiral works:[URL].. i understand the ideas behind the script and what you are asking flash to do. the thing is my maths isnt that great. if someone could explain how some of the equations work, that would be excellent
examples: this._alpha = 20+Math.random()*50; ok, randomising alpha. got it. but where do these numbers come from? how did you reach them?
[Code]...
I made a flash movie with snow falling from the sky in Flash 8 (actionscript 2.0). However, the snow I made differs from the original. The original is here: [URL]. I put mine here: [URL]. You will notice that my snow only falls downward: there is no randomness for the flakes to go left or right. There is no movement. Where in the script below can I change that so that there's more movement for the flakes?
I use the following script for the snow itself:
onClipEvent (load) {
//specifies the size of the movie stage
movieWidth = 300;
movieHeight = 200;
//variables that will modify the falling snow
[Code] .....
And on the first frame of my movie I put the following:
for (k=0; k<50; k++) {
duplicateMovieClip(this.snow, "snow"+k, k);
}
I found a actionscript for falling snow. Problem is, I have some art that I want in front of the falling snow and can't figure out how or where to put the mask layer. Also, the more the test scene runs, the more snow gradually starts falling until I have a blizzard and can't see anything.
View 3 RepliesI created a movie in flash cs4 with three scenes. In the first scene I created a snowfall effect with AS2 (code below) with actions on the movie clip and on the timeline: I created a snowflake named winter with an Instance name of snow and applied the code directly to the clip:
onClipEvent (load) {
movieWidth = 1024;
movieHeight = 768;
i = 2+Math.random()*9;
[Code]...
The snow works perfectly, but it continues on through the next two scenes and I can make it stop. I almost decided to take 40 snowflakes each with thier own custom motion tween and a loop to create a similar effect, but I'm sure there is a easier way.
I have used AS3 to create falling snow in an animation. However, once i get to a certain frame I would like the snow to be completely removed from the stage. I have tried 'removeChild' as well as slicing the array, but nothing seems to work. The code I have used to create the falling snow is as follows:
Code:
// first make an array to put all our snowflakes in
var snowFlakes : Array = new Array();
[code]......
I am trying to find a way to stop the snow from Kirupa's "Create Falling Snow" tutorial. When I change scenes in Flash, I need the snow to have stopped. This is his tutorial that I used[code]...
View 2 RepliesI'm having a little trouble with a game I am creating. I created a "falling snow" effect from this tutorial. I then added a movie clip character (which I'll call the bunny) at the bottom of the screen that is stationary along the _y axis and can move left or right along the _x axis.
The point of the game I am trying to create is to have the bunny at the bottom of the screen collect the falling snowflakes, adding score to a counter. However, I am having trouble detecting when the flakes touch the bunny. I have tried using the hitTest in every way I could think of but nothing works. Here is my code:
Code:
this.createEmptyMovieClip("canvas_mc", 10);
Interval = setInterval(addDart, 1000);
function addDart () {
[code]...
I'm basically asking where and how I should be using the hitTest(). I know the basics of collision detecting but for some reason this code is proving to be real difficult.
Im making a little holiday greeting card and have a complete vector storyboard that I am beginning to animate. Falling Snow 2.0 will work great, but I would like to use my own vector art instead of the plain circle flake in the tutorial. I know I can easily substitute my art for the one circle...but how can I add more than one flake style to my animation?
View 2 RepliesI'm using this falling snoweffect but I exhanged the snow with a coin so what I wanna do is have money falling but when they reach bottom I want them to stop. Instead they are looping and I dont know where to change it in the code.
init = function () {
width = 200;
// pixels
height = 400;
[code].....
This question relates to the Falling Snow tutorial on this site...
How can I get the snow fall to randomly change every time the person sees the animation so, for example, you'll see falling snow right now, yet the next time you visit the site you'll see falling cars, or falling mobile phones.
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].....
I want to make the falling snow effect, but i need leaves instead of snow....
View 1 RepliesBeen working with the Falling Snow 2.0 tutorial (great stuff), and am trying modify it to duplicate different types of snowflakes (separate mc's with different designs), but am having no success. Also, I'd like to make the flakes rotate, perhaps at random rates of speed, and could use some pointers there as well.
View 5 RepliesI have the snow effect falling in the project. But during the falling of the snow I'm loading an external file into the screen. (animation from another prog in swf format) But the problem is that the new swf file is blocking the snow. How can I script the snow so that it will fall on top of the loaded file.[URL].
View 2 RepliesI want to use the falling snow code snipet but I don't want it it to start as soon the movie starts.So how to set a specific time to start the falling snow?
View 1 RepliesI'm using the tutorial to create falling snow for flying pollen but I can't make the particles move horizontally. They go straight on from the bottom to the top of the stage.This is the code:
onClipEvent (load) {
//specifies the size of the movie stage
movieWidth = 900;[code]......
I have tried this tutorial at: [URL]. I'm using Flash CS4 on the MAC. But when I run it, nothing happens, When I run the test movie I get an error: 1087: Syntax error: extra characters found after end of program. OnClipEvent (load) {
Also, it doesn't say in the tutorial, so I created a new layer first and then dragged the snowflake symbol onto the stage and then added the script to it. (now there are 2 layers on my timeline). Although it doesn't say to make a new (2nd) layer. Surely you can't do everything on the same layer, because you need to add 2 different scripts which you can't do to one layer.
I saw the snow tutorial on this website and i plan on using it for 20 seconds (500 frames) in my introduction. It works perfectly fine, but after that time, it doesn't stop. It keeps on going and going and going... how to make it stop or make it go into the background? used the code provided by the tutorial. I know this is sudden by can someone answer today because i have to put it together before thursday.
View 1 Replies