Flash Tutorial-ActionScript

Channel:
Subscribers:
727
Published on ● Video Link: https://www.youtube.com/watch?v=eTPvumj3whE



Duration: 0:00
13,900 views
34


Ok this one isnt much of a Great tutorial really,I havnt uploaded any videos in like almost 5 months now!\nThanks to all my Subscribers,fans and what-not I decided to make a Sudden comeback with this hopefully Helpful tutorial!\nIm glad to be back,up and Running!\n\nAnywho I treid my best to Explain ActionScript,I hope you get it for I tried my Best!\n\nIndex:\n\nExample Statement:\nonClipEvent(load){\n health=100\n lives=3\n score=0\n}\n(When the movie loads set my health to 100,lives to 3,and score to 0)\n\nAction List(Conditions)\n\nstop();(Put in Timeline Frame)\ngotoAndPlay(Frame here)\ngotoAndStop(frame here)\non(release)(when the left button on the Mouse is RELEASED,ON the buttton)\non(press)(When the Mouse button is PRESSED)\nonClipEvent(load)(When The movie loads)\nonClipEvent(enterFrame)(Keep Checking if this happens)\nvarhere=100(Set Variable on Timeline)\nvar varhere=100(Same thing)\nvarhere-=100 (Subtracts the by 100 Variable)\nvarhere+=100 (Adds 100 to a Variable)\nvarhere == 100 (Set varaiable)\nif (Statement here)\n\nIf Statement Examples:(Note:If/Else statements were NOT explained in this video)\n\nonClipEvent(enterFrame){\n if (_root.coin == 50){\n var lives+=1\n }\n}\n\n(Keep checking and whenever variable coins adds up to equal EXACTLY 50,gain a live)\n\nIll explain more later.Good Luck! ^_^