This is a blog about Flash by betaruce :-)

Calendar

August 2005
M T W T F S S
« Jul   Sep »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31  

August 30, 2005

Edge Detection with Flash 8 Convolution Filter

Filed under: My Flash Programs — betaruce @ 11:43 pm

Since everyone is trying this out, of course I need to try that myself 8) and here we go:

Edge Detection in my Flash 8 Experiments page

edge

Snows will accumulate on the car :) Click to see what the Convolution filter does to the picture to detect edges.

• • •

PlasmaFractal + PixelDissolve

Filed under: My Flash Programs — betaruce @ 7:27 pm

Just renovate my old piece of code - Plasma Fractal - with the new pixelDissolve method of the BitmapData class.

Just sit and enjoy the fractal :) It will change itself and the transition is done by pixelDissolve.

Note: It is a bit CPU intensive ;)

Click here and choose Plasma Fractal with PixelDissolve

• • •

Old piece of code in new Flash

Filed under: Using Flash — betaruce @ 1:26 am

When I tried some AS codes from my previous works today in Flash 8, it didn’t work properly but it did work fine before. Finally I find out the problem pertains to variable declaration.

In previous version of Flash and Flash player 6, the following code is valid:

var t;
t+=10;
trace(t);
// Output: 10

However, it won’t work since Flash MX 2004 or Flash Player 7.
Therefore the code need a simple modification:

var t=0;
t+=10;
trace(t);
// Output: 10

I think most people know about the stricter rule of variable declaration now in Flash. So be careful when you want to publish your old codes with new Flash.

• • •
Powered by: WordPress • Template by: Priss