A PHP Error was encountered

Severity: Notice

Message: Undefined index: HTTP_ACCEPT_LANGUAGE

Filename: controllers/item.php

Line Number: 25

A PHP Error was encountered

Severity: Notice

Message: Undefined index: HTTP_ACCEPT_LANGUAGE

Filename: controllers/item.php

Line Number: 1114

EffectHub.com: your best source for gaming
Recommendation
More Effects...
ActionScript
1
package {
2
  //forked from http://wonderfl.net/c/sM3y/
3
    import flash.display.Sprite;
4
    import flash.display.Bitmap;
5
    import flash.display.BitmapData;
6
    import flash.events.Event;
7
    import flash.filters.GlowFilter;
8
    import flash.filters.BlurFilter;
9
    import flash.display.BlendMode;
10
    import flash.geom.ColorTransform;
11
    [SWF(width = "900", height = "900", backgroundColor = "0x000000", frameRate = "30")]
12
    public class FlashTest extends Sprite {
13
            public var layer:Array = new Array();
14
        public function FlashTest() {
15
                layer[0] = new Bitmap(new BitmapData(stage.stageWidth, stage.stageHeight, true, 0x00000000));
16
            layer[0].filters = [new BlurFilter(2,2,1)]
17
            layer[1] = new Sprite();
18
            layer[1].filters = [new BlurFilter(2,2,1), new GlowFilter(0x4411ff, 1, 32, 32, 8, 3)]
19
            addChild(layer[0]);
20
            addChild(layer[1]);
21
                addEventListener(Event.ENTER_FRAME, loop);
22
        }
23
        public function loop(e:Event):void{
24
                lightning(layer[1]);
25
                var cash:BitmapData = new BitmapData(stage.stageWidth, stage.stageHeight, true, 0x00000000);
26
                cash.draw(this, null, new ColorTransform(1,1,1,0.9), BlendMode.ADD);
27
               layer[0].bitmapData = cash;
28
        }
29
        public function lightning(tg:Sprite):void{
30
                var xx:Number = mouseX;
31
                var yy:Number = mouseY;
32
                var th:Number = random(2) +1
33
                tg.graphics.clear();
34
                tg.graphics.moveTo(xx, yy);
35
                while(yy < stage.stageHeight){
36
                    xx += random(20) * (random(2)*2 -1);
37
                    yy += random(30) + 4    ;
38
                    tg.graphics.lineStyle(th,0xffffff,1);
39
                    tg.graphics.lineTo(xx,yy);
40
                }
41
        }
 

Join Effecthub.com

Working with Global Gaming Artists and Developers!


Or Sign Up with Your Email Address:
This field must contain a valid email
Password should be at least 1 character