skip to main | skip to sidebar
webdrop műhely

2009. február 17., kedd

Actionscript 3.0 - Függvény

function changeCircle(alphaNum:Number):void
{
circle_mc.alpha = alphaNum;
}

changeCircle(.3);

function addNumbers(num1:Number,num2:Number):Number
{
var resultNum:Number = num1 + num2;
return resultNum;
}

trace(addNumbers(2,3));
Bejegyezte: YoRkE dátum: 5:37
Címkék: actionscript_3.0

Nincsenek megjegyzések:

Megjegyzés küldése

Újabb bejegyzés Régebbi bejegyzés Főoldal
Feliratkozás: Megjegyzések küldése (Atom)

Blogarchívum

  • ▼  2009 (26)
    • ▼  február (26)
      • PHP: Tömbök
      • PHP: Számok
      • Actionscript 3.0 - Video
      • Actionscript 3.0 - Fruit class
      • Actionscript 3.0 - MatchingGame class
      • Actionscript 3.0 - ButtonApp class
      • Actionscript 3.0 - Button class
      • Actionscript 3.0 - MoveSmiley 3
      • Actionscript 3.0 - Easing
      • Actionscript 3.0 - Tween
      • Actionscript 3.0 - Interactive-animation
      • Actionscript 3.0 - Destionation-animation
      • Actionscript 3.0 - Timer
      • Actionscript 3.0 - EnterFrame
      • Actionscript 3.0 - For ciklus
      • Actionscript 3.0 - While, Do-While
      • Actionscript 3.0 - Tömbök
      • Actionscript 3.0 - AimTarget
      • Actionscript 3.0 - AimTarget
      • Actionscript 3.0 - MoveSmiley 2
      • Actionscript 3.0 - MoveSmiley
      • Actionscript 3.0 - KeyboardEvent
      • Actionscript 3.0 - Eventlistener 2
      • Actionscript 3.0 - Eventlistener
      • Actionscript 3.0 - Függvény
      • Actionscript 3.0 - Alapok
  • ►  2008 (3)
    • ►  június (3)

Magamról

YoRkE
Teljes profil megtekintése