Web Development Logs
Find articles, news and reviews about latest technologies.


Welcome Guest !
please login or register a new free account.


Home | Archives | Submit Article | Top Rated | Advance Search | Contacts Us | Rss Feeds

    Main Categories
» Free downloads
» General Blog
» Google Adsense
» Scripting languages
» Search Engines
» Web Designing

  More Options
» Most read articles
» Most rated articles

   Subscription
Subscribe now and receive free articles and updates instantly.
» Your name » Your Email

titles description    advance search
Published : April 29, 2006 | Author : Ali Roman
Category : Scripting languages | Total Views : 5192 | Rating :

  
This tutorial will demonstrate how to send/save data to/in a text file. Before starting this tutorial I will define what is an Input Box and how to use it.

What is Input Box
Input box is a text field in which you enter your data with the help of keyboard. It is usually used to save Visitors/members information which they input during their visit to your site. It can be in the form of Emailer, Guestbook, Contact form or in any other form which is not supposed to be dynamically used, for example you input a number 4 and when you press Proceed button, it calculates square of 4. Here is an example of Input Text Box and Dynamic Text Box. In this example you will input some text in Input text box and it will send that DATA to dynamic TEXT and perform and action.

Steps in this example.
------------------------------
Note : In this example you will make one Input Text Box and one Dynamic Text Box. Then you will send data of Input Box to Dynamic text through variable.

1. Make a text box and select its type as Input Box. In its Name type inputName. Check the box of target. In variable box use any name for example inputVar. Now inputVar is the variable which will carry the data you will input in this box.

2. Make a text box and select its type as Dynamic Text Box. Give its name and
variable as above. See in the following figure.

user posted image

3. Place a Stop action on Frame number 1 in main timelime.
4. In front of your Dyanmic Text box place any effect you like.
5. Make a button and put this action in its release state.

on (release) {
dynamicVar=inputVar;
gotoSceneAndPlay("",2);
}



Pages : [ 1 ] 2


1 2 3 4 5
please rate this article     Poor
Excellent    
Most viewed articles in Scripting languages category

Retrieving data from MySQL database using php
Creating simple contact form using swishmax and php
Creating dynamic combo list with PHP and MySQL
Creating simple percentage preloader with swishmax
Saving data to a text file with swishmax and php
Most recent articles in Scripting languages category

Saving data to a text file with swishmax and php
Creating dynamic combo list with PHP and MySQL
Retrieving data from MySQL database using php
Establishing connection with MySQL using php
Creating table using MySQL database

 Visitor's Comments !

there are no comments...


    Random Pick
This tutorial will demonstrate how to make a very simple contact form using swishmax and server side scripting language PHP. Before starting this tutorial I assume that you can make input boxes and know how to use variables.

    Statistics
» Total Articles
72
» Total Authors
96
» Total Views
116316
» Total categories
6

Delete cookies set by this site | Top   

Article Manager by Flaxweb
Copyright 2006 © Flax Article Manager v1.1