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


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

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 :: 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 :: 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

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 :: Top Down Falling Particle Effect To Reveal Dynamic Mask / Logo

Apr 8, 2009

I have plenty of ways of creating falling snow like effects, but a client has just comitted me to an effect as a test of my ability without talking to me first, that I am a little stumped by.I need to have a top down falling snow effect (its actually supposed to be flour falling from a sieve but hey...). All the snow effects I know, fall down sideways on, from top to bottom, and then they disappear off the page (the flakes).I need the particles (movieclips) to fall downwards from a birds eye view, and 90% of them to disappear, but the remaining 10% to gradually (over about 5 seconds) build up a white logo (shape) in the middle of the screen.So I am guessing that I am going to have to be clever with dynamic masks to get the shape appearing a little bit at a time, and then I also need some random motion, and scaling as the particles fall downwards (and away) from the eye.

Before I jump in at the deep end, has anyone got any ideas on this, even just part of it (the falling particles or the revealing dynamic mask part) would be a great help.Please let me know if you can help with ideas and input in anyway, and I'll give you credit on the final project when complete, as well as much help as I can with game related scripting and deisgn/URL...

View 2 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 :: Dynamic Scrolling Mask Within Menu System?

Sep 24, 2004

create a scrolling mask effect controlled by a menu system. I see this effect everywhere but no tutorials.

[URL]

View 1 Replies

Create Own Mask Around A Jpg Image By Drawing Around It On The Mask Layer

Dec 4, 2009

maybe point me towards a better way to mask. png file is way too big. I have been using the mask layer option to create my own mask around a jpg image by drawing around it on the mask layer. There has to be a fetter and faster way to do this. Is it possible to maybe have a specific color range have an alpha value of 0. Similar to green screening whereas If I put the item I want to clip on a green background flash will auto take out the green for me. and by auto I mean action script maybe. I think this can be done but im not finding it.

how are these guys clipping these images [URL] they have the movie clips set up where the black background on the 3 layers of shoes is getting masked out. When I go into the shoe movie clips I see there is a black background but it just disappears when I go back to main timeline.

View 3 Replies

Actionscript 3 :: Mask Image With Another Image?

Jun 1, 2010

my issue is this, my users import an image with FileReference and I need to mask it and then send it to server.My problem is this: I'm be able do keep the filereference event and transfer the image data into my canvas. I'm be able to send to server the result of masking.But I'm NOT be able to mask the image that my users have load in my canvas.

View 2 Replies

Actionscript 3 :: 5 Star Rating System For A Image Gallery

Mar 30, 2012

i need to build a 5 star rating for a image gallery. when someone rates a image from the gallery i need to retrieve the rating (say like .5 or 2.5 or 3 or 4.5 or 5) How can we create something like a 5 star rating system in AS 3.0? Edited: not the solutions to send the rating vlues to database... I am looking for the logic to set the rating (stars changing the color indicating the rating has been updated) and get the rating values applied...

View 2 Replies

Flash 10 :: Create An Image Gallery Favorite System?

Mar 3, 2011

I need to create an image gallery that the clients can log in and click on photos to add them to favorites. I was wondering how to create this favorite system or if there are any galleries with it?

View 0 Replies

ActionScript 2.0 :: Simple Image Gallery/uploading System?

Dec 21, 2006

Not loading the images for a little info bar at the bottom. It works if you view a folder, however it doesn't work when you just view the main images. I am tracing it, and it traces great, just doesn't want to work.

View 1 Replies

ActionScript 2.0 :: Image Quality. _quality Or System Capabilities?

Jan 21, 2010

I am developing an educational game for our thesis and It's quite bugging me to see the interface look jagged when I lower my screen resolution.instead of using "System Capabilities"I want to know how I can use _quality to enhance the quality of a dynamically loaded image inside a <b>scaled movie clip</b>.i tried to use mc._quality="BEST";ut it doesn't seem to work.If I use "System Capabilities", I will end up creating different images of different sizes. I created a sample file.lease take a look at it

View 4 Replies

ActionScript 2.0 :: Using An Image As Mask

Jan 14, 2011

I'm wondering if I can use a image as a mask. For example, a shape of a dog as a mask. I want to achieve that load in the mask as a jpg or png from disk and apply it to a image. I tried it doesn't work. I don't know if there is something I did wrong.

[Code]...

View 0 Replies

ActionScript 3.0 :: Using A Png Image As A Mask?

Nov 18, 2011

I recently tried using a png image from the library as a mask for a movieclip on stage. Much to my surprise, the mask is just a rectangle. I expected it to ignore the 0-alpha pixels in the image and just mask out the visible shape. I managed to come up with a work around, but I just wanted to know if it was possible to use a png image as a mask and get the shape of the visible image as the mask as opposed to the whole, rectangular image area. I totally thought it was.

View 5 Replies

Flash :: Mask Image Can Not Appear On Screen

Apr 15, 2010

I have imported to the library two images and have given them the custom class names MaskImage and MaskedImage.[code]...

View 1 Replies

Flex :: Crop Image Under Mask?

Jul 25, 2011

I have this image over which i have a circular crop. The user can move the underlying image and when he is ok with the result hits the crop button. How can i crop only that part of the image which is under the mask?

View 1 Replies

ActionScript 2.0 :: Mask Image From B/w To Color?

Feb 9, 2006

I want to use a b/w image as a preloader and as the content loads, the image gets colored the same percent. Just like a regular preloaderbar, just that the counter is the color.

View 1 Replies

ActionScript 2.0 :: Mask Between XML Image Gallery?

Nov 5, 2006

I've been playing around with the gallery in this tutorial.[url]...

I was wonderig though, if anyone knows a way to create a mask transition between each loaded image. I fiddled around with it a bit, but can't seem to come up with anything, and I was wondering if it was even possible?

View 7 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

Professional :: Mask / Masking Using An Image With Transparent Bg?

May 30, 2010

Flash CS4 AS2 Okay -I have a flash movie, and I want to apply a mask to it.  The mask I want to apply, or rather, the "shape" of the mask I want to apply is an external image that was made in photoshop.  The shape is an irregular one with a bunch of jagged edges.  the shape itself is solid, with a transparent background.  I've tried saving it as a PNG with transparent b/g, and I've tried importing the PSD file directly into Flash - however  - when I go to use this shape for a mask, the mask that is applied is an entire rectangle bounding the imported image - rather than along the edges.Hopefully you can see what I'm trying to do here, and perhaps offer some insight on how I can get this image into flash (let's stick with the idea that the jagged edged manner of the image is too difficult to recreate inside of flash).

View 13 Replies

Professional :: Mask Ignored When Exporting To Image Sequence?

Mar 23, 2011

I am working on an animation with two masks, which plays in Flash as expected, an exported SWF is ok, an exported Quicktime is ok, except for the dreaded ghosting which renders it useless, but when I export it as an image sequence (gif, png or jpg), one of the masks is consistently ignored, while the other one masks as expected. This already shows when I export one single frame as an image. As a result, I currently have no way to create a quicktime movie for this animation (running CS4 on OSX 10.6.5)

Any other way to arrive at a quicktime movie?

View 1 Replies

Web Development :: Image Mask Not Following Movie Animation

Jun 3, 2011

I'm putting a mask on an image that is being animated around the stage which works fine, but when i change the mask using as3 the mask stops following the image and stays in one place.. while the image moves around the stage... is there a way to force the mask to stick on the image?

[Code]...

View 2 Replies







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