Miscellaneous

  Home arrow Miscellaneous arrow Page 6 - Creating a Mail Form with PHP and Flas...
MISCELLANEOUS

Creating a Mail Form with PHP and Flash - Part 2
By: Codewalkers
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 2
    2002-06-26

    Table of Contents:
  • Creating a Mail Form with PHP and Flash - Part 2
  • Page 1
  • Page 2
  • Page 3
  • Page 4
  • Page 5
  • Page 6
  • Page 7
  • Page 8
  • Page 9
  • Page 10
  • Page 11
  • Page 12
  • The End

  •  
     

    SEARCH CODEWALKERS

    TOOLS YOU CAN USE

    advertisement

    Creating a Mail Form with PHP and Flash - Part 2 - Page 5


    (Page 6 of 14 )

    So we now have four buttons on our stage. Now we will add the text, select the text tool and enter Mr on top of the first button, Mrs on top of the second and so on.

    Now when the user looks at the menu they will know the value of each button, but how will flash know, so we will attach some actionscript to each button.Select the top button and add the following code

    on (release) {
    /:title = "Mr";
    gotoAndStop ("hide");
    }

    Let's break this code down line by line.on (release)perform this action when the mouse button is clicked then released/:title = "Mr";The variable title new value will be MrgotoAndStop ("hide");hide is the label of Frame 1 in the options menu, this means as our buttons are on frame 15 that when a button is clicked the dropdown menu will dissapear.Do the same for the remaining buttonsBut how do we get the menu to show and hide (the clue is in the frame labels)

    More Miscellaneous Articles
    More By Codewalkers

    blog comments powered by Disqus

    MISCELLANEOUS ARTICLES

    - Oracle Database XE: Indexes and Sequences
    - Modifying Tables in Oracle Database XE
    - Oracle Database XE: Tables and Constraints
    - More on Oracle Databases and Datatypes
    - Oracle Database XE Datatypes: Datetime and L...
    - Oracle Database XE Datatypes: Character and ...
    - From Databases to Datatypes
    - Firefox 3.6.6 Released with Improved Plug-in...
    - Attention Bloggers: WordPress 3.0 Now Releas...
    - Reflection in PHP 5
    - Inheritance and Other Advanced OOP Features
    - Advanced OOP Features
    - Linux from Scratch V.6.6 Review
    - Linux Gaining in Strength
    - Install Slackware on Your Old PC


    © 2003-2012 by Developer Shed. All rights reserved. DS Cluster 3 - Follow our Sitemap