Flash Tutorial-ActionScript

Pubblicato il: 27 agosto 2007
sul canale di: Cronnicossy
13,897
34

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! ^_^


In questa pagina del sito puoi guardare il video online Flash Tutorial-ActionScript della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Cronnicossy 27 agosto 2007, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 13,897 volte e gli è piaciuto 34 spettatori. Buona visione!