please install the latest flashplayer
Spectrum Meter »
« SoundSpectrum
back

I’ve created these flags for the WM2006 in germany. They are computed by perlinNoised displacement- bitmap.

source

old9 wrote...

Awesome!!

Charles wrote...

very nice shading

sharon k israel wrote...

great work.
i realy apreciate so many things on your site
thank you for sharing this source and being an example for us flashin` peaple..
:)

toFlash wrote...

Hi! I can’t do it by static right ((
//– reduce perlinNoise on the left side
perlinNoiseBitmapData.copyPixels( perlinNoiseFallOff, bounds, ORIGIN, perlinNoiseFallOff, ORIGIN, true );
wat can i do for animated flag whith static right side ? Heelp ))(

stitch wrote...

That effect is really cool!

KD wrote...

Hi aM,

I’m new to AS and Flash. I’m trying to learn some from various .as source files. I encountered this work of yours and got fascinated.
I’m trying to adapt your source file so it will work with my own flag but can’t seem to find where is the flag graphic data.
Can you help?

Thx, KD

guya wrote...

Again, beautiful stuff,
thanx
:)

Melanie wrote...

Is there a way to turn off the shadowing within the flag?

You have such AMAZING WORK!!!!!!!!! I greatly appreciate your source files! You are such an inspiration to me!

name peri wrote...

Great Job, echt klasse.
Beim Versuch mit PNG zu arbeiten habe ich festgestellt, dass die transparenzen nicht übernommen werden.
Gibts da nen weg das zu tricksen?

Nick wrote...

Awesome effect! A masterpiece!

Onur ARICAN wrote...

Great work. Thank you very much for the source code.

شات wrote...

good job

Dennis Rutjes wrote...

Looks Realy cool,

But i have trouble implementing it in flex 3 :-(

No gradients om movie clip etc.

What is the proper usage of the Delegate, can yoy give an example: I tried this very messy

var datasource:BitmapData = Bitmap(source.content).bitmapData;
dataTargetBitMap = Bitmap(datasource);

ioFlag = new WavingFlag(datasource,datasource);

var loClip :MovieClip = new MovieClip();
EnterFrame.initialize(loClip);
var loFrame:EnterFrame = EnterFrame.getInstance();
loFrame.addListener(ioFlag);
addChild(dataTargetBitMap);
addChildAt(dataTargetBitMap,100);
dataTargetBitMap.x=77;
dataTargetBitMap.y=10;
dataTargetBitMap.visible=true;

loClip.play();

but nothing showed can you help?

thanks in advance

Regards Dennis

Dennis Rutjes wrote...

Got this finally working in flex 3, thanks for de code

used a timer instead of movieclip.

betclic wrote...

thanks for sharing Dude; very usefull !

James D wrote...

I’m trying to use this effect on my own flag bitmap, but how do I make the effect work on a larger image? When I swap out the jpg image the effect crops out my image to the size of the original jpg.

Bwin wrote...

Very good sharing thanks…

aM-ll wrote...

but how do I make the effect work on a larger image? When I swap out the jpg image the effect crops out my image to the size of the original jpg.

CoolGuy wrote...

@aM-II: Just modify this line of code:
var output: BitmapData = new BitmapData( 128, 96, true, 0 );

Instead of “128, 96″ use the size you prefer.
Then you can use this effect for lager images, too.

The dimensions, specified in this line of code, are the boders for the animated output.

Adrian vela wrote...

how can u make the flag bigger can u tellme ?? i outa now

شات wrote...

perlinNoiseBitmapData.copyPixel

nameeag wrote...

thanks a lot

banjo drill wrote...

This is great! Thanks for sharing. Having one little problem: when I load my flag.swf into another Flash movie, all the text in my main movie gets all pixely and jagged. Anyone have any ideas?

Cheers.

منتديات wrote...

all the text in my main movie gets all pixely and jagged. Anyone have any ideas?

but how do I make the effect work on a larger image? When I swap out the jpg image the effect crops out my image to the size of the original jpg.

Doruk Eker wrote...

Hello,

If you see a thing grey line at the top of your flag try to change to reduce the dimensions of the bitmep you are creating. Make it just couple of pixels smaller than the actual image. It spoils the flag movement on the sides. But if you do not need to show the sides it saves the day.

Best,

Doruk

Oscar wrote...

FlashBlock Rules hah

Juno wrote...

Holy shit!!
this is crazy!!

Leave a Comment