Php :: Make Some App In Flash - Receiving Some Data From User And Storing In Data Base?

Jan 18, 2012

i am looking for some kind of library which does CRUD easily using PHP and MYSQL.My goal is to make some app in flash AS3.0 , where i will be receiving some data from user and storing in data base , and perform CRUD opertaions. I dont want to be so much involved in writing php and sl query.My scenario is:

Data types : [ like user_profile data, etc]

add under data types 1 to many fields with various types..

Database tables and realtions etc should be done by my DREAM library, then user when select a Dtat Type, he is presented with related fields to fill up data.

I will be using Flash AS3.0 ( Builder or IDE ) to perform .If only i can find some php library i think AMFPHP can connect flash with php

View 2 Replies


Similar Posts:


Professional :: Method Of Storing/receiving Data?

Jul 29, 2011

I'm goofing around with developing a Flash game that would be accessible via a Facebook application but am still trying to figure out how I want to organize the game itself. The game essentially is an educational game with competitive components - completing tests faster results in more points with which you can customize your avatar and other items in the game. Also, passing certain "lessons" open up new lessons. So the major components I see are:- Player data storage (scores, progress, etc.)- Social connections - transference of rewards, comparing high scores, etc.- Lesson data (what questions to ask, possible answers, etc.)How is this best controlled? PHP and SQL? XML? Should I use datagrids as an intermediary? I'm having a lot of problems finding good information, both on the internet and at the bookstore about how to manage this.

View 3 Replies

Media Server :: Storing Data For Upload When User Leaves?

May 30, 2009

I am trying to work out if FMS is the solution I am looking for. I am trying to create a system that will store data, and upload it to a database when the user leaves the page. I thought the best way to achieve this would be to send a data object to the media server, check on an interval to see if the user is still active and then somehow upload the data when their "session" times out.

View 1 Replies

Php :: Storing Data From Flash?

Feb 2, 2011

What is the best way to store data gathered from a flash file, and load it into another flash file? Would xml or php work? and could it be instantaneous? Here is a diagram of what i am trying to do...

[URL]

View 2 Replies

Actionscript :: Flash - Receiving Data From A Loader?

Apr 2, 2011

This is something I noticed on the Adobe documentation pages.

When receiving a textfile from a URL, the function to set the text will either look like this:

function completeHandler(event:Event):void {
var txt:String = URLLoader(event.currentTarget).data as String;
tf.text = txt;

[Code].....

View 2 Replies

C# :: Can't Get Redirecttoaction To Work In Asp.net Mvc After Receiving Data From Flash

Apr 18, 2011

I'm building an action that basically handles receiving post data from a flash app,I have no problem receiving the data. after that, it should redirect to another controller/action.I tried Redirect, RedirectToRoute, none of them worked.[code]

View 1 Replies

Actionscript 3 :: Sending And Receiving Data From Flash To PHP?

Jul 29, 2011

I know this is frequently asked, but I have looked all over the internet to find the mistake I'm making with the code I've used to send and receive data from AS3 to PHP and viceversa.Can you find the mistake? Here is my code:

AS3:
import flash.events.MouseEvent;
import flash.net.URLLoader;

[code].....

View 3 Replies

ActionScript 3.0 :: Flash.net.Socket Not Receiving Data?

Jul 20, 2011

I'm trying to make a barebones, simple flash client communicate ANYTHING to a server over a regular socket. I setup the listeners:

socket = new Socket();
socket.addEventListener(Event.CLOSE, closed);
socket.addEventListener (DataEvent.DATA, onSocketData);

[code]...

And then I connect. On the server side I have a simple policy server on port 843.And then the real socket server that the flash client is connecting to.The flash client connects to the policy server and gets the policy. The flash client then connects to the actual socket server. I know this because I can both see it when snooping the network traffic and the fact that the Event.CONNECT fires off. From snooping the network traffic I can see the flash client send data TO the server when it:

socket.writeUTFBytes( "TEST CLIENT
");

From the server app I can see the data the client sent. The server then returns a little data. I can see this data going from the server to the client in the network traffic snooper. However, the client NEVER sees the data. It never fires off DataEvent.DATA or ProgressEvent.PROGRESS or ProgressEvent.SOCKET_DATA. There are no errors and the connection remains open for as long as I want it... but the flash client never seems to see the data... no matter how much I send.

Over and over I read online that the data sent to the flash socket needs to be terminated with a � zero byte. I can verify it is in the network traffic snoop.if I try to read any data from the flash app via something like readUTFBytes it always returns nothing found.

View 2 Replies

ActionScript 3.0 :: Flash.net.Socket Sending But Never Receiving Data?

Jul 20, 2011

I'm trying to make a barebones, simple flash client communicate ANYTHING to a server over a regular socket. I setup the listeners:

socket = new Socket();   socket.addEventListener(Event.CLOSE, closed); socket.addEventListener (DataEvent.DATA, onSocketData); socket.addEventListener(Event.CONNECT, connected); socket.addEventListener(

[code].....

View 1 Replies

Actionscript 3 :: Flash - URLRequest/URLLoader - Server Not Receiving Data?

Sep 11, 2011

I am trying to send a server "schooltraq.com/api/" variables for a request.My Code:

package
{
import flash.display.MovieClip;
import flash.display.Sprite;
import flash.events.*;

[code].....

How ever when I keep getting back "error:empty request". I emailed the site owner and he said that my program may be dropping the data during redirects.[URL]

View 1 Replies

ActionScript 3.0 :: Flash - Keep Animation Running While Receiving Large Data File?

Feb 3, 2011

I'm developing a web application with Flash CS5 and AS3.0. The problem I'm having is this:At a certain state, the application goes to a frame with a "loading..." animation that loops continuously until the next state is reached. The animation is inside a MovieClip that lives on this frame on the stage (I'm not creating or animating it dynamically). While in this state, the app is waiting to receive a large xml file from an XmlSocket connection. The file takes a few seconds (literally - not milliseconds) to be received fully by the Flash player, and during this time the loading animation stops. I believe the socket is blocking the animation thread until it's done receiving the entire file.Does anyone know of a workaround that would allow the animation to keep playing while the socket is receiving? I've seen pseudo-threading hacks, but those always deal with computations or other activities that can be accomplished by calling a call-back function multiple times. Since I'm just listening on an open socket, there's no callback I could pass to a pseudo-thread.

View 2 Replies

Flash :: Storing Several Gigs Of Data Using Its Filesystem / Cache?

May 13, 2011

Is there anything preventing a Flash website from storing several gigs of data using its filesystem / cache?What are the limitations?

View 1 Replies

Actionsipt 3 :: Sql - Read A SQlite Data Base From Flash

Jul 16, 2011

im having some problems trying to read a SQlite data base from flash using AS3. The data base was created with this php script:

[Code]....

As you can see, this creates a database like this: After this i need to read this database in AS3, using this very simple script:

[Code]...

View 2 Replies

ActionScript 2.0 :: Flash - Collect Data From The User And PHP To Mail The Data In A Confirmation E-mail,it's Not Working?

Jan 23, 2004

I made this small shop that uses Flash to collect data from the user (and what they want to buy) and PHP to mail the data in a confirmation e-mail. it's not working

View 1 Replies

ActionScript 3.0 :: C# Code For Storing Data Not Working Online Using Flash

Feb 20, 2011

i have some problem which i dont think of a reason why it happening. I have some Flash (swf) that send variables to aspx/aspx.cs page. the aspx files are on Web Server, when im testing the swf file local (on my computer) the variables are send and store in SQL. When im upload the swf + html file to Webserver (not on the same server when the aspx files) it does not working. i was tryin to upload the swf file to the same webserver where the aspx file and its working! when the swf on one server and the aspx on other server its not working...

View 3 Replies

ActionScript 2.0 :: Search From Access Data Base File In Flash

May 30, 2004

I am working on one CD presentation for chamber of commerce I have to make a search engine in this CD presentation. they have 8,000 company name address email website address and product details in Access data base can i make a search in flash MX or is there any possibility to search from XLS file

[Code]....

View 1 Replies

ActionScript 3.0 :: Receiving Data From Php?

May 31, 2010

my first flash webpage sends data to a php script.  I then do

var result_data:String = String(contactLoader.data);
if (result_data == "ok")
{
navigateToURL(strURL, "_self");
}
 
So if the data is sent with no problems, it will load up my new url.  Problem is, this new url needs this data to display it.  So, if my php file holds the data in variables, how can my new url retrieve these in real time? (meaning that data goes straight from swf to php to new swf)  I have been trying LoadVars, but not sure if this will work in real time, maybe it will.

View 8 Replies

Php :: Sending And Receiving Data?

Feb 28, 2012

Not getting data back into flash from php that queries mysql data, think the problem is with my as3 code here?The php works, the as3 posts to the php ok, its the returning of the variables to as3 that I am unsure about and seems to be the problem?

public static function MineData():void{
var myRequest:URLRequest = new URLRequest("login.php");
var myLoader:URLLoader = new URLLoader();

[code].....

View 1 Replies

Actionscript 3.0 :: Receiving Data From A Different Url?

Jun 29, 2010

I'm setting up a kind of database, where the data are coming from a specific url.
I receive the source code of that url, get the data I look for, and display this in a text box. This works fine as long as I start the swf locally. However, when I copy the swf to my home page, the data obviously cannot be received anymore.

To make it more clear (with fictional url): Homepage [URL] contains the swf; tries to automatically read and display the source of [URL]

View 11 Replies

ActionScript 2.0 :: Sending/receiving Data From An API?

Aug 4, 2009

We are thinking of adding a feature to a main page of a flash site that I will be building shortly, but it requires sending data out to an API where it will be processed and send back to Flash.The form will need to post a number of variables to a URL and then interpret the response code.. is this possible in AS2?

View 9 Replies

ActionScript 3.0 :: XMLSocket Not Receiving Data

Aug 4, 2009

I'm writing a flash chat program using XMLSocket.It's connecting and sending data just fine. The server is sending the data back just fine (I checked the packets on Ethereal), but Flash is just not receiving any data.[code]The server is a Java server written with the NIO classes.

View 2 Replies

ActionScript 3.0 :: Receiving Data From Call Method

Sep 28, 2008

I have a problem with my code that I've realized to read data from txt file. My problem consist to receive data by call a method I've try a lot of ways but I'm not to be able to resolve it. I attach my code. This code is a class.

View 8 Replies

Actionscript 3.0 :: Storing XML Data?

May 6, 2009

I need some help with my code please. I have a for loop that creates sprites and loads images into the sprites theough XML. I have additional nodes for each image and sprite that get created that I want to store and call when I roll over the thumbs. What would be the best way to do this? I had to "improvise" and have the for loop create text fields to hold the data and then call it when I roll over throught "evt.target.

[Code]...

View 1 Replies

ActionScript 2.0 :: Starting With XML Sockets - Sending And / Or Receiving Data

Jul 18, 2004

I've begun playing with Flash and XML Socket Servers and I thought I started taking to it easy, I was able to connect and disconnect to a socket server I wrote and Unity but I seem to be having problems sending and/or recieveing data. I wrote a small amount of code to try it out:

[Code]...

It seems to be connecting fine but when I click and I try my send,

View 2 Replies

ActionScript 2.0 :: Keypress Storing Data More Than Once?

Sep 19, 2010

When a key is pressed, data is sent to PHP to be stored in a MySQL database. For each key press, only one entry should be posted. it re-posts exponentially (e.g., 1st key press = one post, 2nd key press = two posts, 3rd key press = three posts; thus, totaling six posts).Initially, the event listener for key press existed alone on a single frame. When that was the case. This issue did not occur. I added an additional frame so that I could set to clear out all variables and start fresh.

so frame 4 will have :

KeyListener = new Object();
KeyListener.onKeyDown = function(){
if (Key.isDown(69)){ // if key pressed is "E"

[code]....

View 1 Replies

Data Integration :: Storing Value From XML Into A Variable?

May 17, 2006

There is a combo-box by the name "cbJobs" and it gets its value from the XML file named "data.xml".. I want to store the value transferred from this XML file into a variable.. so basically someone told me to use the code

on (change) {
_root.subject = this.getValue();
}

the only problem with this code is that it gets activated only after I "change" the value in combobox by pulling it down.. I want to use this value obtained from _root.subject as a subject in the script

getURL("mailto:abc@abc.com?subject="+_root.subject);

View 1 Replies

Actionscript 3.0 :: Storing Lot's Of Data At Runtime?

Oct 11, 2010

I'm now writting a little drawing tool, that will allow users to save their drawings and the redraw them. Now I'm only concerning myself with diferent colored lines with diferent thickness. So now I only need to store the values, that will be used later on when calling the canvas object's graphics.lineTo(....); method. I'm planning to save all of my drawings in XML, but I still need to load them up when I want to use them.

Given my situation, what's the best way to load up my data (after loading it in chunks): Arrays, Dictionaries, anonymous objects. We're talking about loading up, let's say ~ 1000 Point instances for a very simple shape, since I want the drawing to be pixel-perfect, since I will be modifying it to a more sophisticated tool later.

View 4 Replies

ActionScript 2.0 :: Storing And Using Data From PHP In Movieclips?

May 5, 2007

I'm currently having abit of problem with splitting some data and inserting it correctly.On screen I am going to have 3 movieclips (with a dynTextfield already placed inside them).Using data imported from PHP I plan to put the project names of the returned results inside the movieclips. The problem with this is if the results are more than 3 then there aren't enough movieclips. To over come that I was thinking of using a 'more' button where the project names would get pushed out of the movieclips and the new set loaded in/along.

At the present moment I can split the data (received from PHP) and trace it accurately, although I'm not sure how to go about storing it now. I was going to use and Array and store to store the info and call it in the buttons, however I haven't used arrays before.

Code

Code:
function fetchInfo(){
//Query DB for existing projects:
fetchProjects = new LoadVars();
fetchProjects.userID = _global.UserID;

[code]....

At the moment in my test there are 2 results that are returned.

View 1 Replies

ActionScript 2.0 :: Storing Data On Server (in MX)

Jul 23, 2003

I was wondering what the easiest way to store a small amount of data on the server would be.

Basically I wanna keep a hiscore table for a flash game, and would need to store juz a couple of names and a couple of score in a little file, but i havent the faintest idea how to go about it.

View 1 Replies

Professional :: Real Time Posting And Receiving Data To And From Txt Files?

Apr 6, 2010

The component itself receives all its parameters from a .txt file. The editor is a read/save form that initially loads the parameters into it's form fields, and then overwrites the .txt file when the user hits submit. You then refresh the component on whatever website you have it to see the changes.Here's the php code that I found to get me going:

<?php  //Capture data from $_POST array  $title = $_POST['Title'];  $comments = $_POST['Comments'];  $image = $_POST['Image']  //Make one big string in a format Flash understand  $toSave = "Title=".$title."&Comments=".$comments."&Image=".$image; 

[code].....

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved