Actionscript 3.0 :: Connect To PHP Script On Server
Jun 22, 2011
I finished the game, and now needs to connect to a PHP script on the server.Here's what sent me a PHP developer:
1.Klik on the start button to call the script and the javascript method:[code]
2. When the game is completed, called this script to store a result: loadVariables("game-over.php?score=" + _root.score, this);The first problem for me is that wrote in AS2, and I made ​​a game in AS3 code.,and the second is that I do not know how to send results to the PHP. It`s PHP script with the database.These PHP files just accept the query string.I'm interested in what and where I need to type, to make it all game work on the server.
View 1 Replies
Similar Posts:
Apr 28, 2010
One server - is streaming server with Flash Media Interactive Server 3.5that host the application with asc files in FMS application directory.Second server - is the IIS web server that host thehtml,aspx,swf etc.. files.So basically i heve swf file on one server that have to connect to live streaming via rtmp on different server with different ip address.I did not find any clear explanation on this crossdomain rmtp issue.ys only HTTP can use crossdomain.xml policy filebut not rmtp.So what policy security procedure need to be done in order to enableswf file hosted on one server to connect and show rmtp live cam broadcasting from another server?
View 2 Replies
Jul 7, 2009
I have installed the FMS 3.5 Server on a separate IP from our main Apache Server: The server is running Redhat Linux 2.6.18-128.1.10.el5
FMS 3.5 running on ***.***.**.138 using ports 1935, 8080 (Admin Server using port 1111)
Apache 2 running on ***.***.**.139 using port 80, 443. (several sites setup on this IP)
However, when accessing the fms_adminConsole.htm in the root directory of one of the domains on ***.***.**.139, all login attempts fail. I am connecting to localhost and using the assigned user and password set up in fms.ini. Using either IP fails as well. The FMS server is set up to listen to all hosts as no specific IPs were set.
/var/log/messages show that FMS and the Admin Server are up an running and listening:
Jul 7 12:15:37 228215-web1 Service[28196]: Server starting...
Jul 7 12:15:37 228215-web1 Service[28196]: Server started (/opt/adobe/fms/conf/Server.xml).
[Code]....
All other settings for FMS are default. This is my first time setting up FMS as a fresh install on a new unknown server and I am at a loss as to what settings to check or which files I may need to modify to get it to connect properly. It is a managed server is hosted by rackspace.com if that makes any difference.
View 5 Replies
May 19, 2010
How can i connect to my own server to watch my streaming video from another computer?
View 10 Replies
Jun 22, 2011
I am trying to set up DVR streaming using FLME. I'm following this tutorial: http:[url]........I'm up to Step 2,
I put in the following information into the FLME:
FMS URL: rtmp://222.222.222.222/dvrcast_origin
Stream: mp4:sample.f4v
Then click 'Connect' , but I get an error "Failure to connect to primary server verify that your server URL and application name are valid and that your internet connection is working and retry". My server is a 32-bit windows 2007 VPS , with FMS running.I don't know if I set up the DVR Cast application correct. All I did was copy the dvrcast_origin into the installationdirectory/applications, then I started a new instance of dvrcast_origin with _definst_...Also, I am running the trial version of FMS, and DVR needs FMIS. Is there a way I can just run FMIS?
View 16 Replies
Jan 14, 2011
I have installed FMS 4 on a remote host - Windows 2008. When I install it, I would prefer to install the Apache server and so I did. When I open the initial web page (file:///C: [url]...), the flash content loads and the panel says it is streaming from rtmp. Seems good. But when I try to conect to this from another Flash Media Live encoder, rtmp://ip address/live, where ip address is the address of my host, it won't connect (Failur to connect to pimary server).
When I try to connect to my server with a browser - http://ip address, it loads a web page but clearly it is loading from from IIS.So port 80 is being used by IIS even though I chose to install Apache. Web servers aren't a strong suit but I've found Apache usually fairly easy.Now, I had installed FMS on my notebook and I found I could connect without trouble to rtmp://localhost/live with Flash Media Live Encoder. I figured by installing it on the remote host and then replacing localhost with the ip address, I'd be ok.
I'm willing to use IIS if that is the best thing to do. Maybe that has nothing to do with it. Getting started with these things is usually the hardest part. I've used FMS in the past but haven't had to deal with installing it.
View 2 Replies
Oct 13, 2011
I am using osmf1.0 and am trying to connect to a server to do multibitratestreaming from a level3 FMS instance 3.5. The protocols osmf are rtmpe and rtmpte with 3 different ports 1935,443,80. All in all creating 6 different connections. It then goes and tries to connect to either of these connections asynchoneously (50ms separation between each attempt) which means a later attempt can succeed before an earlier one. The device I am using is an htc mobile running on android (user agent: Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16).The problem Typically, all attempts will fail (NetConnection.Connect.Failed) but occationally one does succeed but only over rtmpte but no specific port.In contrast, with Akamai it does work every single time.
View 4 Replies
Apr 11, 2010
i have install a delveopment origin server for FMS testing, it can success steam VOD through internal ip, then we move on to test external ip steaming, but if fail to connect through external ip address, our firewall is using NAT mapping for the ip address, we have enable port 80 & 1935, did we need to change to edge server? i have try to change the vhost setting, but once i change the setting, internal & external will fail to conenct it, i have modfiled these setting in default vhost.xml, did any thing i need to change it? <Mode>remote</Mode> <Anonymous>false</Anonymous> <LocalAddress>all</LocalAddress>
View 1 Replies
May 19, 2010
We are running RedHat Enterprise Linux 5.5. I am told by the Adobe support department that only version 5.2 is supported. However, I have let them know this is basically impossible to do. You can't download 5.2 anymore and if you keep your system patched and updated you have to follow the 5.x branch.
We purchased brand new HP hardware for this server. It is a HP DL380-G6 Dual-Quad-Core Intel(R) Xeon(R) CPU E5540 @ 2.53GHz with 8GB of RAM. The fix at the moment is to restart the FMS system and everything clears itself up for some random amount of time. This this problems happens again.
[Code]...
View 2 Replies
Jun 11, 2011
I tried to put a video on my site [URL] and it say "cannot connect..... blah"...... What should I do to make it work?
View 1 Replies
Feb 27, 2007
I have a menu designed in Flash which has to pull back database records, how do I go about that? Every tutorial seems to be different and none are exactly what I am looking for.
View 6 Replies
May 26, 2010
I am trying to connect a simple application to FMS2. I get this error in the Server Log: Connection rejected by server. Reason : [ Server.Reject ] : Invalid uri : rtmp:/test. I have the test dir in the applications folder. This is what I give as a path rtmp:/test in the applications directory of the simple connect component. So what can be the problem?
View 1 Replies
Jun 25, 2009
OK... I had my host install FMS onto my server for me. I am a little lost on how to connect my .flv files to the FMS.
View 4 Replies
Jul 30, 2009
I'm trying to make an application that streams audio from an audio stream, but the NetStream seems to never connect. I don't have Flash Media Server.
View 3 Replies
Oct 1, 2009
I'm running a server where i stream 2-3 live tv channels and i'm posting it on my web page.few days ago i neticed that in FMS Console i have 6-7 LIVE INSTANCES and with many user connections. suppose someone get my server IP and use it to stream his matterials.How can i limit the ip's who can connect to the FMS?
View 2 Replies
Dec 30, 2009
how I connect with SQL or MySQL FMS3
View 1 Replies
Jul 9, 2010
I just had the Adobe Flash Media Server Demo version installed on our server, not my localhost. I'm also using Adobe Flash Media Live Encoder for the encoding. What I don't understand is what will the correct FMS URL be? I currently have Red5 installed and it's working just fine and I can understand what that URL is.... I'm just not sure what the URL would be for the FMS. I had the tech at the hosting company do the install
[Code]...
View 4 Replies
Nov 1, 2010
I have one PC and one laptop. Both of them are connected by wire to my linksys router and I can copy files between two systems without any problem. I have FMS running on my laptop and I have Flash Live Encoder 3.1 on my PC. I want to use Flash Live Encoder 3.1 to stream live webcam to FMS on my laptop via rtmp://[mylaptop-ip]/live. The ip address here is the address assigned to my laptop by my router. But I keep getting "Problem with Primary Server" error message.
View 3 Replies
Jan 30, 2011
I installed the Flash Media Server 4 and it works fine. However I uninstalled it from the control panel and reinstall it and it is no longer working now. The error i get in the server start screen is
"We are unable to connect to the network. We apologise for any inconvenience caused."
View 1 Replies
Mar 28, 2011
i have prepared a chat application using FMS. i need to save the chat history in the data base. i am not sure how to connect database and FMS.
View 2 Replies
May 31, 2011
when i publish my swf file from Adobe flash that time swf conneted to the server.but when i publish from my folder that time its not connected..
View 1 Replies
Jan 2, 2012
I was try to connect my FMS 4 development server (Redhat linux OS) in live which was not connected, but the same setup in local windows is connected.I do know whats the exact problem. Also i will stop the iptables in linux but no use.
View 6 Replies
Feb 21, 2012
I've successfully installed Adobe FMS 4.5 and using FME 3.2 to stream. I can make the connection to live.stefanientertainment.com and see the demo page and run all the bitrate tests. When I go to Interactive mode and put in the Server address: rtmp:/live.stefanientertainment.com/live and the stream: cameraFeed, I get "Error: cannot connect to Flash Media Server! Error code:NetConnection.Connect.Rejected". Any ideas here. I've looked thru a ton of documentation and everything looks correct.
View 2 Replies
Feb 7, 2010
I have a server that I have written in Python and I'm trying to connect to it via Flash's XMLSocket. I know for sure that this server is working properly as I have used it successfully with multiple non-Flash client applications. For right now, I just want to connect to the remote server with an SWF residing on my local disk. From what I understand, this means that I do not need a security policy file since the SWF is not in another domain. I have also confirmed that the security sandbox property of the file is set to local-trusted, so the SWF should be able to connect to servers and retrieve data from them. Here's the important code from the AS file:
[Code]...
View 3 Replies
Sep 15, 2010
We are currently in the process of trying to connect a c# server from a flash app. This hasnt been a problem so far - we have simply used the Socket class.We now have a requirement to encrypt the stream using SSL/TLS. This is no problem in c#, but much more problematic on the flash side. So far we have found two options: As3crypto lib, and AIR 2.0 SecureSocket. However, neither option has proved to be successful.
As3Crypto - TLSSocket
Using this method when we execute the code, the server throws an exception - this appears to be due to As3Crpyto's PARTIAL support of TLS.
AIR 2.0 - SecureSocket
We are currently using the latest Flex 4 SDK. We have imported AirGlobal.swc to alllow us to create a SecureSocket in a similar manner to the TLSSocket. The code builds but does not run - some File Not found error or something - probably because SecureSocket is not found in the runtime. I assume this is because AIR is intended for desktop applications rather than apps embedded in a browser.
So, now we're stuck. We have the option of encrypting the data instead using some PGP algorithm available in the As3Crypto lib. However, we would much prefer to encrypt the stream using something like TLSSocket or SecureSocket.
View 1 Replies
Mar 20, 2011
I'm trying to connect to a telnet server through a Socket.On that server, I setup a crossdomain.xml file:
<?xml version="1.0" ?>
<cross-domain-policy>
<allow-access-from domain="*" to-ports="23" />
</cross-domain-policy>
[Code]...
View 2 Replies
Aug 11, 2009
do I need a server to connect two flash movies in a LAN? Can I just do it in flash or do I have to use a third programm to let two flash movies on two machines communicate.
View 1 Replies
Nov 5, 2009
Is there any way to connect Java servlet to FMS?I would like to send comand from servlet via HTTP to FMS?(Something like communication to Flash media server using administration API)The best way for me would be connecting (writing) to SharedObjects, but I would be happy with any connection at all.(I read some about ColdFusion, but there would be too much modification on my servlet.)
View 4 Replies
Sep 9, 2010
Is it possible to install Flash Media Server 3.5 on the same Windows machine where Adobe Connect Pro is installed?If so, how to do it?When I try to do it, it says there is already an istance of FMS running and it asks for uninstalling it.Of course there is not any FMS installed. I want both on the machine.I suspect Adobe Connect uses an engine of FMS to work properly.
View 2 Replies
Nov 24, 2010
there is an app that has been finished (i hope) and it seems to work ok, this flash loads about 1Mb of flash app, then loads some stuff from the server via xml, generated through a script. as i said, it works ok in some computers, but somebody tells me that in other devices, the flash loads fine, but it gets stuck while loading from the server (it wont go further than the splash theat says 'loading contents'). Since is flash, i assume it is computer independent (it is not like the html, where each device may chow it different according to browser and setup; since is flash it will show and load just as the flash would load everywhere else); but as it seems it gets stuck right when loading the xml, after the flash has loaded (the flash loads the xml from the server), what may be causing this? is there any 'flash option' that may be interfering the flash from loading the xml content?
View 6 Replies