How To Make a Flash Button

admin February 6, 2014

Interactive web pages and Rich Internet Applications (RIAs) are one of the best areas of Flash. Making these applications requires a moderate amount of ActionScript knowledge along with the know-how of making the User Interface. In this tutorial I am going to teach you how to make buttons in Flash since buttons are the most important feature of the user interface. This tutorial will only teach you how to design and implement an interactive button in flash, I would not touch the topic of ActionScript here.

Before I start, I want you to know that this tutorial requires some Flash knowledge. If you don’t yet know how to create a Flash website and are looking for a very easy way out of this Flash tutorial, you can make a free website with Wix with any Flash buttons you desire. If you still want to read this button tutorial, let me continue.

Since flash is optimized for making interactive applications so making a button in flash is a piece of cake. There is a built in method to implement a button. You can start by launch Adobe Flash and creating a new document. Now the first thing you need to do is to make the button symbol. Press the keyboard shortcut Ctrl+F8 .You will see dialogue box open up, here you can name your symbol and select the type of the symbol. You have to set the Type to Button and you can give any name to your button.

 

 

When you press OK, you will be taken to the button creation screen. Now take a close look at the timeline, you can see the labels “Up”, “Over”, “Down” and “Hit”. These four frames are the ones on which we will create our button.  Let me explain each of the frames now.

Up : This frame will contain the regular state of our button i.e. when the button is in idle state.

Over: This frame will contain the state of the button when the cursor is over the button.

Down: This frame will contain the state of the button while it is being pressed.

Hit: This frame is an invisible frame, it is used to define the clickable area on the button. Everything you draw on this frame becomes the clickable area but the contents of the frame are never visually displayed in the application.

Now, take a rectangle tool and draw a rectangle on each of the frames and change the color of the rectangle on every frame.

 

When you have made the first frame, press F6 to go to the next frame. The rectangle will get copied in the next frame and you can just change the color of the rectangle on this frame.

 

Do the same thing for the Down frame.

 

We have finished adding all the visual frames. Now we need to add the Hit frame . Anything we draw on this frame will not be visually visible in the application but it will become the clickable area of the button.

 

Now that you have completed the button, go back to your stage by pressing the “Scene 1” button on top of the drawing area.

 

Now, press “Ctrl+L” to open the library and drag your button from the library to the stage. Press “Ctrl+ENTER” and you can see your button in action.

Here is how the button will be in the idle state

 

When we hover the cursor over the button, it will change color.

 

Now when we click on the button, it will change color again.

 

You can click on the link below to see a working example of the button.

Click here to see the button in action

You can make changes to your button and see how it behaves under different conditions.

Making buttons is pretty easy and with a bit of practice, you will become an expert at this. You can create all sorts of buttons that interact with the users in different ways.

Keep in mind, if you are having trouble with Flash, I strongly recommend you check out a free drag and drop site builder from Wix.

 

Source: http://www.webdesigndev.com/flash/flash-button-tutorial

Like
Like Love Haha Wow Sad Angry

498 Responses

  1. spear lt

    … [Trackback]

    […] Find More on to that Topic: enthuons.com/how-to-make-a-flash-button/ […]

  2. Kayıt Ol

    At the beginning, I was still puzzled. Since I read your article, I have been very impressed. It has provided a lot of innovative ideas for my thesis related to gate.io. Thank u. But I still have some doubts, can you help me? Thanks.

  3. binance registro

    I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article.

  4. gate io ya para yatırma

    I am a website designer. Recently, I am designing a website template about gate.io. The boss’s requirements are very strange, which makes me very difficult. I have consulted many websites, and later I discovered your blog, which is the style I hope to need. thank you very much. Would you allow me to use your blog style as a reference? thank you!

  5. gate io brasil

    Do you mind if I quote a couple of your articles as long asI provide credit and sources back to your website?My blog site is in the very same niche as yours and my users would certainly benefit from some of the information you present here.Please let me know if this okay with you. Thanks!

  6. fryd cart

    … [Trackback]

    […] Read More here to that Topic: enthuons.com/how-to-make-a-flash-button/ […]

  7. nagaqq

    … [Trackback]

    […] There you will find 84859 additional Info on that Topic: enthuons.com/how-to-make-a-flash-button/ […]

  8. 20bet

    Your article gave me a lot of inspiration, I hope you can explain your point of view in more detail, because I have some doubts, thank you.

  9. Relx

    … [Trackback]

    […] Find More to that Topic: enthuons.com/how-to-make-a-flash-button/ […]

  10. PG

    … [Trackback]

    […] Find More to that Topic: enthuons.com/how-to-make-a-flash-button/ […]

  11. Rastrear Celular

    O que devo fazer se tiver dúvidas sobre meu parceiro, como monitorar o telefone celular do parceiro? Com a popularidade dos telefones inteligentes, agora existem maneiras mais convenientes. Por meio do software de monitoramento do telefone móvel, você pode tirar fotos remotamente, monitorar, gravar, fazer capturas de tela em tempo real, voz em tempo real e visualizar telas do telefone móvel.

Leave a Reply

Your email address will not be published. Required fields are marked *

GET IN TOUCH

  • B-9, 1st Floor, Sector-2, Noida, Uttar Pradesh 201301, India

  • (+91)9582545485

  • services@enthuons.com

  • Mon – Sat: 10:00 AM to 7:00 PM

arrow-down