Author: admin
• Tuesday, May 04th, 2010


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

Related posts:

  1. Tutorial flash 8:make a really car game simple this is my first tutorial of flash. Copy the...
  2. How to use variables with Adobe Flash ActionScript Creating and tracking data in ActionScript means using variables...
  3. Flash CS4 actionscript 3.0 Tutorial in this flash cs4 actionscript 3 tutorial we explore...
  4. Flash Multiplane Easing Effects Tutorial For CS3 + CS4 and ActionScript 3.0 Source File and Demo: www.developphp.com Learn Multiplane Easing Animation...
  5. FREE FLASH Cs4 Basics tutorial , actionscript 3 PLEASE READ convert the graphic you made into a...

Related posts brought to you by Yet Another Related Posts Plugin.

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

25 Responses

  1. 1
    Staffmaster123 
    Tuesday, 4. May 2010

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

  2. 2
    boredomltd 
    Tuesday, 4. May 2010

    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.

  3. 3
    FlashTutHelp 
    Tuesday, 4. May 2010

    lol 3:31 poop=10;

  4. 4
    Manifest222 
    Tuesday, 4. May 2010

    well in as3 you cant really get a _level0, they just dont use it.

  5. 5
    sunleoest 
    Tuesday, 4. May 2010

    In step 2,
    I think error happen becouse you forgot to put “;”

  6. 6
    Staffmaster123 
    Tuesday, 4. May 2010

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

  7. 7
    RafikiEarthPaw 
    Tuesday, 4. May 2010

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

  8. 8
    Piccleman 
    Tuesday, 4. May 2010

    Do you know if there’s a some sort of way to make it do something when you RELEASE a key? Ex: If you are holding the right arrow, and the guy is running, then letting go makes him stop?

  9. 9
    henslock8 
    Tuesday, 4. May 2010

    neopets ……. lol anyway very good

  10. 10
    Staffmaster123 
    Tuesday, 4. May 2010

    I dunno AS3 Then. Sorry.

  11. 11
    DeviloooCry 
    Tuesday, 4. May 2010

    AS3 means Actionscript 3

  12. 12
    DeviloooCry 
    Tuesday, 4. May 2010

    may i ask something , whats Insted of _level0 in AS3?

  13. 13
    acs118 
    Tuesday, 4. May 2010

    this is cool

  14. 14
    SpartanLB301 
    Tuesday, 4. May 2010

    one question. Let’s say your making a shooting game. how do you make it so your health goes down when you are getting shot if you don’t click on anything?

  15. 15
    PONGStudios 
    Tuesday, 4. May 2010

    Very helpful tutorial! Thanks a lot! I recently got Adobe Flash CS3, and I was wondering if you could do a tutorial for ActionScripit 3. It’s so confusing….

  16. 16
    Staffmaster123 
    Tuesday, 4. May 2010

    You dont have to use it on Buttons nor Movieclips, you can put it on the Timeline Frame.So, it can be set to everything in the Frame, specially the Variables.

  17. 17
    frysy712 
    Tuesday, 4. May 2010

    good vid. one question. is there a function to do the same thing with onClipEvent(load)
    {
    var money = 50
    }
    except use it on buttons and not movie clips? because i’m making a shooter game and the bad guys are buttons so when you click on them they die.

  18. 18
    Staffmaster123 
    Tuesday, 4. May 2010

    Its Simple,just make,oh say Variable “Deaths” +1,then return to the start of the frame.Look at the Vid. Description,it has an Index.
    ~Cron

  19. 19
    arhaisme 
    Tuesday, 4. May 2010

    did u ever played the word`s hardest game?if so how can i make when that square hits the circles that are moving the deaths number rise up?send me a messege as soon as posible

  20. 20
    Staffmaster123 
    Tuesday, 4. May 2010

    You mean,as in a Platformer Game,or the cursor itself?

  21. 21
    FDestinationFreak 
    Tuesday, 4. May 2010

    what`s the code if i wanna hit one circle to a wall ..so if u hit the wall flash will send u directly to frame 2 let`s say ..donm`t know if u understand me

  22. 22
    Staffmaster123 
    Tuesday, 4. May 2010

    *scrathes Head* Well i do try to fit alot of Info in my tutorials,most of it is visualist,specially the “Tower of Holy goodness Part” But I like to beleive its not ’bout what side it is.Tis’ ’bout the Learning.Hope you enjoyed my Vid.
    ~Cron

  23. 23
    dag7200 
    Tuesday, 4. May 2010

    well at first there was a hint of audio but then i saw how you called the “on clip event”
    thingie so now i know that you tilt toward the
    visualist side. you may have fitted alot of information in a video, but only half of it could really be concieved.

  24. 24
    lolrammiz 
    Tuesday, 4. May 2010

    Nice tutorial.. you should make the game tutorial ;)

  25. 25
    guidewired 
    Tuesday, 4. May 2010

    no….fair enough….I’m kinda curious about the world of people trying teach each other things with out being….”pro” teachers

Leave a Reply

Anti-Spam Protection by WP-SpamFree