SlideShare a Scribd company logo
http://www.webwasp.co.uk/tutorials/a05-buttons/images/mx/buttons-mx.php


                                                                              Tutorials • Downloads • Newsletter • Bulletin Board • Contact Us
          Free Flash Tutorials

          Members • Business • Web Design • Home •
                                                                                                                                           Search




          100 Flash Tutorials                              360-Degree Mouse Button                         Create Animated Tutorials
          Experts Show You How: Instructional Training     for cellphones, PDAs, MP3 players MicroNav by   Record your PC and create animated Flash
          Videos, Tips and Shortcuts                       Interlink Electronics                           tutorials with voice/audio.
          LearnFlash.com                                   www.micronavlink.com                            www.DemoCharge.com




         Flash Tutorial - Creating simple buttons
         005   Beginners
                          MX
         Flash Compatibility:                      For   Flash MX 2004 click here
         Written by: Phil
         Length: 1200

         This tutorial is designed for people who have little Experience of using Flash. The aim of the tutorial is to be able to
         create your own buttons, how to Align objects to the stage and create layers.

         States of the button

         The button can change it's appearance according to what 'state' it is in. There are four states: Up, Over, Down and Hit.

         1.   Up: Is when the mouse pointer is not over the button.
         2.   Over: Is when the mouse pointer is over the button.
         3.   Down: Is when the mouse pointer is over the button and the mouse button is down.
         4.   Hit: Is an invisible area of the screen. This area defines when the mouse pointer is 'over' the button or not.

         Roll your mouse over the button below and click to see the Up, Over and Down states. You can't see the Hit area as it
         is invisible. The button has no actions so does not do anything.

              My Example: Download the Flash File Beg 005a




         Step one: Setting up the Document

              1. Set the size of the Flash Movie: Modify > Document
                 The movie above is: 200 x 130px

                         Note: You can either have a Flash movie which contains a number of buttons or you can have a
                         Flash movie that is a single button and no more.



Flash Tutorial: Simple Buttons - webwasp.co.uk                                                                                                        1 of 5
http://www.webwasp.co.uk/tutorials/a05-buttons/images/mx/buttons-mx.php




                       A Flash movie with several buttons. File size: 400 x130px




                       A Flash movie which is a single button. File size: 105 x31px



         Step two: Creating the button symbol

         To create a button you need to have a symbol.

            1.   Go to Insert > New Symbols (or hit CTRL+F8 on your keyboard).
            2.   The "Symbols Properties" dialogue box will open. Select button.
            3.   Name it button 1 and select 'button' as the behavior.
            4.   Click OK.




         You will go to a new stage, called button 1. In this stage, you will have four frames:




         Frame   1 - Up
         Frame   2 - Over
         Frame   3 - Down
         Frame   4 - Hit



         Step three: Creating the up state


            1. Double click on the layer label           and name the layer 'background'.
            2. In the background layer, frame 1 'Up', draw a rectangle shape with the rectangle tool:
               When you have finished drawing your rectangle, make sure you go back to the Arrow tool , otherwise you will
               draw more rectangles by mistake.
            3. With the Arrow tool , single click on the rectangle fill and select any colour you may want with the Fill Color tool:


            4. You need to align your rectangle to the centre of the stage using the Align panel. Go to Window > Align.
            5. Double click on the coloured fill of the rectangle. This should select both the fill and the stroke (outline).



                 Fill and stroke highlighted: Both are dotty!
                 Warning: If the fill and stroke are not both highlighted you will only move part of your rectangle. Often the
                 stroke will get left behind, even if the stroke is white, and cannot be seen, be careful not do to do this, as this




Flash Tutorial: Simple Buttons - webwasp.co.uk                                                                                         2 of 5
http://www.webwasp.co.uk/tutorials/a05-buttons/images/mx/buttons-mx.php


                'debris' may cause problems latter.

            6. In the Align panel click the 'To Stage' button:
            7. With the rectangle selected click on the Align Vertical centre button:
            8. Click on the Align Horizontal centre button:
            9. Click on the insert layer button     to create a new layer and name it 'text'.
           10. In the up frame (frame 1)of the Text Layer use the Text tool      to type 'Click Here' (or whatever else else you
               might want your button to say).
           11. The text must be set to Static. To check this open the Property panel: Window > Properties.
               With the text still selected the panel should say:                 . If it does not, use the drop down arrow to select
               static text.
           12. Select your text with the Arrow tool:
           13. In the Align panel the 'To Stage' button     should still be selected (it will be white, not gray, see picture below).
           14. Click on the Align Vertical centre button:
           15. Click on the Align Horizontal centre button:




         Step four: The over state

            1. Right click in the 'over' frame in the 'text' layer and select: Insert Keyframe
               You will notice the play head has moved to the 'over' frame and your text from frame 1 is copied to the over
               frame.
            2. Change the text to bold by going to Text > Style > Bold.
            3. You may need to align the text centre of the stage again.
            4. Right click in the 'over' frame in the 'background' layer and select Insert Keyframe.
            5. Change the rectangle to another colour by single clicking the fill colour of the rectangle (only the fill will be dotty).
                Select a colour by clicking on the Fill Color tool:



         Step five: The down state

         Do the same as step three by:

            1. Inserting new Keyframes in the Down frames of both layers.




Flash Tutorial: Simple Buttons - webwasp.co.uk                                                                                             3 of 5
http://www.webwasp.co.uk/tutorials/a05-buttons/images/mx/buttons-mx.php


               Your timeline should look like this: Note the keyframes - black dots.
            2. • Change the colour of the rectangle and/or...
               • Change the colour or the look of the text.



         Step six: Placing the button on the main stage:

            1. Click on the Scene 1 Tab          . You will return to the main stage, which should be empty. Don't panic you
               haven't lost your symbol.
            2. Click on Window > Library. Your symbol will be in the library.
            3. Drag your symbol onto the main stage.



         Step seven: Actions

         You now have a new button which you will need to add actions to so that it does something. See previous tutorial for
         details of how to do this: Simple Links



         The hit state

         The hit area is normally the same as the rectangle. You do not need to create this unless the hit area is different to the
         original rectangle you created on frame one.

         Note: If your button does not have a solid background (in this case a rectangle) but only text, you will have to create a
         rectangle (or other solid shape), in the hit area frame. Otherwise when the mouse pointer goes over the gaps between
         the letters, the button will go back to frame one: The over state.
         Very slowly move the mouse over button 1 below and you will see the problem.

            My Example 2: Download the Flash File: Beg 005b




         Move the mouse slowly over the Buttons to see the difference.

         Button 1 is not stable and moves between states with small movements of the mouse.

         Button 2 is stable. Button 2 has a rectangle in the 'Hit' frame. This is not visible in the movie, but controls the 'Up', 'Over'
         and 'Down' states.

         If you are having difficulty understanding this, download the movie and look inside the symbol at the Hit Frame. To look
         inside the symbol double click it on stage.

         Have fun with your buttons, make them wild and wonderful!



         If you have not found this tutorial useful, help us improve by telling us why: Forum

         previous tutorial                                                                                            next tutorial


                                                                                              • 10295 visitors to this page since Jan 04

                                                      • Home • Tutorials • Downloads • Newsletters • Bulletin Board • Contact Us •
           • Members • Business • Web Design • Other • Top of Page •




Flash Tutorial: Simple Buttons - webwasp.co.uk                                                                                              4 of 5
http://www.webwasp.co.uk/tutorials/a05-buttons/images/mx/buttons-mx.php


          All material on this site is protected under international copyright © law. DO NOT reproduce any material from this site without written permission. Please
                                                                        ask as permission is often granted.




Flash Tutorial: Simple Buttons - webwasp.co.uk                                                                                                                          5 of 5

More Related Content

What's hot

M5 - Graphic Animation - Buttons
M5 - Graphic Animation - ButtonsM5 - Graphic Animation - Buttons
M5 - Graphic Animation - Buttons
Jamie Hutt
 
How to make a PowerPoint by GEnglish
How to make a PowerPoint by GEnglishHow to make a PowerPoint by GEnglish
How to make a PowerPoint by GEnglish
genglish3322
 
Photoshop starter elephant compressed
Photoshop starter elephant compressedPhotoshop starter elephant compressed
Photoshop starter elephant compressed
DB3igs
 
I didnt knowyoucoulddothatwithpowerpoint
I didnt knowyoucoulddothatwithpowerpointI didnt knowyoucoulddothatwithpowerpoint
I didnt knowyoucoulddothatwithpowerpoint
jdornberg
 
Rock that Power Point
Rock that Power PointRock that Power Point
Rock that Power Point
Angela Johnson
 
Learning to Create a Power Point basics
Learning to Create a Power Point basicsLearning to Create a Power Point basics
Learning to Create a Power Point basics
lisa110777
 
U pog ppb
U pog ppbU pog ppb
U pog ppb
edgarlop95
 
Training End Users - How to Make a PowerPoint Presentation
Training End Users - How to Make a PowerPoint PresentationTraining End Users - How to Make a PowerPoint Presentation
Training End Users - How to Make a PowerPoint Presentation
rcanfield1
 
HOW TO MAKE YOUR CHARTS SEXY ENOUGH FOR JUSTIN TIMBERLAKE
HOW TO MAKE YOUR CHARTS SEXY ENOUGH FOR JUSTIN TIMBERLAKEHOW TO MAKE YOUR CHARTS SEXY ENOUGH FOR JUSTIN TIMBERLAKE
HOW TO MAKE YOUR CHARTS SEXY ENOUGH FOR JUSTIN TIMBERLAKE
Martafy!
 
Turbocharge Your Mac Productivity
Turbocharge Your Mac ProductivityTurbocharge Your Mac Productivity
Turbocharge Your Mac Productivity
Allison Sheridan
 
How to create a power point presentation by g english
How to create a power point presentation by g englishHow to create a power point presentation by g english
How to create a power point presentation by g english
genglish3322
 
Training Computer Users - How to Make a PowerPoint Presentation
Training Computer Users - How to Make a PowerPoint PresentationTraining Computer Users - How to Make a PowerPoint Presentation
Training Computer Users - How to Make a PowerPoint Presentation
rcanfield1
 
Intro toflash
Intro toflashIntro toflash
Intro toflash
sephia17584
 
User Friendly
User FriendlyUser Friendly
User Friendly
sikvik70
 
Intro to Adobe Flash
Intro to Adobe FlashIntro to Adobe Flash
Intro to Adobe Flash
Staci Trekles
 
Owners Manual for PowerPoint Presentation
Owners Manual for PowerPoint PresentationOwners Manual for PowerPoint Presentation
Owners Manual for PowerPoint Presentation
L Andersen
 
How to make a powerpoint presentation
How to make a powerpoint presentationHow to make a powerpoint presentation
How to make a powerpoint presentation
varsha singh
 
Easy -how-to-power-point
Easy -how-to-power-pointEasy -how-to-power-point
Easy -how-to-power-point
Eileen Brinker
 
Tutorial on how to video capture a a meeting through screen casting
Tutorial on how to video capture a a meeting through screen castingTutorial on how to video capture a a meeting through screen casting
Tutorial on how to video capture a a meeting through screen casting
Jacqueline Batchelor
 

What's hot (19)

M5 - Graphic Animation - Buttons
M5 - Graphic Animation - ButtonsM5 - Graphic Animation - Buttons
M5 - Graphic Animation - Buttons
 
How to make a PowerPoint by GEnglish
How to make a PowerPoint by GEnglishHow to make a PowerPoint by GEnglish
How to make a PowerPoint by GEnglish
 
Photoshop starter elephant compressed
Photoshop starter elephant compressedPhotoshop starter elephant compressed
Photoshop starter elephant compressed
 
I didnt knowyoucoulddothatwithpowerpoint
I didnt knowyoucoulddothatwithpowerpointI didnt knowyoucoulddothatwithpowerpoint
I didnt knowyoucoulddothatwithpowerpoint
 
Rock that Power Point
Rock that Power PointRock that Power Point
Rock that Power Point
 
Learning to Create a Power Point basics
Learning to Create a Power Point basicsLearning to Create a Power Point basics
Learning to Create a Power Point basics
 
U pog ppb
U pog ppbU pog ppb
U pog ppb
 
Training End Users - How to Make a PowerPoint Presentation
Training End Users - How to Make a PowerPoint PresentationTraining End Users - How to Make a PowerPoint Presentation
Training End Users - How to Make a PowerPoint Presentation
 
HOW TO MAKE YOUR CHARTS SEXY ENOUGH FOR JUSTIN TIMBERLAKE
HOW TO MAKE YOUR CHARTS SEXY ENOUGH FOR JUSTIN TIMBERLAKEHOW TO MAKE YOUR CHARTS SEXY ENOUGH FOR JUSTIN TIMBERLAKE
HOW TO MAKE YOUR CHARTS SEXY ENOUGH FOR JUSTIN TIMBERLAKE
 
Turbocharge Your Mac Productivity
Turbocharge Your Mac ProductivityTurbocharge Your Mac Productivity
Turbocharge Your Mac Productivity
 
How to create a power point presentation by g english
How to create a power point presentation by g englishHow to create a power point presentation by g english
How to create a power point presentation by g english
 
Training Computer Users - How to Make a PowerPoint Presentation
Training Computer Users - How to Make a PowerPoint PresentationTraining Computer Users - How to Make a PowerPoint Presentation
Training Computer Users - How to Make a PowerPoint Presentation
 
Intro toflash
Intro toflashIntro toflash
Intro toflash
 
User Friendly
User FriendlyUser Friendly
User Friendly
 
Intro to Adobe Flash
Intro to Adobe FlashIntro to Adobe Flash
Intro to Adobe Flash
 
Owners Manual for PowerPoint Presentation
Owners Manual for PowerPoint PresentationOwners Manual for PowerPoint Presentation
Owners Manual for PowerPoint Presentation
 
How to make a powerpoint presentation
How to make a powerpoint presentationHow to make a powerpoint presentation
How to make a powerpoint presentation
 
Easy -how-to-power-point
Easy -how-to-power-pointEasy -how-to-power-point
Easy -how-to-power-point
 
Tutorial on how to video capture a a meeting through screen casting
Tutorial on how to video capture a a meeting through screen castingTutorial on how to video capture a a meeting through screen casting
Tutorial on how to video capture a a meeting through screen casting
 

Viewers also liked

Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using <b>...&l...
Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using <b>...&l...Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using <b>...&l...
Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using <b>...&l...
tutorialsruby
 
The_Perl_Review_0_6
The_Perl_Review_0_6The_Perl_Review_0_6
The_Perl_Review_0_6
tutorialsruby
 
resume-jake-miles
resume-jake-milesresume-jake-miles
resume-jake-miles
tutorialsruby
 
oops09
oops09oops09
oops09
tutorialsruby
 
v02-types.en
v02-types.env02-types.en
v02-types.en
tutorialsruby
 
Basic-CSS-tutorial
Basic-CSS-tutorialBasic-CSS-tutorial
Basic-CSS-tutorial
tutorialsruby
 
Jeni Intro2 Bab06 Algoritma Sorting
Jeni Intro2 Bab06 Algoritma SortingJeni Intro2 Bab06 Algoritma Sorting
Jeni Intro2 Bab06 Algoritma SortingIndividual Consultants
 
Bob Hoogenboom
Bob HoogenboomBob Hoogenboom
Making%20R%20Packages%20Under%20Windows
Making%20R%20Packages%20Under%20WindowsMaking%20R%20Packages%20Under%20Windows
Making%20R%20Packages%20Under%20Windows
tutorialsruby
 
HiddenMessageSlider
HiddenMessageSliderHiddenMessageSlider
HiddenMessageSlider
tutorialsruby
 

Viewers also liked (10)

Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using <b>...&l...
Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using <b>...&l...Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using <b>...&l...
Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using <b>...&l...
 
The_Perl_Review_0_6
The_Perl_Review_0_6The_Perl_Review_0_6
The_Perl_Review_0_6
 
resume-jake-miles
resume-jake-milesresume-jake-miles
resume-jake-miles
 
oops09
oops09oops09
oops09
 
v02-types.en
v02-types.env02-types.en
v02-types.en
 
Basic-CSS-tutorial
Basic-CSS-tutorialBasic-CSS-tutorial
Basic-CSS-tutorial
 
Jeni Intro2 Bab06 Algoritma Sorting
Jeni Intro2 Bab06 Algoritma SortingJeni Intro2 Bab06 Algoritma Sorting
Jeni Intro2 Bab06 Algoritma Sorting
 
Bob Hoogenboom
Bob HoogenboomBob Hoogenboom
Bob Hoogenboom
 
Making%20R%20Packages%20Under%20Windows
Making%20R%20Packages%20Under%20WindowsMaking%20R%20Packages%20Under%20Windows
Making%20R%20Packages%20Under%20Windows
 
HiddenMessageSlider
HiddenMessageSliderHiddenMessageSlider
HiddenMessageSlider
 

Similar to Button

How to create a simple image gallery in flash cs5
How to create a simple image gallery in flash cs5How to create a simple image gallery in flash cs5
How to create a simple image gallery in flash cs5
Boy Jeorge
 
Flash cs4 tutorials_2009
Flash cs4 tutorials_2009Flash cs4 tutorials_2009
Flash cs4 tutorials_2009
techbed
 
Flash
FlashFlash
Flash
Deepika suren
 
Quick Step by Step Flash Tutorial
Quick Step by Step Flash TutorialQuick Step by Step Flash Tutorial
Quick Step by Step Flash Tutorial
Su Yuen Chin
 
Flashworkshop 090317231102-phpapp01
Flashworkshop 090317231102-phpapp01Flashworkshop 090317231102-phpapp01
Flashworkshop 090317231102-phpapp01
bhavanalm
 
Flashworkshop 090317231102-phpapp01
Flashworkshop 090317231102-phpapp01Flashworkshop 090317231102-phpapp01
Flashworkshop 090317231102-phpapp01
momayabhavana
 
Power pointlabs quick tutorial
Power pointlabs quick tutorialPower pointlabs quick tutorial
Power pointlabs quick tutorial
Da Huang
 
Techno flash workbook session 1
Techno flash workbook session 1Techno flash workbook session 1
Techno flash workbook session 1
maestradeagape
 
Presentation 1
Presentation 1Presentation 1
Presentation 1
Marsavi
 
Pencil animation tutorials
Pencil animation tutorialsPencil animation tutorials
Pencil animation tutorials
nataliasmile
 
Adkins assignment1 tutorial_quiz_attempt2
Adkins assignment1 tutorial_quiz_attempt2Adkins assignment1 tutorial_quiz_attempt2
Adkins assignment1 tutorial_quiz_attempt2
Elizabeth Adkins
 
EME 6507 PowerPoint Tutorial
EME 6507 PowerPoint TutorialEME 6507 PowerPoint Tutorial
EME 6507 PowerPoint Tutorial
Elizabeth Adkins
 
Learning flash by Ms. Payal Narula
Learning flash by Ms. Payal Narula Learning flash by Ms. Payal Narula
Learning flash by Ms. Payal Narula
kulachihansraj
 
Botones
BotonesBotones
Duke%20 %20 assignmet%20#1%20tutorial%20&%20quiz.ppt%20(1a2)[1]
Duke%20 %20 assignmet%20#1%20tutorial%20&%20quiz.ppt%20(1a2)[1]Duke%20 %20 assignmet%20#1%20tutorial%20&%20quiz.ppt%20(1a2)[1]
Duke%20 %20 assignmet%20#1%20tutorial%20&%20quiz.ppt%20(1a2)[1]
Dukester
 
Power Point Tutorial
Power Point TutorialPower Point Tutorial
Power Point Tutorial
apinti
 
FLASH L07 VIEW TOOLS
FLASH L07 VIEW TOOLSFLASH L07 VIEW TOOLS
FLASH L07 VIEW TOOLS
Marvin Bronoso
 
Robot flash tutorial
Robot flash tutorialRobot flash tutorial
Robot flash tutorial
Foredi Surabaya
 
How_to_make_ your_ quiz_interactive
How_to_make_ your_ quiz_interactiveHow_to_make_ your_ quiz_interactive
How_to_make_ your_ quiz_interactive
Bridget Fingleton-Brown
 
Photoshop basics
Photoshop basicsPhotoshop basics
Photoshop basics
cristy nazareno
 

Similar to Button (20)

How to create a simple image gallery in flash cs5
How to create a simple image gallery in flash cs5How to create a simple image gallery in flash cs5
How to create a simple image gallery in flash cs5
 
Flash cs4 tutorials_2009
Flash cs4 tutorials_2009Flash cs4 tutorials_2009
Flash cs4 tutorials_2009
 
Flash
FlashFlash
Flash
 
Quick Step by Step Flash Tutorial
Quick Step by Step Flash TutorialQuick Step by Step Flash Tutorial
Quick Step by Step Flash Tutorial
 
Flashworkshop 090317231102-phpapp01
Flashworkshop 090317231102-phpapp01Flashworkshop 090317231102-phpapp01
Flashworkshop 090317231102-phpapp01
 
Flashworkshop 090317231102-phpapp01
Flashworkshop 090317231102-phpapp01Flashworkshop 090317231102-phpapp01
Flashworkshop 090317231102-phpapp01
 
Power pointlabs quick tutorial
Power pointlabs quick tutorialPower pointlabs quick tutorial
Power pointlabs quick tutorial
 
Techno flash workbook session 1
Techno flash workbook session 1Techno flash workbook session 1
Techno flash workbook session 1
 
Presentation 1
Presentation 1Presentation 1
Presentation 1
 
Pencil animation tutorials
Pencil animation tutorialsPencil animation tutorials
Pencil animation tutorials
 
Adkins assignment1 tutorial_quiz_attempt2
Adkins assignment1 tutorial_quiz_attempt2Adkins assignment1 tutorial_quiz_attempt2
Adkins assignment1 tutorial_quiz_attempt2
 
EME 6507 PowerPoint Tutorial
EME 6507 PowerPoint TutorialEME 6507 PowerPoint Tutorial
EME 6507 PowerPoint Tutorial
 
Learning flash by Ms. Payal Narula
Learning flash by Ms. Payal Narula Learning flash by Ms. Payal Narula
Learning flash by Ms. Payal Narula
 
Botones
BotonesBotones
Botones
 
Duke%20 %20 assignmet%20#1%20tutorial%20&%20quiz.ppt%20(1a2)[1]
Duke%20 %20 assignmet%20#1%20tutorial%20&%20quiz.ppt%20(1a2)[1]Duke%20 %20 assignmet%20#1%20tutorial%20&%20quiz.ppt%20(1a2)[1]
Duke%20 %20 assignmet%20#1%20tutorial%20&%20quiz.ppt%20(1a2)[1]
 
Power Point Tutorial
Power Point TutorialPower Point Tutorial
Power Point Tutorial
 
FLASH L07 VIEW TOOLS
FLASH L07 VIEW TOOLSFLASH L07 VIEW TOOLS
FLASH L07 VIEW TOOLS
 
Robot flash tutorial
Robot flash tutorialRobot flash tutorial
Robot flash tutorial
 
How_to_make_ your_ quiz_interactive
How_to_make_ your_ quiz_interactiveHow_to_make_ your_ quiz_interactive
How_to_make_ your_ quiz_interactive
 
Photoshop basics
Photoshop basicsPhotoshop basics
Photoshop basics
 

More from tutorialsruby

<img src="../i/r_14.png" />
<img src="../i/r_14.png" /><img src="../i/r_14.png" />
<img src="../i/r_14.png" />
tutorialsruby
 
TopStyle Help & <b>Tutorial</b>
TopStyle Help & <b>Tutorial</b>TopStyle Help & <b>Tutorial</b>
TopStyle Help & <b>Tutorial</b>
tutorialsruby
 
The Art Institute of Atlanta IMD 210 Fundamentals of Scripting <b>...</b>
The Art Institute of Atlanta IMD 210 Fundamentals of Scripting <b>...</b>The Art Institute of Atlanta IMD 210 Fundamentals of Scripting <b>...</b>
The Art Institute of Atlanta IMD 210 Fundamentals of Scripting <b>...</b>
tutorialsruby
 
<img src="../i/r_14.png" />
<img src="../i/r_14.png" /><img src="../i/r_14.png" />
<img src="../i/r_14.png" />
tutorialsruby
 
<img src="../i/r_14.png" />
<img src="../i/r_14.png" /><img src="../i/r_14.png" />
<img src="../i/r_14.png" />
tutorialsruby
 
Standardization and Knowledge Transfer – INS0
Standardization and Knowledge Transfer – INS0Standardization and Knowledge Transfer – INS0
Standardization and Knowledge Transfer – INS0
tutorialsruby
 
xhtml_basics
xhtml_basicsxhtml_basics
xhtml_basics
tutorialsruby
 
xhtml_basics
xhtml_basicsxhtml_basics
xhtml_basics
tutorialsruby
 
xhtml-documentation
xhtml-documentationxhtml-documentation
xhtml-documentation
tutorialsruby
 
xhtml-documentation
xhtml-documentationxhtml-documentation
xhtml-documentation
tutorialsruby
 
CSS
CSSCSS
CSS
CSSCSS
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa0602690047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
tutorialsruby
 
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa0602690047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
tutorialsruby
 
HowTo_CSS
HowTo_CSSHowTo_CSS
HowTo_CSS
tutorialsruby
 
HowTo_CSS
HowTo_CSSHowTo_CSS
HowTo_CSS
tutorialsruby
 
BloggingWithStyle_2008
BloggingWithStyle_2008BloggingWithStyle_2008
BloggingWithStyle_2008
tutorialsruby
 
BloggingWithStyle_2008
BloggingWithStyle_2008BloggingWithStyle_2008
BloggingWithStyle_2008
tutorialsruby
 
cascadingstylesheets
cascadingstylesheetscascadingstylesheets
cascadingstylesheets
tutorialsruby
 
cascadingstylesheets
cascadingstylesheetscascadingstylesheets
cascadingstylesheets
tutorialsruby
 

More from tutorialsruby (20)

<img src="../i/r_14.png" />
<img src="../i/r_14.png" /><img src="../i/r_14.png" />
<img src="../i/r_14.png" />
 
TopStyle Help & <b>Tutorial</b>
TopStyle Help & <b>Tutorial</b>TopStyle Help & <b>Tutorial</b>
TopStyle Help & <b>Tutorial</b>
 
The Art Institute of Atlanta IMD 210 Fundamentals of Scripting <b>...</b>
The Art Institute of Atlanta IMD 210 Fundamentals of Scripting <b>...</b>The Art Institute of Atlanta IMD 210 Fundamentals of Scripting <b>...</b>
The Art Institute of Atlanta IMD 210 Fundamentals of Scripting <b>...</b>
 
<img src="../i/r_14.png" />
<img src="../i/r_14.png" /><img src="../i/r_14.png" />
<img src="../i/r_14.png" />
 
<img src="../i/r_14.png" />
<img src="../i/r_14.png" /><img src="../i/r_14.png" />
<img src="../i/r_14.png" />
 
Standardization and Knowledge Transfer – INS0
Standardization and Knowledge Transfer – INS0Standardization and Knowledge Transfer – INS0
Standardization and Knowledge Transfer – INS0
 
xhtml_basics
xhtml_basicsxhtml_basics
xhtml_basics
 
xhtml_basics
xhtml_basicsxhtml_basics
xhtml_basics
 
xhtml-documentation
xhtml-documentationxhtml-documentation
xhtml-documentation
 
xhtml-documentation
xhtml-documentationxhtml-documentation
xhtml-documentation
 
CSS
CSSCSS
CSS
 
CSS
CSSCSS
CSS
 
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa0602690047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
 
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa0602690047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
 
HowTo_CSS
HowTo_CSSHowTo_CSS
HowTo_CSS
 
HowTo_CSS
HowTo_CSSHowTo_CSS
HowTo_CSS
 
BloggingWithStyle_2008
BloggingWithStyle_2008BloggingWithStyle_2008
BloggingWithStyle_2008
 
BloggingWithStyle_2008
BloggingWithStyle_2008BloggingWithStyle_2008
BloggingWithStyle_2008
 
cascadingstylesheets
cascadingstylesheetscascadingstylesheets
cascadingstylesheets
 
cascadingstylesheets
cascadingstylesheetscascadingstylesheets
cascadingstylesheets
 

Recently uploaded

Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Tosin Akinosho
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
Wouter Lemaire
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
IndexBug
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
Jason Packer
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
OpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - AuthorizationOpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - Authorization
David Brossard
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
Mariano Tinti
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
Jakub Marek
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 

Recently uploaded (20)

Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
OpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - AuthorizationOpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - Authorization
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 

Button

  • 1. http://www.webwasp.co.uk/tutorials/a05-buttons/images/mx/buttons-mx.php Tutorials • Downloads • Newsletter • Bulletin Board • Contact Us Free Flash Tutorials Members • Business • Web Design • Home • Search 100 Flash Tutorials 360-Degree Mouse Button Create Animated Tutorials Experts Show You How: Instructional Training for cellphones, PDAs, MP3 players MicroNav by Record your PC and create animated Flash Videos, Tips and Shortcuts Interlink Electronics tutorials with voice/audio. LearnFlash.com www.micronavlink.com www.DemoCharge.com Flash Tutorial - Creating simple buttons 005 Beginners MX Flash Compatibility: For Flash MX 2004 click here Written by: Phil Length: 1200 This tutorial is designed for people who have little Experience of using Flash. The aim of the tutorial is to be able to create your own buttons, how to Align objects to the stage and create layers. States of the button The button can change it's appearance according to what 'state' it is in. There are four states: Up, Over, Down and Hit. 1. Up: Is when the mouse pointer is not over the button. 2. Over: Is when the mouse pointer is over the button. 3. Down: Is when the mouse pointer is over the button and the mouse button is down. 4. Hit: Is an invisible area of the screen. This area defines when the mouse pointer is 'over' the button or not. Roll your mouse over the button below and click to see the Up, Over and Down states. You can't see the Hit area as it is invisible. The button has no actions so does not do anything. My Example: Download the Flash File Beg 005a Step one: Setting up the Document 1. Set the size of the Flash Movie: Modify > Document The movie above is: 200 x 130px Note: You can either have a Flash movie which contains a number of buttons or you can have a Flash movie that is a single button and no more. Flash Tutorial: Simple Buttons - webwasp.co.uk 1 of 5
  • 2. http://www.webwasp.co.uk/tutorials/a05-buttons/images/mx/buttons-mx.php A Flash movie with several buttons. File size: 400 x130px A Flash movie which is a single button. File size: 105 x31px Step two: Creating the button symbol To create a button you need to have a symbol. 1. Go to Insert > New Symbols (or hit CTRL+F8 on your keyboard). 2. The "Symbols Properties" dialogue box will open. Select button. 3. Name it button 1 and select 'button' as the behavior. 4. Click OK. You will go to a new stage, called button 1. In this stage, you will have four frames: Frame 1 - Up Frame 2 - Over Frame 3 - Down Frame 4 - Hit Step three: Creating the up state 1. Double click on the layer label and name the layer 'background'. 2. In the background layer, frame 1 'Up', draw a rectangle shape with the rectangle tool: When you have finished drawing your rectangle, make sure you go back to the Arrow tool , otherwise you will draw more rectangles by mistake. 3. With the Arrow tool , single click on the rectangle fill and select any colour you may want with the Fill Color tool: 4. You need to align your rectangle to the centre of the stage using the Align panel. Go to Window > Align. 5. Double click on the coloured fill of the rectangle. This should select both the fill and the stroke (outline). Fill and stroke highlighted: Both are dotty! Warning: If the fill and stroke are not both highlighted you will only move part of your rectangle. Often the stroke will get left behind, even if the stroke is white, and cannot be seen, be careful not do to do this, as this Flash Tutorial: Simple Buttons - webwasp.co.uk 2 of 5
  • 3. http://www.webwasp.co.uk/tutorials/a05-buttons/images/mx/buttons-mx.php 'debris' may cause problems latter. 6. In the Align panel click the 'To Stage' button: 7. With the rectangle selected click on the Align Vertical centre button: 8. Click on the Align Horizontal centre button: 9. Click on the insert layer button to create a new layer and name it 'text'. 10. In the up frame (frame 1)of the Text Layer use the Text tool to type 'Click Here' (or whatever else else you might want your button to say). 11. The text must be set to Static. To check this open the Property panel: Window > Properties. With the text still selected the panel should say: . If it does not, use the drop down arrow to select static text. 12. Select your text with the Arrow tool: 13. In the Align panel the 'To Stage' button should still be selected (it will be white, not gray, see picture below). 14. Click on the Align Vertical centre button: 15. Click on the Align Horizontal centre button: Step four: The over state 1. Right click in the 'over' frame in the 'text' layer and select: Insert Keyframe You will notice the play head has moved to the 'over' frame and your text from frame 1 is copied to the over frame. 2. Change the text to bold by going to Text > Style > Bold. 3. You may need to align the text centre of the stage again. 4. Right click in the 'over' frame in the 'background' layer and select Insert Keyframe. 5. Change the rectangle to another colour by single clicking the fill colour of the rectangle (only the fill will be dotty). Select a colour by clicking on the Fill Color tool: Step five: The down state Do the same as step three by: 1. Inserting new Keyframes in the Down frames of both layers. Flash Tutorial: Simple Buttons - webwasp.co.uk 3 of 5
  • 4. http://www.webwasp.co.uk/tutorials/a05-buttons/images/mx/buttons-mx.php Your timeline should look like this: Note the keyframes - black dots. 2. • Change the colour of the rectangle and/or... • Change the colour or the look of the text. Step six: Placing the button on the main stage: 1. Click on the Scene 1 Tab . You will return to the main stage, which should be empty. Don't panic you haven't lost your symbol. 2. Click on Window > Library. Your symbol will be in the library. 3. Drag your symbol onto the main stage. Step seven: Actions You now have a new button which you will need to add actions to so that it does something. See previous tutorial for details of how to do this: Simple Links The hit state The hit area is normally the same as the rectangle. You do not need to create this unless the hit area is different to the original rectangle you created on frame one. Note: If your button does not have a solid background (in this case a rectangle) but only text, you will have to create a rectangle (or other solid shape), in the hit area frame. Otherwise when the mouse pointer goes over the gaps between the letters, the button will go back to frame one: The over state. Very slowly move the mouse over button 1 below and you will see the problem. My Example 2: Download the Flash File: Beg 005b Move the mouse slowly over the Buttons to see the difference. Button 1 is not stable and moves between states with small movements of the mouse. Button 2 is stable. Button 2 has a rectangle in the 'Hit' frame. This is not visible in the movie, but controls the 'Up', 'Over' and 'Down' states. If you are having difficulty understanding this, download the movie and look inside the symbol at the Hit Frame. To look inside the symbol double click it on stage. Have fun with your buttons, make them wild and wonderful! If you have not found this tutorial useful, help us improve by telling us why: Forum previous tutorial next tutorial • 10295 visitors to this page since Jan 04 • Home • Tutorials • Downloads • Newsletters • Bulletin Board • Contact Us • • Members • Business • Web Design • Other • Top of Page • Flash Tutorial: Simple Buttons - webwasp.co.uk 4 of 5
  • 5. http://www.webwasp.co.uk/tutorials/a05-buttons/images/mx/buttons-mx.php All material on this site is protected under international copyright © law. DO NOT reproduce any material from this site without written permission. Please ask as permission is often granted. Flash Tutorial: Simple Buttons - webwasp.co.uk 5 of 5