Question about Computers & Internet

1 Answer

Form creat in flash - Computers & Internet

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

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

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

×

Loading...
Loading...

Related Questions:

1 Answer

I want to know step by step , how to create an online survey form


You can create an online survey form using google forms. To see the step by step instructions, please click here.


Hope this information helps!

Apr 07, 2011 | Computers & Internet

1 Answer

Am running windows7 and when i try to add a form with 21" width and 30.50" height my form is not added.


The form width you are trying to create is wider than the T6215 is able to print on. The maximum page width that you can print is 13.6 inches, if you try to create a custom size paper wider than 13.6" Windows will not show you this form within the T6215 printer driver. As you can not physically print 21" wide you do not need to define a paper size this wide. Simply create a paper size which reflects the maximum print width or 13.6" You will then be able to print the maximum width the T6215 is capable of and also see this form in the printer driver.

Jan 03, 2011 | Tally T6215 Matrix Printer

1 Answer

After creating a new form of size 15 x 12 fanfold in the printer settings option, form is saved but not applied. So after selecting printer in a software, the paper size option of 15 x 12 fanfold does not...


THe T6215 can only print a maximum width of 13.6 inches. If you create a form wider than this Windows will not allow you to select this form within the printer driver as the printer is not physically able to print this wide. Your paper may be 15 inches wide but it is unlikely you will be printing 15 inches, simply create a form whose width is equal to the maximum print width or 13.6 inches. You will then be able to select this form in the printer driver.

Dec 13, 2010 | Tally T6215 Matrix Printer

2 Answers

I need a contact us form like this https://spreadsheets.google.com/embeddedform?formkey=dDVBcGxTek9tY0kzLUF0OVBJc0dHb3c6MA google does not email you the response when someone fills out the form


Alright I think I can help you

Prerequisites (what your host server needs)
ok firstly ensure that the server your hosting the script on supports php and ensure u have a pop 3 server set up (on your host)

now there are a lot of free scripts out there I'll post a link for you in a bit. Install the script on your server, create a link for it on your site and thats about it.

the scripts:
Here is the script and instructions on how to use it
http://www.douglassdavis.com/php_contact_us_script.html
its free and you can use it under a open GNU license

Good Luck

Mar 03, 2010 | Computers & Internet

1 Answer

How to create Dynamic Lable & TextBox & save their Values in DB.


Best way to do this is to place label and textbox as usual but hide them from the properties.
In the SaveButton Click event, you can set the property for the label and textbox to visible dynamically by code.

Apr 24, 2009 | Microsoft Designing ASP.NET Applications...

1 Answer

No available fields in form wizard


If you select the correct table from the drop down, the fields should be shown in the box. or keep the table open and try creating form. or create a blank form and on the right side you will get tables and fields, you can just drag and drop required fields

Feb 10, 2009 | Microsoft Office Professional 2007 Full...

1 Answer

Printer is not recognizing the new custom paper size


You also have to create a form the same size in "server properties".

Click on "printers and faxes"
Click on "file" top left of screen, choose "server properties"
Click on "create new form"
type in width and height of paper

(my HP printer will not recognize any paper less than 5' in height and less than 3" in width)

If your create a form less than 5" in height ' and/or less than 3" in width - chances are that's why your printer won't recognize new form. Height HAS to be at least 5" and width HAS to be at least 3"

type in name of new form
save form and close

It should now be in your printer paper options.

Nov 17, 2008 | Office Equipment & Supplies

2 Answers

Wizard unable to create form


i had this problem and it was because a computer class was installing multiple kinds of access on one computer. they wanted to teach all of them, but are now screwing them all up. ha.

Nov 10, 2008 | Microsoft Office Professional 2007 Full...

1 Answer

Access 2007 forms wizard


If you run a repair install of office 2003

Jun 04, 2008 | Microsoft Office Professional 2007 Full...

Not finding what you are looking for?
Computers & Internet Logo

Related Topics:

179 people viewed this question

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Les Dickinson
Les Dickinson

Level 3 Expert

18384 Answers

kakima

Level 3 Expert

102366 Answers

David Payne
David Payne

Level 3 Expert

14161 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...