Ok this one isnt much of a Great tutorial really,I havnt uploaded any videos in like almost 5 months now!
Thanks to all my Subscribers,fans and what-not I decided to make a Sudden comeback with this hopefully Helpful tutorial!
Im glad to be back,up and Running!
Anywho I treid my best to Explain ActionScript,I hope you get it for I tried my Best!
Index:
Example Statement:
onClipEvent(load){
health=100
lives=3
score=0
}
(When the movie loads set my health to 100,lives to 3,and score to 0)
Action List(Conditions)
stop();(Put in Timeline Frame)
gotoAndPlay(Frame here)
gotoAndStop(frame here)
on(release)(when the left button on the Mouse is RELEASED,ON the buttton)
on(press)(When the Mouse button is PRESSED)
onClipEvent(load)(When The movie loads)
onClipEvent(enterFrame)(Keep Checking if this happens)
varhere=100(Set Variable on Timeline)
var varhere=100(Same thing)
varhere-=100 (Subtracts the by 100 Variable)
varhere+=100 (Adds 100 to a Variable)
varhere == 100 (Set varaiable)
if (Statement here)
If Statement Examples:(Note:If/Else statements were NOT explained in this video)
onClipEvent(enterFrame){
if (_root.coin == 50){
var lives+=1
}
}
(Keep checking and whenever variable coins adds up to equal EXACTLY 50,gain a live)
Ill explain more later.Good Luck! ^_^
Sur cette page du site, vous pouvez voir la vidéo en ligne Flash Tutorial-ActionScript durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Cronnicossy 27 août 2007, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 13,897 fois et il a aimé 34 téléspectateurs. Bon visionnage!