Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Flash Tutorial-ActionScript

Loading...

Sign in or sign up now!
12,920
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 27, 2007

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

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 7 dislikes

Link to this comment:

Share to:

Uploader Comments (Staffmaster123)

  • i think your retarded and this helps nothing. your inability to explain the basics if dumbfounding. congratulations you've accomplished nothing. thanks for wasting my life.

  • Wasting you're life? I've obviuosly accomplished something. <3

  • Would you happen to know how to use action script for a side-scroller shooter game?

  • Id be Glad to Share that info, But I really dont Know. If i did though, I'd tell. You know That.

see all

All Comments (41)

Sign In or Sign Up now to post a comment!
  • @Ahmadkhanize so if you knew it was going to be a waste of time why did you watch it?

    Fail.

  • Oh, but (and this is just speculation, not criticism) on actually kinda means "when" "When you release button" onEnterFrame = function() "When Entering frame, perform the following" and stop(); stops the movie at the current frame (because if you didn't have that and you have multiple frames in your movie, it will run the movie without stopping at a frame you want it to stop at to perform actions) variables: var i = 10; var i:Number = new Number(10); i = 10; they all do the same thing.
  • MY EARS!! AAARGH!

    Nice tutorial, though.

  • aaaaaaa he using UNREGISTERED Hyper Cam 2, dont watch it !!! xD

  • Unfortunately time once lost can never be regained , you wasted my time....

  • poop?

    neopets?

    ? dude, this is a terrible video. You have to start with the basics. Your title is very misleading. You title should be like "kid copying and pasting what he saw somewhere in th

  • @guygie1994

    Is your homosexual father proud of you?

  • is your mom proud of  you?

Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more