Miscellaneous
  Home arrow Miscellaneous arrow Page 6 - Creating a Mail Form with PHP and Flash - Part 2
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  
Forums Sitemap 
Dedicated Servers  
Download TestComplete 
JMSL Numerical Library 
IBM® developerWorks
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 / 1
    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...
     

    MISCELLANEOUS ARTICLES

    - Stopping CSRF Attacks in Your PHP Applicatio...
    - Quick and Dirty AJAX Tutorial
    - Flickr Puzzle Mashup
    - The PAVISE of Security
    - Creating a CAPTCHA with PHP
    - Sending SMS Thru HTTP
    - The Postal Fix - Part 2
    - Adding Mail with Exim
    - The Postal Fix - Part 1
    - Create Your Own Custom API
    - Adding Drop Shadows with PHP
    - Writing a Basic Authentication System in PHP
    - Overlapping Images with GD
    - Using Sockets in PHP
    - Dynamic CSS with PHP






    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway