Flash CS4 And Database Use (MySQL, ACCESS, Etc.)?
May 20, 2009
how tp use databases with Flash CS4 ?I have created a form, an email page and a username/password protected pages, but I cannot find any tutorials that would help me how to connect to a database.
View 7 Replies
Similar Posts:
May 31, 2010
I am accessing my MySQL database through Flash using AS3. I am using php scripts to access my database and send and receive variables. Everything is working fine. No problems there. The problem, or rather the question is, is it possible for flash to run a script to access a database without a webserver running on the machine? Isn't there some sort of plugin or adapter or interface class available in flash that will allow me to do that?
View 7 Replies
Feb 10, 2009
something strange about loading database mysql with urlloader
[url]
when i compile and run it via flash it worked , i can load the data but when i embed that swf into website the data won't loaded . what's happened?
View 3 Replies
Jan 13, 2010
I have a Flex application which manage a database composed by 7 tables.I have created the insert form and all work great. Now I wanto to improve the Form performances; the idea is to replace the TextInput of the Form with ComboBoxes which are provided by the DataBase tables
View 1 Replies
Oct 24, 2010
I am reading one tutorial :- But I can't understand what is "Gateway.php" and all such things. I am a beginner in Flash.
View 2 Replies
Dec 24, 2010
I am making an online game with AS2 and my method for storing the location of users is with a table with columns: name, x, y. The table has many rows.
I have a PHP script which makes a query in the DB for all x and y locations from -6x to +6x and -4y to +4y (Relative to the user).
If a user exists at that location, then they will be printed on a list that will end up looking something like this:
&username1=John&x1=16&y1=8&username2=Fred&x2=16&y2 =9
I want to know how to make a loop which takes the information printed from the PHP script and use some sort of efficient loop to take username1, username2, username3, etc. and place them at the x and y positions listed. I will use the "loadVariables" function to get the variables from the PHP script.
The main thing that confuses me is how I am to make a loop which manipulates the variable name. I am thinking of using OO with which I can do username(1), username(2), etc. but I am not familiar with actionscript so it would be difficult.
I also need to be able to place an object from my library to the screen and when I did a search, I could not find how to do this.
View 1 Replies
May 15, 2011
I need some help with a flash app im currenctly programming. I have a management flash app that does some operations in a MySql databases. I have had some problems, but for the most part, I have been able to press on. I'm a flash AS3 newb, so bear that in mind.
My actual problem is that I need to do a "Search" module, and I need it to print several results at once. I am although unsure how to get the results on flash. what I have been doing now is calling a php script that, after doing its operation, does something like (for example):
[Code]...
View 2 Replies
May 3, 2009
I am trying to connect to a MySQL database using PHP in Flash CS3 using Actionscript 3.I have written the PHP file and some AS3 code and it displays the information but for some reason it also displays the tags.[code]The picture below shows what happens when I test the movie.I also need to add buttons to move to the next and previous record and to add or edit the database via the Flash interface?
View 7 Replies
Sep 19, 2003
I'm trying to get text from a database into Flash via PHP/MySQL. While this works perfectly outside of Flash (ie. the text shows up fine if I just open the PHP file), I get an "undefined" in my textbox when I try to get the text in Flash.
[Code].....
View 4 Replies
Jul 1, 2010
for my project im trying to get output data from xml into flash...with images & url with description on top of image, load like 10 images with ur and if there is more give me options with numbers.
View 1 Replies
Dec 21, 2009
I have a quiz game that i have finish. in this game have a finish button. if the finish button clicked the score from the quiz want to insert into mysql database.
View 1 Replies
Mar 22, 2011
I am trying to create a video that loads the videos stred in a directory, depenant on the users id etc.To do this, I am using php. However, I cannot then get the php to convert to xml within the actionscript:[code]It works with a normal xml file just not php
View 1 Replies
Jan 10, 2012
I would like to have a Flash Application (not air) to connect to a local database. Air is not only getting unsupported by Adobe in LINUX but besides, it has serious problems and miss implementation with SQLite. So we want to connect to a local MySQL database. This application should be simple, so we do not want to also have an unnecessary web server (also local) to make a middle communication between the flash app and the MySQL server. There is this driver that allow to communicate Flash with MySQL [URL] Question is: Would it be any problem using this approach when installing the whole application to each client? (because we also in the installation should install a MySQL server).
View 1 Replies
Jun 18, 2008
First time poster and new to the board. I have been asked to solve a difficult problem and am seeking guidance in completing the task. Basically, to give you an overview, I need to build a custom tracker that counts how many clicks per month a particular link(s) is/are hit within a website I built. I used Flash (ActionScript 2.0)and XML to build the website along with pulling in external swf files as needed. I have an idea of how to create the MySQL table using myPHPAdmin. I know I want to build an actionScript class to pull into the core swf that holds a majority of the functionality, and to create a PHP file that will pass the info to the simple MySQL database AND send an email out on the last day of each month with the totals from the database. Then I need to reset the database to 0 for each link that we are tracking on the 1st of every month.
My goal is to make it as reusable as possible in case I am asked to follow any more links within the site for documentation. Does anyone have some good documentation, examples, or reference links to point me towards? I have an idea of what I want to do, but I'd also like some other people's input on how they would possible move forward in completing this task.
View 4 Replies
Mar 14, 2007
i like wrote this
getcardimages.php
<?php
$server = "localhost";
$user = "khelorummy_d";
[code]....
and in design mode i took one movie clip and i named it as "container". is it correct?why images are not displaying when i execute getcardimages.swf?
View 4 Replies
May 3, 2009
I have managed to connect to my database in flash using php. I need to be able to add records to the database using a flash interface.
Here is my existing code:
Code:
stop();
Security.allowDomain("*", "localhost:8888");
var dives_xml_url:String = "http://localhost:8888/pembrokeshire_diving/generate_wrecks_xml.php";
[code]....
Obviously I will also need to add buttons and text fields to facilitate adding the data but I wanted to know if it was possible first.I am using PHP and MySQL with MAMP.
View 14 Replies
Apr 11, 2011
I am relatively new to flash, xml and php. I am looking to load a video which the url is stored in a mysql database into flash.I have stored the video url into the database.But how do i display it in flash?
View 1 Replies
Apr 20, 2009
I would like to make my flash form submit to mysql database.
View 2 Replies
Apr 16, 2012
So, here is the question. I have a small flash application that sends some variables to a php script (via POST), and that php script sends them to a mySQL database.
This works fine when I'm testing my flash offline, I go to phpmyadmin, and the registry is done. When I upload the swf to a online html, this stops working. It no longer creates another registry in the database. I have no ideia why this happens.
I read a bit about it and found out about cross domain policy, and thought it might be the problem. Thus I made a small .xml file and uploaded it to both servers (the one the swf is on, and the one that has the database), and its still not working.
[Code]...
View 1 Replies
Jul 1, 2010
I want to get data from a database of my site. In the setting of the project point out Root URL: http://...:** But what to set in Root folder?
Already tried the two dozen variants and Validate location does not work.
View 1 Replies
Mar 24, 2012
I want to develop a backend admin solution to save images for a post using some multiupload flash uploader. I mean that kind o f uploader, where when you click on browse and than in the open dialogue box you can choodse mulitple files using CTRL plus LEFT MOUSE CLICK).I would like to save every new image to the database. With saving I mean, creating a new row for every item(image) in my table called images:1.id (automaticallyncreasing)2.file_name3.user_who_uploaded_that_bookI would like also to limit the number of files that can a user uplaod (e.g. max 20 files) somewhere in the config file.
View 2 Replies
Sep 25, 2009
how Flash reads the PHP coding which was generated from the MySQL database.Though, I was wondering if anyone can help me with this task and/or clear stuff up. All I want to do is grab a single video file, when on the video.php page. So, the video.php will have the parameter, video.php?id=____ and than the PHP coding in the header will grab the database info for that video. Though, do I have to create a separate page for the flash to grab that information?Like, I notice that for Flash to grab that info, PHP needs to set it up like so:
Code: Select allvid=test.flv&title=title...
and ect. Though, do I have to echo this part out, or do I have to send that PHP info and create a page from it, than have flash grab the information from that 2nd page?
View 1 Replies
Aug 16, 2008
Is there a way to easily get data from mySQL database and display it in a dynamic text field?
View 5 Replies
Dec 18, 2003
is it possible to get data from mysql database and post it to a flash movie dynamically without refreshing browser?
View 6 Replies
Dec 9, 2010
I am a US Marine and I am trying to help my shop out by building a program that would allow me to maintain records of gear so we do not have to count millions of pieces of gear everyday. So i built a database:
[Code]...
View 2 Replies
Oct 11, 2006
I need to create a login page in my flash site that relates to information input to a mysql database. after the submit their information we want to send them a link to a differnt flash page with a login screen they will use their first name and a password (already in our database) to gain access to this "new" page. on that page there will be a welcome message that says "Welcome, User First Name" so I guess i have two questions
1: how do i set up a login page?
2: how do i pull that login info to a welcome page?
View 7 Replies
Jan 10, 2011
how do you make these software interact so when i play the game it has a login, highscore.i really dont know what im doing so if you reply can you please give me step by step intructions
View 1 Replies
Apr 19, 2011
how do you make these software interact so when i play the game it has a login, highscoresorry i really dont know what im doing
View 10 Replies
Nov 13, 2009
Is it possible for Flash or possibly Adobe AIR to have access to a local Access database?
I will have either a Flash EXE or AIR application running on a local PC (WinXP). The PC will also have a local Access database. I need my Flash application to get the data from this Access database. How would I do this?
I doubt it can be done with Flash or AIR alone (someone prove me wrong or right), but is there an option for some middle-man application to access the data base and send it on to Flash? How would this work?
Or could I read the MDB file into Flash and parse it myself? is there a library for this?
View 2 Replies
Feb 18, 2010
how different is actionscript 3 compared to actionscript 2 i mean to integrate a datebase using mySQL if so how?
View 1 Replies