ActionScript 3.0 :: Make A Cool Water Effect Using Bitmap Data And A Displacement Filter?
Jun 9, 2009
I found a tutorial on how to make a cool water effect in as3 using bitmap data and a displacement filter. It works great but it is very heavy on the computer.
here is my code
Code:
var bmd:BitmapData = new BitmapData(700, 398);
var dmf:DisplacementMapFilter = new DisplacementMapFilter(bmd, new Point(0,0), 1, 2, 10, 30);
var p1:Point = new Point(0, 0);
var p2:Point = new Point(0, 0);
Can anyone tell me how to make a cool water ripple effect? I saw one that I loved on URL... (you'll see it on both the intro and the contact page).Does anyone know how to do that?
I've posted this in the AS2 section as well. Just wondering if someone can tell me how to make this awesome water ripple effect, found on this page: [URL] I want it so bad and am nearly going to pay the $3 for it. But thought someone might know how to do it for free ..
I am trying to make a text effect where the colours fill up inside the logo lettering as if water was being poured in. Is there a way of doing this either by Actionscript or some form of advanced masking perhaps?
I'm trying to use the displacement filter with a jpeg image instead of a gradient map. My images are: 1) Background: men2.jpg 2) Map image: men2BN.jpg (same as above, but grayscale and blurred) 3) The image to be displaced: star5_mc
I'm using a DisplacementMapFilter to created a globe-like effect on a flat map. My problem is, I also want to sync some labels to this map. I have the x/y coordinates for their locations on the flat map, but I need to map them to the now-displaced image.
I would like to be able to do this using the BitmapData that contains the displacement map, so that changing the Bitmap changes both the displacement filter and the label locations. Also, the labels will not be static, and accuracy is fairly important.
i got this script from this tutorial. I tried to convert it from AS2 to AS3, but it seems like the displacement filter is only applied once for some reason. After that, the bitmap isn't updated.[code]
I looked at the following example in the AS3 Reference: [URL] It is unclear to me looking at the package example how to apply this in standard ActionScript 3 without packages to a Movie Clip resident in my Library that gets called at RunTime. how I would push the DropShadow filter onto my Movie Clip at RunTime?
I am trying create a displacement effect using this code, but i am getting these error, not able to solve it!import flash.display.BitmapData;
var damper = new flash.display.BitmapData(128, 128, false, 128); var result = new flash.display.BitmapData(128, 128, false, 128); var result2 = new flash.display.BitmapData(256, 256, false, 128);
I'm a bit stuck looking for a tutorial for a water effect I'm trying to create. Has anyone made a simple random fluid water-effect in Flash, to be applied to one background image?
There's plenty of ripples and rain drops - but my image is taken from within the water, and it would be great to get some animation in there!
i attach a image on what i must make..but i have like a blackout.. so i hoped u can inspire me for some cool effect?please if so help me also to the code? or at least a demo code so i can make me own?
i am working on a project in which i want to have the water ripple effect when i click the mouse where ever on the stage. so here is the problem i have created a file which produces the water ripple effect all across the stage randomly by using "flash.filters.DisplacementMapFilter " when playing the movie i want the ripples to appear on mouse down state and only one ripple not multiple ripples and exactly at the place where i click. now what i have done is i have put all the script i have in " mouseListener.onMouseDown = function() { " but what happens is the ripples appear when i click but not the whole movie clip for ripple is played its like i have to click fast after each other for the ripple to be continuous and full.what should i do?
what was done to create the cool effect at this site? [URL]..When the links on the left are rolled-over an image appears in a small window that follows the cursor. Very cool.
I was hoping to learn how to do that, myself, but can't figure it out. No need for a step-by-step tutorial, just a word or two to point me in the right direction.
I have the following code but it only works when published for flash 6 and I need it to work for flash 8.Ive tried to tweak it but cant get it to work.I think it would be best if I could make a function out of it - ie:call the function like:myTextbox.textEffect("this is some decoding text");My actionscript is coming along but Im still learning.
Code: myString = "this is some decoding text"; charDisplay = myString.length;
I'm using the following code to create a very cool rain effect. Problem is, I only want the rain to last about 10 seconds, then I'd like it to fade away. I can get the background to fade, but the raindrops still appear. How I can accomplish this?
Code: for (i = 0; i < 50; i++) { var newDrop = mcRaindrop.duplicateMovieClip ("mcRaindrop" + i, i); newDrop._x = random (350); newDrop._y = random (20); newDrop._xscale = random (100); [Code] .....
I was taking a look at this site [URL] and really liked the drag functionality to navigate. You can drag up down, left and right. I wanted to try and get the same effect. I would assume creating one big movieclip and adding the drag functionality to that. My concern is that it might not be optimized. Do you think I will need to load content on the fly? Or do you think I will be able to load everything in the initial load and keep it running from there? If there is a specific name for this effect?
i want to make flash file in which, when i click anywhere one water kind drop come from top to down and when it reach bottom it distribute in so many parts.after this one textbox will display and i am able to enter some text in that textbox.
I have tried for weeks and am wanting to create a water ripple effect when mousing over an image on my website. I have downloaded various files, but to no avail. Can someone assist me please, with where I can go to download an extension to allow me to do this? I am using Flash CS4.
I am trying to make a text effect where the colours fill up inside the logo lettering as if water was being poured in. Is there a way of doing this either by Actionscript or some form of advanced masking perhaps?[URL]