Miscellaneous
  Home arrow Miscellaneous arrow Page 6 - Creating a Mail Form with PHP and Flas...
Codewalker Forums 
  Tutorials  
Database Articles  
Miscellaneous  
Navigation Usability  
PEAR Articles  
Programming Basics  
Server Administration  
XML Tutorials  
  Reviews  
Database Book Reviews  
Linux Book Reviews  
Miscellaneous Reviews  
PHP Book Reviews  
PHP Software Reviews  
Server Admin Reviews  
SQL Tool Reviews  
  Code Gallery  
Content Management Code  
Contest Code  
Counters Code  
Database Code  
Date Time Code  
Discussion Board Code  
Email Code  
File Manipulation Code  
GUI Code  
Link Farm Code  
Miscellaneous Code  
Search Code  
Site Navigation Code  
User Management Code  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Download TestComplete 
Forums Sitemap 
Weekly Newsletter 
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
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

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    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


       · very useful and super good tutorial. thanks.
       · I cannot get this to work. My hoting co. say the php is fine but there is something...
       · This is weird -The source files seem happy with the /: syntax but when I feed it...
       · Is there any one have luck on that, my form does not work. I have problem with the...
       · Hello, I want this mailform to work!!=> but the php code does only send me the...
     

    MISCELLANEOUS ARTICLES

    - Using PHP to Stream MP3 Files and Prevent Il...
    - 10 Must Have Firefox Improvements
    - All About OpenOffice 3.0
    - Shell Script Writing
    - Loops in the UNIX Shell
    - The Test in the UNIX Shell
    - Data Streams and the UNIX Shell
    - Control Mechanisms of the UNIX Shell
    - Variables Within the UNIX Shell
    - The Shell and UNIX
    - In Detail: UNIX File Systems
    - Rights Management in UNIX
    - UNIX File Systems
    - The Terminal in UNIX
    - Operating Systems and UNIX





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek