1.: Open new flash document
2.: press F9 (it's on your keyboard)
and enter this code:
import flash.display.BitmapData
a_bmp = new BitmapData
(Stage.width,Stage.height,false,0);
b_bmp = new BitmapData
(Stage.width,Stage.height,false,0);
this.createEmptyMovieClip("a_mc",1)
this.createEmptyMovieClip("b_mc",2)
a_mc.attachBitmap(a_bmp,0);
b_mc.attachBitmap(b_bmp,0);
-close window
3.: pick Rectangle tool (or press "r")
4.: draw rectangle (any one, and color)
5.: pick Selection tool (or press "v")
6.: select a hole rectangle
7.: now press F8 (it's on your keyboard)
and write on name: ANYTHING!!!!11!11!!1!!!1
for type pick: Movie clip
and press OK
8.: press on rectangle (once please)
now press on F9 (on your keyboard)
and enter this code:
onClipEvent(enterFrame) {
import flash.geom.Matrix
import flash.filters.BlurFilter
m = new Matrix()
z = 1.09
m.scale(z, z)
m.translate((Stage.width-Stage.width*z)
/2,(Stage.height-Stage.height*z)/2)
_root.b_bmp.draw(_root.a_mc, m)
_root.a_bmp.draw(_root.b_mc)
if (!counter) counter = 0
counter++
for (y=-10; y<10; y++) {
for (x=-30; x<30; x++) {
_root.a_bmp.setPixel
(Stage.width/2+x+Math.random(),
Stage.height/2+y+Math.random(),
counter*(x*y+30*10+counter*100))
}
}
}
3.: pick Rectangle tool (or press "r")
4.: draw rectangle (any one, and color)
5.: pick Selection tool (or press "v")
6.: select a hole rectangle
7.: now press F8 (it's on your keyboard)
and write on name: ANYTHING!!!!11!11!!1!!!1
for type pick: Movie clip
and press OK
8.: press on rectangle (once please)
now press on F9 (on your keyboard)
and enter this code:
onClipEvent(enterFrame) {
import flash.geom.Matrix
import flash.filters.BlurFilter
m = new Matrix()
z = 1.09
m.scale(z, z)
m.translate((Stage.width-Stage.width*z)
/2,(Stage.height-Stage.height*z)/2)
_root.b_bmp.draw(_root.a_mc, m)
_root.a_bmp.draw(_root.b_mc)
if (!counter) counter = 0
counter++
for (y=-10; y<10; y++) {
for (x=-30; x<30; x++) {
_root.a_bmp.setPixel
(Stage.width/2+x+Math.random(),
Stage.height/2+y+Math.random(),
counter*(x*y+30*10+counter*100))
}
}
}
you are done (press Ctrl+enter to see your stupid animation)