ActionScript 3.0 :: Communicate Flash To PHP Then To Mysql?
Jan 13, 2010i am trying to communicate Flash to PHP then to Mysql..
i have tried and tried but its still didnt work whereas i have cheked many many times about the script
i am trying to communicate Flash to PHP then to Mysql..
i have tried and tried but its still didnt work whereas i have cheked many many times about the script
Communicate flash to php to mysql to get data back to flash. Everything works fine but I found a really annoying bug. Problem: Depending on the URLRequest, I got to put www in the URL of the browser to make my flash work.
[Code]....
I have a typical Flex-based application that was written to use a Java/Hibernate/MySQL backend. The client changed the requirements - now they want to distribute it on a CD where the user can just run the app without any installation or a network connection.
To do this, I certainly need to eliminate the web server and the database server and adapt my application (with as few changes as possible, of course) to a stand-alone application that will fit on a CD/DVD. I've managed to export the data to XML and read it into Flex, but I'm wondering if there's a way to recreate the Hibernate data structures in Flex so I could change as little code as possible. Failing that, is there any way to keep the existing Java/Hibernate external to the Flex code but retrievable without installing Apache Tomcat or MySQL?
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 RepliesI have downloaded MySQL JDBC driver from [URL]... How do I configure it?
View 1 RepliesIn my table the Collation is:latin1_swedish_ci (but i tried UTF8_unicode too).In my flex application when it shows the table,it displays it correct,with all accent and pointing correct,but in the table is like :
View 1 RepliesIs there any way I can have an integration between Flash AS and C++? Let's say I have created a socket using C++ and multi-casting it to several ip addresses.
On one of the IPs I am running a Flash client. Can I receive the Multicast message (sent by MFC/C++ application) through my Flash application.
Or at least can I develop a Flash plugin (menu item) using C++?
I have written a flash program using AS3 which allows the user to build a picture of a product using a variety of options displayed in checkboxes. Very simply these checkboxes either make a layer visible or invisible in my flash movie and certain choices may change the list of options. This information is currently being supplied by XML. Once the user has built his product, I would like to be able to save his choices in a SQL Server database and also be able to download his options again at a later date and view these choices at the manufacturing plant.
So far I have tried using asp.net to write to the database and have got the information to the asp.net program by using the querystring, however there may be up to 50 options which does make a querystring rather unwieldy. Also I cannot seem to send back information from the asp.net page to my actionscript.Can anyone tell me how to do this or give me an example? I am supposing that I use the response.write function in asp.net but what command in AS3?I looked into the possibility of using a webservice but see that AS3 no longer supports this as all the functionality is in Flex. I have read about Flex but still do not understand whether
How can you communicate with a c++ app in flash?
View 1 RepliesI am working on a flash game and want two swf to communicate with each other. I tried local connection but dont know why sometimes it doesnot work.
View 1 RepliesI'm trying to communicate my flash application with my server. Either the problem is my code is working on Flash Professional, but I have prepared all my interface on Flash Builder which uses Flex 4 -SDK. My code does not work on Flex Project.
[Code]...
I am trying to make myself a simple metacafe uploader, and I am using the webbrowser to do that. Everything was working great with loggin in, navigating to upload page etc... I used the HtmlElement and setAttribute/Invoke to click and set the text fields:
HtmlElement password = wb.Document.All["sPass"];
assword.SetAttribute("value", this.password);
Now I have a problem. To upload a video to metacafe, you first need to click on a flash button caleld Upload. There, a window appears to select a file, and after you press OK, the upload begins and you can enter the form information. My question is this: How can I enter the video file without seeing a popup window? Knowing that it's flash . Here is how the flash object looks: [URL] Above I copied only the part from the upload page that it's important to me. As you can see, a simple flash file appears. Now I want to simulate the click/enter of file without showing the file window.
My index.php file loads the Facebook JavaScript SDK and the FBJS bridge:[code]When I run this file on my server, I can communicate with Facebooks JavaScript SDK either indirectly through ExternalInterface calls, launching various Facebook UI dialogs etc. And I can also use the facebook-actionscript-api to launch the same dialogs directly from ActionScript.When I however use this index file as my Facebook canvas url and load the swf in a Facebook iFrame, the communication crashes the application. I'm not sure how to debug this but I think it might have to do with crossdomain security. Any ideas on debugging and/or solutions are welcome.
View 3 RepliesHow can i communicate btn two SWF using LocalConnection methode (flash8)
View 1 RepliesWhat's an easy and secure way to let my Flash app communicate with my back-end server?
The Flash app, which is a video player, should retrieve the person's username and send back an ID. How would I do this?
Note: Back-end is written in Javascript.
it may be a stupid question what i'm going to ask, but i'll ask anyway ... just had an idea... is there a way i can comunicate through sockets in flash mx?
View 2 RepliesThe goal is using JS from FLASH to communicate with the status bar, so when flash nav buttons(mc) are active they send a text description to the status bar, like the title attribute in an anchor link. How would this be done?
View 7 RepliesThe goal is using JS from FLASH to communicate with the status bar, so when flash nav buttons(mc) are active they send a text description to the status bar, like the title attribute in an anchor link. How would this be done?
View 7 RepliesCen i communicate to FMS from browser not with swf. For example - by javascript from user side or by C# from IIS server side.
I need to built a live chat application where the swf only get the live stream and show it to the user but all the other logic code that communicate to FMS will be not in the swf and not in some *.exe file.
I need this because this live chat appliction will have to work on apple ipad and iphone soon when FMS will be able to stream to those devices and i will have to abandon the swf anyway.
I'm developing an interactive system where two client flash apps will talk to a third server app. The clients will be sending some status information to the server. I think I need two way communication...haven't decided whether the server needs to send back any acknowledgements yet.
These will be applications and not .swfs that run in a browser.So far the only method that I see are to make the server an AIR app (b/c AIR has a Server Socket class) and make the clients Flash projectors (b/c Flash has a Sockets class).
Are there other methods that I can use connect my apps together? These 3 machines will basically be living a few feet from each other and they will be on their own dedicated network.The machines will live within their own little private network. They won't be accessing the outside world.
I want to communicate between flash movies on two different machines. Is this possible? Maybe with Flex? Also, can you open a windows command prompt with flash and send it commands?
View 1 RepliesDoes anybody know a way for a swf file to communicate with the site its placed in. What I mean is I have a flash file with a start up screen in it, which has a tick box saying "Don't show this screen again" which skips to the sites content when tick, the same as what some adobe applications have when first started up. I think this might be able to be done using sharedObjects? But what I can't do is re-activate the start up screen from outside of the flash file. Is sharedObjects the way to go?
View 1 RepliesWith normal Flash SWF's I use URLRequest to communicate with external servers/sites to send/retreive data from a database - pretty standard stuff. But can iPhone apps published from the CS5 environment communicate with external servers/sites?I'm still organising my development license for the iphone, so want to check before I fork out the money for the registration.
View 1 Repliesway for a swf file to communicate with the site its placed in. What I mean is I have a flash file with a start up screen in it, which has a tick box saying "Don't show this screen again" which when ticked skips to the sites content when tick, the same as what some adobe applications have when first started up. I think this might be able to be done using sharedObjects? But what I can't do is re-activate the start up screen from outside of the flash file. Is sharedObjects the way to go? Or should it be done using javascript?
View 1 RepliesI want to have my overlay adjust in size depending on how much content is being shown in the flash movie. Also, I want it to resize in real time when the user adjusts the content.
View 2 RepliesI am within a class, "Enemy". This class has a function "collision". How can I communicate with the amount of lives a player has left from within this class?
View 1 Repliesi want to make a discussion/message board. but a very very simple one. no username, password.. just a board where people can wite one or two lines. thats all.its very hard to find one out there. i think if i can manipulate a guestbook files, i can make a simple discussion board. The problem is that i dont understand how to make flash 'communicate' with notepad file to store information like how they did in guestbook. this is link to one of flash message board i found, but it has too many section - like kirupa forum. i dont have any ideas to make it as simple as i want. i dont understand the AS
View 2 RepliesI'm working on a site that allows administrators to upload arbitrary SWFs and embed them on the page. Administrators are in theory trusted, but I still want to protect against potentially malicious administrators or misguided administrators from harming the site.
A part of the functionality of the site is that the SWFs can communicate to the containing browser page when it's finished and for the page to react.
Now, I can think of two ways to do this:
Use ExternalInterface.addCallback to create a global callback named something like isComplete that does logic and returns true or false depending on whether the Flash app is in a completed state. Then, just do something like setTimeout to just call that function repeatedly. I don't think this would require me to open up allowscriptaccess to the movie. Embed the movie with allowscriptaccess and have the movie call something like ExternalInterface.call('done') when it's finished. This option seems like it requires me to open up allowscriptaccess, which is a potential threat since I can't control the SWFs that would be embedded with this directive.
I am trying to communicate between an instance of flash embedded in a browser and a flash instance running in a C# WinForms app... I am getting a compile error that say:
1119 Access of possibly undefined property printOut through a reference with static type flash.net:LocalConnection
Here is the actionscript:
var feedback = "";
var receiving_lc:LocalConnection = new LocalConnection();
receiving_lc.connect("fromClient")
[code]....
tutorials (e.g. ) show how to integrate Flash and MySQL. Also Flash can manipulate and sent this back to serverTo integrate flash and MySQL one can do the following:(1) MySQL -> php -> Flash (e.g. What is the most robust way to set up (1) and (2) to work at scale - as quickly as possible? What are the server loading implications? Is there any other way to do (1) and (2) more effectively?
View 2 Replies