Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








Input Text Connection To A Database Help


Help.
I have a mySQL database set up on my server with one table in it called streetTeam.
I am attempting to put together a form in flash that will populate the database.
the only inputs I have are input text boxes that have been labeled with the corasponding row names in my table. ie. st_firstName for (enter your first name)

Unfortunatly that is as far as I have gone. I know almost nothing about connecting to a database. I have tried in Dreamweave MX and it keeps wanting a testing server that I have recently asked my server what that is and if I can get one.

My question is (asuming that I can even connect to the darn table) how do I make the form work in flash MX.

thank you in advance for any help anyone can offer.

Chuck
http://www.wellchild.net




FlashKit > Flash Help > Flash Newbies
Posted on: 07-24-2002, 02:55 AM


View Complete Forum Thread with Replies

Sponsored Links:

Input Text And Combo Boxes To Database
I'm trying to send info from a flash form to a database using AS PHP and MySQL. The form consists of 3 input text boxes and 3 comboboxes. Does anyone have any idea of how to code this? I can't get it to work.

Thanks,

View Replies !    View Related
Input Text From Swf Files To Txt Filesor Database
hi,
i am new to flash and got a project of making TIC TAC TOE game i need to input a players name from swf files to txt files or to database .
so if any one have any code or solution so plz
help me

View Replies !    View Related
Database Connection
Is MX 2004 capable of connecting directly to a database - for instance Acces or Excel - to dynamically obtain and present records?
If not, which language/program would you recommend to present dynamic data on a graphics? For example, if you wanted to have few hotspots on a graphic map which on a rollover would pop a little box with data from an external table/database?
Thanks

View Replies !    View Related
Connection To Database?
Hi Guys! I'm New here! I have a question in my mind??? do have a Macromedia flash has a Connection to the Database?? like MYSQL??? Just a theory in my mind!! Thanks Guys!

View Replies !    View Related
How Do I Get Connection To A Database
How can I get connection to mySql database which stores movies? Please Help anybody

View Replies !    View Related
Connection Database
Hello every one, please some body to help me. How to store the data text in Access databases using flash form and to search into the database. It is possible to work without server because I don’t want to put this flash file on the net. If it isn’t possible please some body to tell me how to make databases and to connect with flash and to have possibility to search the database, but to work database in the local computer.

View Replies !    View Related
Database Connection?
Hello,

can anyone explain me how to access and use the data from database (ms access) to flash file?


thanks in advance,

Trupti

View Replies !    View Related
Database Connection
Hi everyone...i really need some advise concerning database connection with flash mx2004 pro. I'm building a very complex forms application and need to get lots of data in and out of the database backend to my flash app. the app is an web deployed Intranet app situated on a server running ASP. The database is SQL2000. I've looked at using the LoadVar method...which would be pretty much the same as a normal HTML to asp application. I've also looked at using the XML connector...but this looks like it would actually be more difficult. SQL Server will return XML data but its not in a format that i can easily use, and i dont want to write an XML parser in ASP to then pace it to the flash app. Has anyone got any thoughts or guidence on this......?

thanks nik

View Replies !    View Related
Doubt In Php/sql Database Connection
I downloaded this example from flashkit :
http://www.flashkit.com/tutorials/Ba...-635/index.php

I get :
Error opening URL "file:///C|/WINDOWS/Desktop/arjuna/sql1/Login.php?Name=raj"

when i try using it. the path is correct but it just doesnt seem to work. please help!

also if u can.. please tell me if theres a better way of accessing an SQL database through flash. If anyone has any example files... it would be highly appreciated!!

View Replies !    View Related
Database Connection (MX 2004 Pro)
Hi all!
Question: Can I connect a MS Access DB to Flash? If so, how do I do that? Perhaps you can point me to some good tutorial about it or something?
I want to connect a DB to my movie and let the users to be able to search for items by writing a key word or by selecting options etc... The results should be displayed in different text fields (ie - part 1 of the DB's entry displayed in field 1, part 2 - in field 2 etc...)

View Replies !    View Related
Opening A Connection With A Database?
Could anyone link me to some useful tutorials of how to make a connection or open a connection with a database? I've been looking at macromedia site all day, can't get a thing, they describe it, but i couldnt find anything to somewhat show you how it's done.. thanks!

is the only way through Flash Remoting?

View Replies !    View Related
Database Connection With FLASH? Help Please
Hi All

Can anyone tell me if we can connect our database with flash some how and if any one can provide a sample or tutorial for it would be really helpful.

Waiting for some help.

Thanks
F.

View Replies !    View Related
[CS3] Help: Interactive Map W/ Database Connection
Here is an example of what I'm looking to come up with in the end: http://smu.edu/maps/flash

Right now, my Flash file just consists of a floorplan picture for a certain building on campus.

Certain rooms are going to be clickable (a library item will present instead of just having the whole room area clickable). When a room is clicked, a pop up window/quote box will show up on the screen (much like the example in the link above).

As for the database connection, it will be used to put information in those individual windows/boxes (not the main concern yet).


I'm going to keep track of my overall progress in this thread, so I'm just asking for any other examples, or suggestions right now.

Thanks in advance.

View Replies !    View Related
Local Database Connection
Hi,

I am looking to build a desktop application with Flash and was wondering if there is a way to connect to a local desktop database. I would like to be able to distribute the application on CD and need to use a database as storage.

Thanks

View Replies !    View Related
Flash Database Connection (k)
I'm working on a portfolio for my company and would like to store the
information in a database and have Flash pull the information from that
database. I was thinking about using Filemaker Pro for the
database(we're an all Mac shop). The data would be stored locally and
shown locally.

Thoughts? What the best way to do this? XML?

-Kirk

View Replies !    View Related
Creating A Database Connection
Hello everyone,

I must program a mobile application for school. It must work on a Nokia N70 mobile phone so I'm working with Flash Lite 1.1.

Anyway, I have a database in PHPMyAdmin.

How can i read data from that database with flash lite?

I've searched with Google but dind't find something usefull.

i hope you guys can help me.

All the best,
Jeroen

View Replies !    View Related
Database Connection Without Swf In Browser
hey

is it possible to play a swf-file without a browser and still connect it to a asp-document and save data into a database?

we're making a game where we don't want to use the browser to play the game, and we still wan't to save highscores in a database..

/HI

View Replies !    View Related
Database Connection & Extraction
At the moment, I am just trying to extract info from a MySQL database through Flash via a PHP script. The script is:

PHP Code:

<?phpinclude ('include.inc');mysql_connect($DBhost,$DBuser,$DBpass);@mysql_select_db("$DBName");$query = "SELECT value FROM content WHERE field = 'FrontPageNews'";$result = mysql_query($query);$value = mysql_result($result,0,"value");print "&value=$value";?>


I have a multiline dynamic text box with a variable name of "value" and the following actionscript:
Code:
loadVariablesNum("php/read.php", 0, "POST");
stop();
But it is not extracting the info. It connects to the database fine, as I used it from a tutorial on FlashKit. The script works in phpMyAdmin, just not in Flash.

It does, however, work when I use the following PHP script, but it's not extracting the info from a database though:
PHP Code:

<?phpinclude ('include.inc');mysql_connect($DBhost,$DBuser,$DBpass);@mysql_select_db("$DBName");$query = "SELECT value FROM content WHERE field = 'FrontPageNews'";$result = mysql_query($query);$value = mysql_result($result,0,"value");$test_msg = "hello"; $test = "&value=$test_msg"; print "$test"; ?>


The page is at http://test.bigworms.com


Any Ideas?

View Replies !    View Related
Database Connection In Director MX
I want to connect a SQL Server 2000 database in Director MX. What is the best way to do this?

I imported a .swf file ,which got the datas from DB,into Director MX project. In Director MX, when I play the stage, it gets the datas from swf file. But when I export the project as .exe file, I can't see the datas from .exe screen. If I export it like .htm file, I can see the datas. ( I used getURL, loadVariables) How can I see (get) the datas in .exe file?

View Replies !    View Related
Plz Help Me On Database Connection Through Flash Mx(with Xml Or If Any Other Option)
Hi friends,

Help me how we can connect database.I know through asp using loadvariabls.I want direct connection to datadase through flash mx itself.

thanx

View Replies !    View Related
Plz Help Me On Database Connection Through Flash Mx(with Xml Or If Any Other Option)
Hi friends,

Help me how we can connect database.I know through asp using loadvariabls.I want direct connection to datadase through flash mx itself.

thanx

View Replies !    View Related
Database Connection In 2004 Prof
hi there,

is there any possibility of connecting to a database through flash 2004 prof directly (without using asp or any other prg language)...if yes then can u pls post a smaple file(s)...

thanks in advance

View Replies !    View Related
Question: Flash Database Connection?
hello there people...im a new user in this site. i really need ur help...how can i create a flash-database connection without using asp??? Y, bcoz i'll be making a stand alone system (interactive learning cd almost the same as ENCARTA)! Another reason is, i don't know how to use ASP!

i hope you can answer my question....pleeeezzzzz.....

thanks!

View Replies !    View Related
Question: Flash Database Connection?
hello there people...im a new user in this site. i really need ur help...how can i create a flash-database connection without using asp??? Y, bcoz i'll be making a stand alone system (interactive learning cd almost the same as ENCARTA)! Another reason is, i don't know how to use ASP!

i hope you can answer my question....pleeeezzzzz.....

thanks!

View Replies !    View Related
How To Establish Database Connection Using ActionScript ?
I am using Flash MX Professional 2004 and trying to create a database connection. I try to google but found only database connection using PHP. Is it actionscript itself do not have database connection? I must use the scripting language to create a database connection? I also read something about Flash Remoting but i think it require the scripting language as well.

I just started learning flash. Any help would be much appreciated. Thankz in advance.

View Replies !    View Related
Using DWMX: Php/mysql Database Connection Ok, Doesn't See Tables
Hello,

Forgive me if this has been brought up. I did a search for it and couldn't find anything, so I hope I'm not rehashing an old problem.

I have the database connection through the MySQL server working fine (after I had to go change the stupid old password thing), but it doesn't list any tables in the 'databases' tab of the Applications panel, and if I try to define a recordset in the 'bindings' tab, it says no columns are found. Anyone know how to get it to see the tables? I looked at the table properties in MySQL Control Center and it doesn't say it had restricted permission or anything like that.

Thank you very much.

View Replies !    View Related
User Input/database
Hello,

I was just wondering how to implement user data entry form into flash and connect it to a database. What I am doing is a mailing list with name, e-mail, city, and state. Any help would be appreciated. Thanks.

View Replies !    View Related
Input Boxes Send To A Database
I have a Username and a Password feild, now I want the submit button to check the input of those fields, and if they are in a database, then allow the user to login, and if they are not in the database, come up with an error or something.


Does anyone know how to do this or has a link to an easy tutorial?

Any help is appreciated!

View Replies !    View Related
Help Regarding Inserting The Input Textbox Value In Database----Showing Up Something
Hi

I have a file with multiple inputboxes.

when I insert the value in the inputtext box and click submit button the values are inserted in the database.

TILL HERE EVERYTHING IS FINE......

When I check the database the values are displayed in <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE.........


Can any one help.......

URGENT!

Thanks

View Replies !    View Related
INPUT TEXT - How To Restrict Number Of Lines Of Text A User Can Input Into Textbox
In a flash form I've created I have a input textbox. I don't want the user to be able to input more than 7 lines of text. Is this possible to do? I know that I can set a value for 'max char', but this is not useful for me -- it's essential that the user cannot input more than 7 lines of text.

How can I limit the number of lines a user can input into a textbox?


Thanks!
Glenn

View Replies !    View Related
Help With Email Form - Input Text Boxes Not Allowing Input
i placed an email form into a movie clip in this site...and the input text boxes are no longer allowing me to type into them.

the email form (which i got from flashkit), as it's own file, works fine, so i know it's possible...but for some reason when i take the movie clip from one file and drag it into the one i'm working on...it loses that input text funcionality. All the actionscript is the same...everything is identical...i don't get it.

i even tried to place it on top of a movie clip within the main content clip thinking maybe because it was an mc within an mc within an mc that had something to do with it...but not the case.

any help you can provide is appreciated.
(attached file was saved as MX..orig is in MX 2004 Pro)

thanks.

oh, also....how would i load movie clips to different layers?...if i understand some things i've read here, that will help me speed up the site overall...as it is VERY slow in browser. but...maybe i'm wrong.

View Replies !    View Related
Remove Input Text On Input Text Box Select?
Right now I've got an input text box with an instance name of EMail and Var of EMail. Then in my AS I've got:

code: var EMail:String = "Enter Your Email Address";

which puts "Enter Your Email Address" in the text box when it displays. What I'd like to do is when a user clicks inside the box to enter their email address is for that string to disappear.

View Replies !    View Related
Input Text To Show Up In Input Text Box In Later Frame
Hi, I am making a game where the player enters his or her name into and input text box at the beginning and then prints out a certificate at the end with his or her name on it. This is the actionscript I am using, however, this only allows me to have the box where the player enters his or her name to be on the same frame as where the text appears.

input_txt.onKillFocus = function () {
user_name = input_txt.text;
input_txt2.text = user_name;
}
_global.style.setStyle("fontSize",30);

I was wondering if there was anyway to modify this script to make it so that the name appears in the input_txt2 box in a later frame.

Thanks,

Lindsay

View Replies !    View Related
What Are The Best Ways To Capture Input From An Input Text Field?
Hi,
I don't know ASP, CGI, PHP etc. I do, however, have a flash form with two input text fields named “E-mail” and “Name”, and a submit button.

How can I set this up so a user can input the info in these two fields and click the submit button to some how send me the data - Via Email? txt on the server? Anything...

Also, if this is not possible, what is the simplest way to learn PHP or whatever is most appropriate to get these goals accomplished.

Thanks,
Stephen

View Replies !    View Related
Converting Input Text To Non-input With Actionscript
Is it possible to set a text field whose property is Input to Static Text with Actionscript?

View Replies !    View Related
Loading Text From A Database Into A Text File Inside A Movieclip
Okay. I have a movie clip with two frames. Inside frame 1 is a text box named "home_copy". The mc in which this textbox resides is given an instance name of "copy". Frame 2 has a different text box (we'll worry about this after solving probelm 1.)

So I'm using loadVariables so that the site is compatible with old browsers.

The PHP file I'm grabbing has this at the end:
Code:
&home_copy=Welcome to EROS. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. etc.
So how do I get my php source code to go into the text box, "home_copy", which is embedded into a movieclip, named "copy".

thanks

View Replies !    View Related
Net Connection Without Internet Connection Whoas
Hi does flash media server 2 require a connection to the internet i'm using the evaluation version on a computer which is not connected to the Internet at all I've checked my net connection strings and they are in order and these apps work on the computer that is connected to the Internet....this is a strange problem here is my netconnection string ....
my_nc.connect (" rtmp://localhost/server_test");.......what could possible be wrong.

View Replies !    View Related
Input Text Field Won't Allow Input
We are having a really strange and stupid sounding problem with a text input box. It appears but won't allow any input. Before you shout 'stupid newbie' yes the properties are correctly defined as input text etc.

The input field is in a movie clip i.e. _root.myClip but we have never had this problem before. It is probably something obvious to to prevent us pulling out all of our hair has anyone got any idea why this is happening. We have tried forcing the text box focus etc but to no avail.

Help us!!!!!!!

View Replies !    View Related
How To Input Text Without Input Textfield
hi,

does anyone know, how i can display user input text without a textinput field ?

what i'm trying to achive is a message that is displayed on screen like in multiplayer games:

you press "t" for talk, and you see what you write in a kind of console but without changing to a text field

thanks

View Replies !    View Related
Trasfering Text From One Dynamic Text Box To A Input Text Box On A Differnt Page?
Ok so I have a text box set up which receives the date on a callendar which you click on. On another page (a seperate html file) I have an input text box for receiveing this text.

I've been trying to do this using various methods using getURL, but, I can't get it to work. This is becoming tedious especially as I'm not able to test it without having to reupload the files.

If someone could please inform me on how I should do this I'd be vary greatful.

If you need any further information I'll reply as soon as possible.

View Replies !    View Related
Input Boxes - Then Printing A Frame With Dynamic Boxes With The Input Text In Them...
I have created a flash document with input text... I put the input text with a a variable for each.. I need to print the variables on a seperate page. I used a bounding box inside a movie clip and the printing is working correctly... However it is not reading my input boxes into the dynamic text boxes..

What I did is I have the input boxes on the root timeline........ You input it and go through a few frames and you get the option to print from a button (which is printing 2nd frame of a movie symbol) NOTE: the printing is working correctly using #b.... This is what I have on the 2nd frame of the movie clip for the dynamic text boxes to read the input boxes and place those variables inside of those dynamic text boxes so it will print them as they inputted them...

Here is what I have for my button:

on (press) {
print(_root.Printing, "bmovie")
}


Here is what my variables are on the input boxes which are sitting on the root timeline, each word is a variable:

curious
passionate
accountable
resourceful
commited
teamwork
open
engerizing

External_focus
Clear_thinker
Imagination_courage
Inclusive_leader
Expertise


INSIDE THE PRINTING MOVIE I HAVE A FRAME WITH THIS ACTION ON IT FOR THE DYNAMIC TEXT BOXES TO READ THE INPUT TEXT BOXES:

External_focus1 = _parent.External_focus;
Clear_thinker1 = _parent.Clear_thinker;
Imagination_courage1 = _parent.Imagination_courage;
Inclusive_leader1 = _parent.Inclusive_leader;
Expertise1 = _parent.Expertise;
curious1 = _parent.curious;
passionate1 = _parent.passionate;
accountable1 = _parent.accountable;
resourceful1 = _parent.resourceful;
commited1 = _parent.commited;
teamwork1 = _parent.teamwork;
open1 = _parent.open;
engerizing1 = _parent.engerizing;


FOR SOME REASON IT IS NOT PRINTING MY INPUT BOX INFORMATION IN THE DYNAMIC TEXT BOXES.... DOES ANYONE KNOW WHY?

View Replies !    View Related
Getting Text Out Of A Database
Hello, i am trying to display the information i have contained in a database in Flash, i am using mysql and PHP.
The php code i have is

Code:
<?PHP
require 'include.php';

$link = mysql_connect($DBhost,$DBuser,$DBpass)
or die("Could not connect : " . mysql_error());
mysql_select_db("$DBName") or die("Could not select database");

$query = "SELECT gallery_info FROM galleries WHERE gallery = 'archaeology'"
$run = mysql_query($query);

echo ("page_text='hello'");
?>
Then back in the flash im loading a new movie and then trying to display the text in a dynamic textfield named page_text. The code i have on a button is this,

Code:
loadMovie("gallery0.swf", "_root.frame");
_root.control.loadVariables("http://www.sackonnect.com/museum/get_info.php", "GET");
The problem is that its just not displaying the text, in the dynamic text field it just displays "_level0.form.page_text". Could the problem be that im loading a swf into an swf and thats affecting how it works? and how do i fix that? or are very many more problems in my code, thanks for any help

View Replies !    View Related
Database Text
Hi,

Was wondering if anybody knows if it is possible to animate (simple fade in fade out) text that is being called into Flash from a text file or database?

Cheers,

Marty

View Replies !    View Related
Cant See My Database Text?
hello all,

I have attached a simplified swf of my project. for some reason I get the output of the html text from my db when I trace it - but it does not show up in my dynamic textbox??

Can anyone see what I am doing wrong?

you can see the db text here

Thanks for any help,

View Replies !    View Related
Database Text
Okay so I have my flash doc getting some text from my database. The text uses HTML tags. The problem is that I cannot get the formatting to show up unless I use device fonts. Using actionscript I have this text field fading in and out at times (tween class). I cannot use alpha on the device fonts. I would like to use arial. Embedding the font is not enough.
So as of now either I keep the formatting but dont have alpha to work with or have the words missing between the tags.
I'm sure this issue is easy to fix. I have searched the forums but found nothing on this. Thanks everyone. This is the best flash blog around!
-Eric

View Replies !    View Related
Dynamic Text And A Database. HELP
Just wondering if it is possible to have a tex box get it's text from a database or a Word Doc or other means? The reason is, I want to create a website mainly using flash but I don't want to continually open the flash file to update certain text areas.

Is this possible?
I'm fairly new to flash.

More info >>>
I have a scrolling text box that I would like to get the text into. Can you "call" the text box to look for a file or something?

View Replies !    View Related
Loading Text From Database To Swf
I've tried to load texts from database to swf.
It is loaded to the flash(swf) successfully to load english text to the flash.
http://www.gazzone.com/enter.htm
Please pay attention to the upper left area that loaded text...

Who know how to load Chinese to the swf without problems!?
My swf loaded chinese and the chinese changed to some "monster-code".


I've success before! But it didn't work this time.
http://www.gazzone.com/test

View Replies !    View Related
Saving The Text Into The Database
Hi all,

I had create an input textbox with a variable name called "Text1";
I need to save it into the database using asp. I had already written the asp code. May I know how to write the actionscript to save the text I entered into the database?

Regards
Fernado

View Replies !    View Related
Linking Text From Database
I am making an email app using Flash MX

I read the users inbox messages from a database using PHP and display the list of messages. The list of messages in the inbox displays each message with the following format.

the sender, the subject and date

I create the list of messages by attaching a movie clip containing the 3 dynamic fields from the library.

Now I want to make it so that the user can click on this text to actually open the entire message and view it.

Any ideas how to add links

Thanks

Paul

View Replies !    View Related
How Can I Get Text From Database Directly
Hi all , How r u u, really i am trying to get text from database directly without using any external file(asp,php), i need to load the text from the database on flash and any change on the database appear on flash .

i hope i will find the best solution here ,

thank u alot

View Replies !    View Related
Imput Text To Database
is there any tutorial that anyone knows about where as a viewer of a projector can imput details about themselves (name / email / company) and then that data being transposed to a excel database?

Help!

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved