Monday, July 28, 2008

msconfig anti bloat?

msconfig

Adjust for any additional unneeded services. Windows Vista Services.

With the default Category Control Panel:

  1. Head to Start
  2. Select Control Panel
  3. Select System and Maintenance
  4. Select Administrative Tools
  5. Select Services
  6. Select a service to adjust by double-clicking
  7. In the General tab, Startup type section, select Automatic (Delayed Start), Automatic, Manual or Disabled.

If you like, you can also do: Start --> All Programs --> Accessories --> Run --> type in services.msc --> Select OK.

After configuring all services that you desire to change, reboot to see the effects of your tweaking.

Labels: ,

Wednesday, January 23, 2008

fade

onClipEvent(load) {
this._alpha = 0;
this.dir = -1;
this.speed = 10; // the value used to modify the speed of the fade
}
onClipEvent(enterFrame) {
if (this._alpha <= 0) {
this._alpha = 0; // if the alpha value had gone negative, reset it to zero
this.dir *= -1;
}
if (this._alpha >= 100) {
this._alpha = 100; // similarly if it had exceeded 100 reset it to 100
this.dir *= 0;
}
this._alpha += this.speed * this.dir;
}

Labels: , , ,

Monday, January 21, 2008

flash buttons issue

disableder..

_root.myButton.enabled = false;


embedding flash
http://blog.deconcept.com/swfobject/

infinate menu
http://www.kirupa.com/developer/mx/infinite.htm

Labels: , , ,

Friday, January 18, 2008

flash drag code

snow
amount = 300;
mWidth = Stage.width;
mHeight = Stage.height;
for (var i = 0; ithisFlake = this.attachMovie("flake", "flake"+i, i);
with (thisFlake) {
_x = Math.random()*mWidth;
_y = Math.random()*mHeight;
_xscale = _yscale=_alpha=40+Math.random()*60;
}
thisFlake.yspeed = Math.random()*5+.5;
thisFlake.increment = -0.035+Math.random()*0.07;
thisFlake.radian = 0; //declare for actionscript 2.0
thisFlake.onEnterFrame = function() {
this.radians += this.increment;
//trace(this.radians);
this._x += Math.sin(this.radians);
this._y += this.yspeed;
if (this._y>=mHeight) {
this._y = -10;
this._x = -10+Math.random()*mWidth;
}
if (this._x>=mWidth || this._x<=0) {
this._y = -10;
this._x = -10+Math.random()*mWidth;
}
};
}


begin drag drop

dragMovie = new Object();
dragMovie.onMouseDown = function() {
if(movie.hitTest(_root._xmouse, _root._ymouse)) {
movie.startDrag();
}
};
Mouse.addListener(dragMovie);
dropMovie = new Object();
dropMovie.onMouseUp = function() {
movie.stopDrag();
};
Mouse.addListener(dropMovie);

drag droppy advanced

http://flash-forum.flashdevils.com/showthread.php?threadid=188583/MovieClip.dropOnTargets()%20prototype.html

effects
http://www.kirupa.com/forum/forumdisplay.php?f=51

Labels: , , ,

Monday, October 22, 2007

go Cubic

niffy software for creating panoramas

http://www.panoguide.com/howto/display/gocubic.jsp

Labels: , , ,

Thursday, July 26, 2007

mySQL anti injection

nice sinppet

$name_evil = mysql_real_escape_string($name_evil);

Labels: , , , , ,

Wednesday, July 25, 2007

mySQL