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
    import flash.display.*;
3
    import flash.events.*;
4
    public class FlashTest extends Sprite {
5
        private var w:int=465;
6
        private var h:int=465;
7
        private var hh:int=250;
8
        private var xoff:Number=465/2;
9
        private var yoff:Number=465/2;
10
        private var w_c:int=465;
11
        private var h_c:int=465;
12
        private var n:int=64;
13
        private var eps:Number=Math.pow(10,-13);
14
        private var thi:Number=Math.PI/(n+1);
15
        private var th:Number=thi;
16
        private var hn:Number=360/(2*n+1);
17
        private var yx0:Number;
18
        private var yx1:Number;
19
 
20
        private var hi:Number;
21
        private var ho:Number;
22
        private var f:Number;
23
        private var p:Number;
24
        private var q:Number;
25
        private var t:Number;
26
        private var re:Number;
27
        
28
        public function FlashTest() {
29
            var stg:Sprite=new Sprite();
30
            addChild(stg);
31
            with(stg.graphics){
32
                lineStyle(1,0x000000,1);
33
                moveTo(xoff-w_c/2,yoff+0);
34
                lineTo(xoff+w_c/2,yoff+0);
35
                moveTo(xoff+0,yoff-h_c/2);
36
                lineTo(xoff+0,yoff+h_c/2);
37
            }
38
 
39
            for(var i:int=0;i<2*n+1;i++){
40
                if((th<Math.PI/2-eps || th>Math.PI/2+eps) && (th<Math.PI-eps || th>Math.PI+eps) && (th<3*Math.PI/2-eps || th>3*Math.PI/2+eps)){
41
                    stg.graphics.lineStyle(1,hsv_rgb(hn*i,255,255),1);
42
                    yx0=-Math.tan(th)*w/2+h_f(th);
43
                    yx1=Math.tan(th)*w/2+h_f(th);
44
            
45
                    stg.graphics.moveTo(xoff-w/2,yoff+yx0);
46
                    stg.graphics.lineTo(xoff+w/2,yoff+yx1);
 

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