30
readers helped!

This helped me

How to Program in Flash (Basic Actionscript 2.0)

Adobe Flash is an awesome program that creates movies, games, presentations, and almost anything else. It combines a paint program, a movie editor, and a programming language to make a great program. "Where do I start?", you ask. Well, you came to the right place.

Support for Adobe Flash ends in December 2020. After that time, it will no longer be possible to use Flash.

Steps

  1. Anything at or above Flash 7 (Not CS7, just 7; all CS Flash versions should work) should be able to handle what we will cover here.
  2. A programming language is an intermediate language between humans ("Hey, what's up") and computers (10111010001000x101110001110). Let's say you met someone who didn't speak English, and spoke Spanish. If you both knew French, you can communicate, just not the way you naturally would.
  3. ActionScript is the programming language for Flash. ActionScript 1 is outdated and ActionScript 3 is too complex for a short wikiHow article.
  4. Open a new project in Flash, making sure it's ActionScript 2. Using the drawing tools, draw a simple button on the screen. Highlight it with the mouse (the selection tool), right click, and click "Convert to Symbol". You can also press F8 with the button selected.
  5. Just set the type as button and click OK for now. Note that it pops up in the Library.
  6. In the timeline, use Insert Keyframe to put in a little box in the rows labeled Up, Over, Down, and Hit. You can mess with these on your own time, just make sure there is a button in up and hit, at minimum. On the top of the stage, click Scene 1 to return.
  7. on the middle. This isn't really important and is only for reference. You can put anything on the second frame.
  8. With the first frame selected, press F9 or right-click, and click Actions. In the window that appears, type "stop();" without the quotation marks. When this runs, the movie will stop on the first frame (to avoid bugs in the future you may want to do this to Frame 2 as well).
  9. Type in: on (release) {    gotoAndStop(2);}This tells Flash when your mouse button releases over the button, you want the timeline to go to Frame 2 ("YAY!") and stop there, if you didn't type that in for Frame 2. You can also use gotoAndPlay to trigger an animation, but that's more advanced.
  10. Click the button.
    Advertisement

Community Q&A

Search
Add New Question
  • Question
    Does Flash software have a spell checker?
    Rebecca Perez
    Rebecca Perez
    Community Answer
    No, the Flash software doesn't include a spell checker.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit

Advertisement

Video

Tips

  • There are innumerable YouTube tutorials to get you started, and probably some great books at your local bookstore.
  • Keep it sweet and simple. Programming is only half of Flash, and that's why some people prefer ActionScript 2. ActionScript 3 is a bit more complex.
  • Work your way up from impossible quizzes to first-person shooters to get yourself going. You'll learn a lot on the way.
Advertisement

Warnings

  • This can get very confusing. Walk before you run, and always save/backup your work, especially when you're new and might not be able to figure it out again.
Advertisement

Things You'll Need

  • Adobe Flash (Version 7+, it may be Macromedia if it's really old)
  • A basic understanding of programming languages

You Might Also Like

Add a New Post in WordPressAdd a New Post in WordPress
Store and Read Documents on an iPhoneStore and Read Documents on an iPhone
Advertisement
Lock the Gallery on Samsung GalaxyLock the Gallery on Samsung Galaxy
Tell Who Has Viewed Your Instagram Story on AndroidTell Who Has Viewed Your Instagram Story on Android
Install Adobe Creative Suite 5Install Adobe Creative Suite 5
Bump a Post on FacebookBump a Post on Facebook
Download Images from Google on PC or MacDownload Images from Google on PC or Mac
Get More Effects on Tik Tok3 Ways to Get More Effects on TikTok
Use Samsung PayUse Samsung Pay
Use PayPal to Transfer MoneyUse PayPal to Transfer Money
Download a Torrent With AndroidDownload a Torrent With Android
Use Utorrent on an AndroidUse Utorrent on an Android
Turn Off Notifications on PC or MacTurn Off Notifications on PC or Mac
Use Facebook Messenger BotsUse Facebook Messenger Bots
Advertisement

About this article

wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 13 people, some anonymous, worked to edit and improve it over time. This article has been viewed 150,464 times.
How helpful is this?
Co-authors: 13
Updated: April 29, 2023
Views: 150,464
Thanks to all authors for creating a page that has been read 150,464 times.

Is this article up to date?

Advertisement