Question about Graphics Publishing, Design & Multimedia Software

1 Answer

Form creat in flash - Graphics Publishing, Design & Multimedia Software

Posted by on

1 Answer

  • Level 2:

    An expert who has achieved level 2 by getting 100 points

    MVP:

    An expert that gotĀ 5 achievements.

    Governor:

    An expert whose answer gotĀ voted for 20 times.

    Hot-Shot:

    An expert who has answered 20 questions.

  • Expert
  • 72 Answers

  1. Create a new document and set the size to 400 x 300 ("Frame" > "Frame Size")
  2. Set "Frame 1" to "Stop" ("Frame" > "Frame Delay" and check "Stop", click OK)
  3. Draw 2 edit fields with the "Edit field" tool, they will appear as Edit1 and Edit2. Double click each field and make sure HTML is not checked, uncheck if necessary.
  4. Draw a button, double-click it and rename it to "OK".
  5. Draw edit field labels "Phone" and "Email" with the text tool. Double click each field and make sure HTML is not checked, uncheck if necessary.
  6. Draw "ErrorMessage" field with the "Text Paragraph" tool. Choose "Item" > "Text Color" and change it to red. Choose "Item" > "Placement Properties" and rename the field to "ErrorMessage"
    1. Select the button, choose "Item" > "Actions" > "OnClick". Select "ActionScript" and paste the following code:

    // reset error message
    ErrorMessage = "";

    // validate phone field
    phone = Edit1;
    if(phone=="") ErrorMessage = "Enter your phone";

    // validate email field
    email = Edit2;
    if(email=="") ErrorMessage = "Enter your email";
    if(email.indexOf("@",0)<0) ErrorMessage = "Enter valid email";
    if(email.indexOf(".",0)<0) ErrorMessage = "Enter valid email";

    // build message string
    message = "mailto:support@selteco.com?subject=Title&body=Form contents%0A";
    message = message + "phone: " + phone + "%0A";
    message = message + "email: " + email;

    // execute form if errormessage is empty
    if(ErrorMessage=="") getURL(message,"_self");

Hit F9 to preview. The form will not work until you export Flash file and HTML page. Choose "File" > "Export HTML Page" to create HTML page and test the form in a browser. This form is using very basic validation. Use "%0A" as line separator.
Use the following functions or attributes of the string:
  • length returns the number of characters
  • charAt(x) returns zero-based character at position x
  • indexOf(substring,startindex) returns the position of the first occurrence of the specified substring or -1.
  • lastIndexOf(substring,startindex) returns the position of the last occurrence of the specified substring or -1.
  • substr(start,n) returns n characters string starting at specified position
  • toLowerCase(), toUpperCase() converts the string to lower or upper case

Posted on Jan 22, 2009

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

Have a Dell laptop. Have to fill in form in Adobe 9.


If the designer of the PDF document has correctly created the file, you can use the _free_ Adobe Reader software to "open" and then "fill-in" the form, and then "print" the modified PDF file.

P.S. Any "free" copy of Adobe 9 is a "bootleg", i.e., "unauthorized" copy, and the copy probably also contains a computer-virus. Stay away from counterfeit software!

Apr 05, 2010 | Graphics Publishing, Design & Multimedia...

2 Answers

Flash animation & actionscript


You need flash to create the animations,once done you need to save it and then insert it in dreamweaver and from there create the links...Please note the use of time frames to implement motions..

Jun 25, 2009 | Macromedia Flash MX

1 Answer

How Can I create website in flash 2.0


Hi,

You can refer to many websites.One would be :-

http://www.webdesigndev.com/flash/learn-how-to-create-a-flash-website

Let me know, if you want any other help.

Thanks.

Jun 16, 2009 | Macromedia Flash MX

1 Answer

Saving interactive form (PDF)


You have to select Forms on the top menu,
Then Distribute. Form is now ready to be filled in.
Hope this answered your question.

Jan 06, 2009 | Adobe Acrobat 7.0 Professional

2 Answers

Editable forms with Adobe reader?


With adobe profesional you can make a PDF form, and send to the recipients. They can fill the form with Adobe reader and send it to you back, but only the data will be sent to you, not all with the pdf.
You can collect the data with your adobe profesional. Your programmer of medical paperless system can make the program to put that data in your database.
Here is the simple procedure:
1. Create form: Open adobe prof, menu advance --> Form --> create new form. You will go to Adobe design to create the form, there you can also retrieve your scanned document.
Don't forget to put "submit button" and your email address.
2. Then save as pdf form. It is ready to be send to your recipients.
3. The recipients will fill the data and send to you by pushing the "submit button".
4. You will receive the data in your mailbox, as an attachment of email. You can use adobe prof to collect it, example to put it in Microsoft Excel.
Go to menu advance --> form --> Create Spreadsheet from data files. A dialog box will come out, put in the files you received from your recipients. then go on, you will have the Excel data.
For put it in your database of your system, your programmer should create a program/ included in your system's program.

For Guest, to fill up is easy, just open the pdf form with Adobe REader, fill it and click the submit button.

Apr 15, 2008 | Adobe Acrobat Professional 7.0 for PC

1 Answer

Filling in Adobe Acrobat job applications


Most Acrobat forms (your job application for example) are designed to be printed out and the fields filled in by hand. If you create a new form, based on the job application that you've downloaded, you may be able to type in your information in the fields, but it will depend on the security level of the PDF that was created originally. It sounds like the person who designed the form didn't set it up to accept input, merely to be printed out and filled out manually using the first handheld computer: a pencil.

Hope this will FixYa!!!

Oct 09, 2007 | Adobe Acrobat 6.0 for PC

3 Answers

Actionscript 2.0


create in flash shopping card with script

Sep 18, 2007 | Macromedia Flash MX

2 Answers

News updat form


Menu -> Insert -> Form ->Form

Sep 13, 2007 | Macromedia Dreamweaver MX 2004

Not finding what you are looking for?
Graphics Publishing, Design & Multimedia Software Logo

Related Topics:

179 people viewed this question

Ask a Question

Usually answered in minutes!

Top Graphics Publishing, Design & Multimedia Software Experts

Les Dickinson
Les Dickinson

Level 3 Expert

18297 Answers

Cindy Wells

Level 3 Expert

4751 Answers

kakima

Level 3 Expert

96333 Answers

Are you a Graphics Publishing, Design and Multimedia Software Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...