ActionScript 2.0 :: Make A Xmlsocket Chatroom In Computer With Wamp Server?

Sep 27, 2010

i want to make an xmlsocket chatroom in my computer with wamp server ,i use this port and ip:

HTML Code:
mySocket.connect("localhost", 1026);

and i have changed the port of wamp server to 1026 and i have puted the socket.php file in www directory of wamp.when i run the swf file in flash the connection establishing is succesfull but when i try to send data the connection will close.this is the actionscript code:

HTML Code:
mySocket = new XMLSocket();
mySocket.onConnect = function(success) {
if (success) {

[code]....

View 0 Replies


Similar Posts:


Media Server :: Configure Wamp With FMS 4.5

Mar 10, 2012

I'm looking for a way to configure wamp with FMS 4.5. I installed fms 4.5 without the apache server that comes with it. From the way it looks, fms seems to be running; i was able to run the sample files that came with it. I really need to know to configure these two.

View 1 Replies

Flex :: Xampp / Wamp Based Apache Server Custom Reply?

Feb 20, 2012

How can I send a custom response upon a custom request on a xampp/wamp based Apache server upon a connection to a specific port?I'm trying to reply to the � a flash app is requesting in order to allow a crossdomain http GET request.The flash policy request, is made to port 843 by default and i'd like to keep it that way.The port should get a � (ending with a null char,� is just for the reference) and replying with something like:

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="master-only"/>

[code]....

As far as i know, the request should be return as a plain text, although Content-type, might be needed as well.I've tried using the following:[URL] and although it listens to the port and accepts connections, it doesn't reply with the specified xml upon request.I wrote a simple C# web server which listens to port 843, and serves the aforementioned policy - it worked out just fine, however, when using a SecureSocket connection for a secure connection (i.e opening a socket to a HTTPS/SSL protocol) - the request that is sent is encrypted using the hosts certificate. As far as i know, there's no way of listening or acquiring the servers certificate and decrypting the data via an external app hence, the only way is to somehow 'teach' Apache to respond with the crossdomain policy after a proper request is sent via an appropriate port.

Another idea i have is to read the server's certificate file stored in the Apache directory regardless of what happens on the server itself, though imo it's an overkill.

View 1 Replies

Media Server :: Transfer Flash 8 Programs From Old Computer To New Computer?

Nov 14, 2011

I got a new computer several days ago and it doesn't have Flash 8 or Higher. how to transfer Flash 8 programs from my old computer to my new computer? where to find free downloads of Flash 8 or higher?

View 1 Replies

ActionScript 2.0 :: Make A Chatroom In Flash Mx Along With XML?

Aug 6, 2003

I would like to make a chatroom in Flash Mx along with XML.

View 1 Replies

ActionScript 2.0 :: Make A Chatroom In Flash Mx?

Mar 8, 2010

Does anyone know how to make a chatroom in Flash Mx?

I am wanting to know for my upcoming game.

View 1 Replies

Apache Server W/ XMLSocket?

Aug 17, 2011

I have a perl socket on my apache server that correctly takes input from sockets and sends it back out to every socket connected to the perl socket. I have tested the perl socket, and it works correctly.
When I launch the Flash in the IDE, as a flash program, it functions correctly with the perl socket.
However, when I try to launch the Flash in a Browser on my apache server, it tells me it is unable to connect to the server.However, I am seeing from feedback from my perl socket, the flash connects for about a half of a second, and thats it.

What could be the problem, do I have to include code in the flash to allow XMLSockets to connect in a browser as well? Is there certain things I need to do with my apache server to make it work?

Also if I 'Preview as HTML' from Adobe Flash CS4, it does not connect.

View 3 Replies

Flash :: Can't Connect To Server With AS3.0 XMLSocket

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

Flash :: Media Server - Connect To Own Server To Watch Streaming Video From Another Computer?

May 19, 2010

How can i connect to my own server to watch my streaming video from another computer?

View 10 Replies

Flash :: Client XMLSocket Not Connecting To Server

Jul 30, 2009

I have a Flash client that I want to connect to a server. Both are using localhost and port 50000 so there shouldn't be any cross-domain problems. I also set Access Network Only in the publishing settings. When I call the XMLSocket connect, the server seems to get a new connection. But, the XMLSocket.onConnect callback is not called with success=true.[code]...

View 2 Replies

Flash - Have A XMLSocket On The Server Side For AIR ServerSocket?

Jun 28, 2011

I have two software to create with AIR: a server and a client. Both with AS3 and AIR.I want to avoid having a big architecture with Remote Shared Object, or using BlazeDS, or having to set a Java / Python / ... server in the middle.In order to avoid having to parse socket data in the server and in the client side, I thought about using XMLSocket on the client side: the data arrives in a way which is already parsed by the Flash framework.However, when I use this XMLSocket with the AIR ServerSocket, the "connect" event returns me a raw Socket on the server side. So I have to manually manage the XML data on the server side.

Is there a way to also use an XMLSocket on the server side to communicate with the client? A kind of trick to convert the returned Socket into an XMLSocket?If there is an AS3 library which manages that, I did not find it.

View 2 Replies

Media Server :: XMLSocket NULL Byte Generation?

Mar 25, 2010

I'm trying to get an external script to communicate with an application instance running on my Flash Interactive Media Server installation. I've got the following server side actionscript in my AppStart():
 
[code]...
 
The connection to an open socket on the localhost, port 16005 works fine, but when I try to write some xml to the socket that I accepted the connection on (running on the localhost), I never seem to get the onXML or onData callbacks on the server application instance. One question that I had was regarding the NULL byte. If the FMS application doesn't not receive the NULL byte, does that mean the callback won't happen? If so, can someone tell me how to take something like a Python string and *add* a NULL byte so that the FMS will invoke the proper onXML or onData callback when this data is sent?

View 1 Replies

ActionScript 2.0 :: Establish A Xmlsocket Connection In Real Server?

Aug 31, 2011

I've designed a flash [as2 php xmlsocket] chatroom , it works fine in localhost but i don't know how to run on real website server.I've uploaded the files but when i run the flash it can't establish a connection.What server requirements i need for xmlsocket?

View 0 Replies

ActionScript 2.0 :: Use XMLSocket Class With Some Amount Of Server Code Included?

Nov 8, 2005

simple Tutorial showing the use of XMLSocket class with some amount of server code included?

View 1 Replies

ActionScript 2.0 :: XMLsocket - Make A RSS Reader In Flash That Plays A Sound When The RSS Feed Is Changed

Jul 31, 2006

What I try to do is make a RSS reader in flash that plays a sound when the RSS feed is changed. In an older version I reloaded the xml via a little timer, but what I understand about this socketthingy is that it keeps an open connection with the server/feed? Am I correct that this socket parses data (or smth) as soon as the xml changes ? If yes, why dont this work ? (it does after loading, but not if the swf is running and the xml is changed)

[Code]...

View 2 Replies

ActionScript 2.0 :: Refresh XML From Server/My Computer

Jan 6, 2009

I am using some simple ActionScript to load an XML file and then populate some things in my .swf from the elements and attributes. I have implemented a simple interval which calls a function to reload the XML file every 30 seconds, so that whatever is new in the XML is reflected in the swf almost immediately. The problem is that in Firefox and IE, the .swf doesn't update. If I edit my swf with Flash and then manually change the XML file it successfully shows the new changes when the re-loading is called, but for some reason this only works successfully inside Flash CS3 and not when viewing the swf in a web browser. Do I need to do something different? My code is below

ActionScript Code:
if(local){
myXML.load("xml_to_read_in.xml");
}else{

[Code]....

View 1 Replies

Media Server :: Stream Video With FME And FMS On Same Computer?

Mar 22, 2008

Is there a simple to understand (guide for dummies like me)that will give step by step instruction on how to stream live videousing FME and FMS on the same computer?

View 21 Replies

Media Server :: FMS Can Record Computer Sounds

Jul 22, 2010

FMS can record computer sounds, I use flash to do a piano, it can play sound, I want record the sounds, FMS can record it?

View 4 Replies

Media Server :: Put Flash On Its Own Dedicated Computer?

Sep 20, 2010

I have a website that has a lot of videos.  So, I wanted to use Flash Media Server to stream my videos.  I was wondering if it is more efficient to get another computer and dedicate it for Flash Media Server.  Or is it more efficient to put my website and Flash Media Server on the same computer?

View 3 Replies

Professional :: Can't See Flash Video On Server, Just On Local Computer

Oct 28, 2010

I am having trouble seeing my flash video on the server.  I just see it in my local computer. I save everything and then preview it, copy the code and insert on the bottom site, and no video. Just the skin appears when you roll over the code. [URL]
 
I have everything in the same folder, I have added the mime types on the server, and it still don't work.

View 1 Replies

Professional :: Can't See Flash Google Map On Server - Just On Local Computer

May 1, 2011

I am having trouble seeing my flash video on the server. I just see it in my local computer. I save everything and then preview it, upload the file to server, but it just don't show at my website.

View 5 Replies

ActionScript 2.0 :: FMX: Store XML Data Locally On A Computer WITHOUT Using A PHP Server

Jul 15, 2005

is there anyway to store a file(an XML in this case) locally on a computer WITHOUT using a PHP server running on the computer. Im develpoing an application for both Mac OS and windows so it needs to be a solution that will work for both.

View 1 Replies

Flash :: Photo Uploaded To Be Faster If Processed On Computer Or The Websites Server?

Sep 4, 2009

Are flash applications processed on my computer or the websites server? Would a photo uploaded to flash be faster if processed on my computer or the websites server? Oh Yeah, I'm in sales explain with details.

View 1 Replies

ActionScript 3.0 :: Save Images From Flash Via Asp (windows Server) To Local Computer?

Nov 25, 2010

I need to save images from flash via asp (windows server) to local computer, how to do this?

View 4 Replies

ActionScript 3.0 :: Connect A Video Object To A Webcam Installed On Another Computer In The Network Without Setting Up A Streaming Server?

Sep 7, 2010

is there a way to connect a Video object to a webcam installed on another computer in the Network, without setting up a streaming server?The machines can have fixed IPs and whatever, but I'm limited to LAN/WAN technology. Using AIR is possible.

View 5 Replies

ActionScript 3.0 :: Computer Vs Computer Pong Game

Apr 2, 2009

I'm not really good with AS3 yet so maybe somebody can help meI found a pong game tutorial and it works fine.[code]Now I want that two computers play against eachother.So no player input only two computer that play.I tried a lot with the script but it doesn't work.

View 3 Replies

ActionScript 3.0 :: Pong Game Computer Vs Computer

Apr 14, 2009

I have a problem... I found a tutorial making a pong game... I want to make some changes but I tried everything but it wont work Here is some code:

[Code]....

View 2 Replies

Actionscript 3 :: Flex Multiuser Multi-chatroom Apps?

Jul 15, 2011

I need a custom multi-user multi-chatroom app to extend an existing Flex app that I have.

I obviously wouldn't like to develop it from scratch, but focus only on the customizations and integration.

Are there any products (free or commercial) that provide multi-chatroom functionality from which I could start?

View 3 Replies

Flash :: Develop Custom Flex Multi-chatroom App?

Jul 16, 2011

I'm about to develop a multi-chatroom Flex app, and potentially add to it in the future real-timish audio capabilities (push-to-talk audio messaging).

I'm considering Smartfox, Electro, Wowza, and LCCS.

View 1 Replies

ActionScript 2.0 :: Know What Needs To Be Added Or Changed For It To Reference The Time Off The Server And Not The Local Computer Time

Apr 9, 2009

I have this clock code and would like to know what needs to be added or changed for it to reference the time off the server and not the local computer time (and preferably reference the server just once and not repeatedly). I already have a file on the server "time.php" that is providing the milliseconds. I know it should be fairly simple, but I just can't wrap my head around it.

[Code],,,

View 2 Replies







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