ActionScript 3.0 :: Particle System Snow Globe Boundaries

Jan 26, 2011

I've made a particle system snow globe and right now I have snow blowing across the stage, but I want to have the snow blow around only within the snow globe which is placed in the middle of the stage. I made a movie clip (area_mc) that I want to use as the boundary for where the particles can float.

View 0 Replies


Similar Posts:


ActionScript 3.0 :: Particle System And Masking - Particle System Movieclips To Display An Image?

Dec 29, 2010

Is it possible to make this a mask? The system contains one movieclip of a circle called ball, also a class called ball and a class called particle. I want the particle system movieclips to display an image...I'm sure this is possible...just have not been able to find a way. A little backround, I'm a completely selftaught n00b when it comes to AS3, but I'm grasping it fairly well... the tutorial is on this website, called A Simple Particle System Using Actionscript 3.

View 0 Replies

Flash :: Math Equations For Random Snow In A Snow Globe?

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

ActionScript 2.0 :: Depths With A Particle System?

Aug 20, 2009

I am new to actionscript but I am fairly confident in messing around with it. I have been trying to make a particle engine for two days now and I'm at my wits end.

What's funny is, the particle engine works fine. i have piggy backed off of somebody elses particle engine and modified things to how i need them (And stripped it of a few unnessicary things..) what my problem consists of, is I am trying to make the particles go behind another movie clip. this movie clip is a frame (to make it blend in with the webpage it is displayed on) and it must always stay on top depth no matter what to give that affect.

[Code]...

View 4 Replies

ActionScript 1/2 :: Particle System Collision Area?

Apr 17, 2009

I've got a bunch of modules called "c4" labled red1,red2,red3, etc. And a laser made from particles, with angle controlledby 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("fram e2"); }

[code]....
 
The problem I run into is having the collision work with the beam, as opposed to the bounding box that begins with thelasereye_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 ?  

View 6 Replies

ActionScript 3.0 :: Targeting A Particle System In A Container?

May 5, 2009

I've written a game with a particle system, as the particles go off the stage, they are removed.  At the end of the game I want to remove all the particles which are still on the stage.  How can I do this?
 
My first thought is to put all the particles in a container and then remove the container at the end of the game.  However, if I put the particles in a container, I can't reference them anymore with event.target

View 2 Replies

ActionScript 2.0 :: Dupin A Particle System Mc - Yoinks?

Oct 4, 2004

i've got this really simple particle system... what i can't figure out is how to duplicate it and still have it work. if you take a look at my .fla, you'll see that I have attempted to dupe the mc and particle system by duping the mc and having the same AS on it. I also duped the original code on the 2nd frame which multiplies the mc's to create moreparticles...maybe somebody can tell me what's going wrong here. i'm trying to achieve a sprinkler head effect so i need to dupe this effect to fill in what a real fire sprinkler would do.

View 8 Replies

ActionScript 3.0 :: Create A Particle System For A Game?

Apr 12, 2010

i am trying to create a particle system for a game i am creating in class, though it seems that the particles are not being added to the stage. my instructor and i have checked all the obvious things and now were stumped?

particle class:

Code:
package {
import flash.display.MovieClip;
public class Particle extends MovieClip {
var xspeed:Number;

[code]....

the particle movie clip is simply a 5x5 rectangle, with the class name redParticle and the base class is Particle. [URL]

View 1 Replies

ActionScript 3.0 :: Particle System As Image Mask?

Dec 30, 2010

I'm a self proclaimed n00b when it comes to as3, but I'm learning rapidly.I followed this guide and created a great particle system: url...What I'd LIKE to do, if possible, is make those particles that are generated be the only part of an image that shows(mask). The tutorial contains a fla with a movieclip of a circle, two classes...particle and ball which call the movieclip and generate it on the stage.

View 1 Replies

ActionScript 3.0 :: Modifying Particle System Code?

Mar 8, 2011

I got the AS code for a really cool particle fountain and modded it to use it for the animation of a popcorn machine. It turned out really great. The only thing I didn't care for was that the particles were balls. It worked fine on a small graphic but now i want to make a larger scale version and wanted to make the sprites actual pieces of popcorn.Here's the code I'm using so far:

Define the gravity.
This determines how fast the balls are pulled down.
*/
var gravity:Number = 0.2;[code].....

View 2 Replies

ActionScript 2.0 :: Dupin A Particle System Mc - Yoinks

Oct 4, 2004

i've got this really simple particle system... what i can't figure out is how to duplicate it and still have it work. if you take a look at my .fla, you'll see that I have attempted to dupe the mc and particle system by duping the mc and having the same AS on it. I also duped the original code on the 2nd frame which multiplies the mc's to create more particles... maybe somebody can tell me what's going wrong here. i'm trying to achieve a sprinkler head effect so i need to dupe this effect to fill in what a real fire sprinkler would do...

[Code]...

View 8 Replies

Actionscript 3.0 :: Tweaking Particle System - Circles Come Out In Different Colors

Feb 16, 2009

I have these particle system files, it actually does what I want. It makes circles come from a center point and have them expand out of the screen. However I have a couple of questions regarding those files, I wanted to add and change a couple of things:

- I would like that the circles come out in different colors, red, green and blue in randomized order.
- I would like to add a "fade out" option. Instead of having them grow out of the screen, have the option to have a defined circle size and when the circle reaches that size it fades out. Or something easier that works just the same, basically have it fade out.
- Have the circles blurred a bit. Possibly have the chance to control that too.

Then I would like to add some interactivity to the system. Basically have the circles move away from the mouse when the mouse rolls over or near that/those circle(s). Is that easy?

View 1 Replies

ActionScript 2.0 :: Spin The Globe - Globe Cannot Play Backward ?

Jul 10, 2006

my boss gave me the difficult project. he wants me spin the globe.now i can spin the globe forward and backward. but has one error that the globe cannot play backward continuous when my mouse is move more than 1/2 of stage width.it's should be

forward :: frame 1, 2, 3, 4, ..., 24
backward :: frame 24, 23, 22, 21, ..., 1

no have error when play on frame 1 - frame 23

find the error when play frame 24

it is forward :: frame 1, 2, 3, 4, ..., 24 and not play backward and the problem can found when play until the last frame.here is code

Code:
stop();
//forward
MovieClip.prototype.playForward = function() {[code]........

View 1 Replies

Actionscript 3.0 :: Create A HitTestObject Function - When The Character Touches A Particle, The Particle Disappears?

Jan 12, 2010

I have a particle generator class and I want to create a hitTestObject function on another object to check for any collisions with the particles produced.I bascially have a character already on the stage called character_mc and I want to be able to collect the particles, that means when the character touches a particle, the particle disappears.

View 1 Replies

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

ActionScript 2.0 :: Stop The Snow Script - Reuse The Snow Later?

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

Actionscript 3.0 :: Globe Done In Papervision

Jul 2, 2009

I have done globe in papervision - basically sphere + material (image of political map) over it.Now, I need to make every country on my globe interactive, what means, I need somehow create event listeners for lots (at least 15) of small areas on my globe, and if I click those areas, something will happen (say, additional info windowwill come out)I googled a lot and found a lot of things describing some realted stuff (hotspots?), but since I am quite new in flash/actionscript/papervision, could I, please, get some introductory idea how my problem might be solved?

View 1 Replies

ActionScript 3.0 :: System.useCodePage - Getting Error 1120: Access Of Undefined Property 'System?

Aug 7, 2009

I got a textfile who i am reading on a serverside script and passing it as a script to my client side as3 code. The problem is that i am using characters like ä,ö,ü,ß and this isn't well displayed. I tried System.useCodePage but the compiler complains about : 1120: Access of undefined property 'System'. It doesnt matter if I tried this on the first line of the 'Action' in the first scene or in the first line of the first .as file i am loading. (btw i am only working with .as file and not in the timeline). When i am importing flash.System.* the compiler complains he dont know useCodePage.

View 3 Replies

ActionScript 2.0 :: F8 Flash Globe Carousel

Feb 14, 2009

I am trying to develop a Flash globe carousel and I need some help in doing so.A normal carousel moves along a circle.I am trying to develop a Flash carousel that moves in every direction along the lines of a globe. You can see attached a normal carousel that I have created. I have tried to upgrade it to a globe carousel but I am having problems in doing so.It is not easy but I am sure that there are people here that understand trigonometry and can point me in the right direction.

View 1 Replies

ActionScript 1/2 :: Globe Rotation Script?

Aug 18, 2009

I've created a 2D globe in Flash which automatically rotates clockwise very slowly using actionscript. On the globe there are sign posts which rotate with the globe, each sign post will link to another url. I would like to allow the user to spin the globe faster when they click the left mouse button while moving the mouse in a downward motion but once they've spun the globe faster it should then gently slow back down to its original speed.

View 5 Replies

ActionScript 3.0 :: Earth 3D Globe - 360 Degree Rotation

Mar 17, 2011

I created a 3D globe in 3DS Max, put on render and would like to now be able to this object using the mouse to offend 360 degrees on one axis. Unfortunately, I do not know how to go about it.

View 0 Replies

ActionScript 3.0 :: Map / Surface Separating From 3D Ball (Globe)

Dec 16, 2010

I'm about to make an animation where a whole world map separates from globe/ball. Kind of coating/jacket that opens from 3d ball to plain 2d surface.

View 1 Replies

Flash To Make Letters Come From Around Globe Just Like On Universal Intro?

Oct 10, 2011

Is there a way in flash to make the letters come from around the globe just like on the Universal intro? [url]...

View 1 Replies

ActionScript 3.0 :: Papervision - Allow User To Spin Globe By ClickDrag

Jun 21, 2009

I've got a globe which I'm adding markers too and then I allow the user to spin the globe by click-dragging it. Actually, the globe and markers don't move, the camera moves around them. Anyways, what I need is to be able to spin the camera around to a markers position when it's clicked on.

Code:
package {
import flash.display.BitmapData;
import flash.display.Loader;
import flash.events.Event;
import flash.events.MouseEvent;
[Code] .....

View 2 Replies

IDE :: Ball - Globe Rotation Based On Mouse Position

Nov 30, 2009

I have created a globe that rotates with no problem, but what I am trying to do is to control the direction of the rotation based on the mouse position. For example, if the mouse is to the right of the globe, it rotates towards the right and if the mouse in on the left, the globe rotates left. When the mouse is over the globe, it should stop.

View 1 Replies

Interactive - When The User Mouses Over The Globe Is Stops Rotating - Button

Jul 9, 2009

I made an interactive rotating globe that shows all the continents (using CS3 and AS3). The globe rotates automatically. When the user mouses over the globe is stops rotating and they can use left/right arrows to rotate it manually to get to a continent. When the mouse rolls over a continent (Australia for instance) it changes color and should be clickable and go to a website but it's not working. It doesn't return any errors. The basic structure of it is this:

[Code]...

View 3 Replies

ActionScript 3.0 :: Extreme Zoom From Globe To Close-up Satellite Imagery?

Aug 3, 2009

I'm trying to create a flash application which displayes 20 locations on a U.S map. Right now I have a satellite image of the U.S, and if you click on a location it zooms and you see a close up. I am achieving this effect by playing a short flv video captured from google earth.The first frame is identical to the map image, then it rapidly zooms in (about 1 second) to the location, the last frame is the same as the satellite imagery of the location.It looks pretty good, but each zoom video is 1 to 2mb to achieve video quality which matches the satellite imagery and looks good with such extreme movement.The problem is the flash presentation is too large with all the videos, can I achieve the same affect with images?Something like a deep zoom effect?Is an image zoom technique practical considering I'm zooming into the whole country image way beyond a single pixel of the image all the way down to satellite imagery?

View 1 Replies

ActionScript 3.0 :: Away3D And Resize Stage - Keep The Globe In The Same Relative Spot With The Graphic Behind It

Dec 10, 2010

I made a spinning globe with Away 3D which sits in front of a 2D graphic in a specific spot. The swf is going to exist as part of a web-page. When a user hits "zoom in" or "zoom out" on there browser (looked at FF and IE) and refreshes the page, the 2D graphic is zoomed and stretched. The spinning globe is also magnified, but falls out of position... in this case, down and to the right. I put my original re-jiggering steps to put the globe in place in an onResize() method, called by stage.addEventListener(Event.RESIZE, onResize);

[Code]....

Even if I wanted the globe to stay dead center on the stage, I don't know how to do this. What kind of calculation do I need to make in my onResize() method? Do I move the view or do I need to move something else? Can someone explain what is happening to the viewport or the camera when the stage is resized?

View 3 Replies

ActionScript 2.0 :: Particle Systems

Dec 23, 2004

If anyone would please post everything they can about particles and particle systems, including tutorials, source files, links, movies, comments, help, and code, I am trying to learn about particles and particle systems, but I can't fin anything that meets my needs. Please post whatever you can!

View 4 Replies

Pulse Particle Always Going To The Top Level/layer?

May 10, 2009

I'm using the Pulse Particle component to place a random starfield into my client's animation. Problem is as you'll see in this simplified example, I have the particle layer next to the bottom but when you render out the movie, the particles go right to the top layer, no matter what. I tried both this timeline effort and then I tried placing it with AS3 using the addChild method. Neither worked at all. How can I tell this component to only populate to the proper layer/level so the objects above it are seen without any particles?

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved