Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash


ActionScript 3.0 :: Launch And Connect To Java Server

I was wondering if it was possible to launch a Java server when an SWF is started up. What I want is for a player to be able to "Host" a game from their browser, which will launch a Java server that will run on their computer and allow users to join, similar to what would be done with an out of browser game if a player chose to host a game themselves.I already have the Java server written and interfacing with AS3, it's the automation of the launch process that's got me stumped.Is this possible? If not, how is something similar to this usually done? My main hope is that I wont have to create dedicated servers that users will connect to. Would I have to launch the Java application through the web page?

View 4 Replies (Posted: April 13th, 2011)

Sponsored Links:

Related Forum Messages For Flash category:
Media Server :: Way To Connect Java Servlet To FMS?
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.)

Posted: Nov 5, 2009 8:00 AM

View 4 Replies!   View Related
Flash :: Impossibility To Connect To A Java Server
I'm having trouble with a XMLSocket script in AS3. I have a java server and i'm trying to send a XML data, but the server isn't recieving anything. The most suprising is that my script worked very well a month ago, and now my IOError listener returns me.[code]

Posted: Mar 14 11 at 19:49

View 2 Replies!   View Related
Java :: Connect To Socket Server From AS 3 AIR Application
I read through the method to connect to a socket server : [URL]. I wrote an AIR application to connect to the java server code, but the client cannot connect. What is missing in the code?

<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="[URL]"
xmlns:mx="library://" backgroundColor="#D5F8C3">
[Code] .....

Posted: May 12 11 at 13:49

View 1 Replies!   View Related
Java :: Build The Client With Flex And Connect To The Server Data With BlazeDS?
I have a server with some simple java objects running. I want to build the client with Flex and connect to the server data with BlazeDS. The problem is the Flash Builder is not generating the Classes correctly. Just the properties are being generated, the inheritance are not being generates.

Posted: Dec 20 10 at 19:57

View 1 Replies!   View Related
Java :: Channel.connect.failed Error When Deploy Flex Project To Linux Redhat Server?
when i do this locally on tomcat server on local development machine it works fine when i brought it over to linux im getting this error.i dont know what to do anymore it should be straight forward but i'm having no luck. i do have a web.xml and i see a broker for my remote access so i just dont know what it could possibly be

Posted: Jun 23 11 at 5:52

View 1 Replies!   View Related
ActionScript 3.0 :: Debugger Not Working - Attempting To Launch And Connect To Player
Whenever i try to debug movie, it does nothing but say "attemping to launch and connect to Player using URL C:Documents and SettingsBlahMy DocumentsFLASHTDBackup.swf [SWF] C:Documents and SettingsBlahMy DocumentsFLASHTDBackup.swf - 95873 bytes after decompression" in the output. I tried leaving it for an hour and nothing happened.

Posted: 11-01-2009, 06:29 PM

View 1 Replies!   View Related
Professional :: Error Initializing Java Runtime Environment At Launch
I'm currently on a Windows 7 64bits system and I've got this unsolved problem of "Error initializing Java Runtime Environment. You may need to reinstall Flash" pop-up at Flash CS5 launch. This error (apparently relied to AS3 compiling machine) also appears during SWF compilation (so the compilation is bugged and the SWF is unusable) I've googled it and tried every piece of answer but none of them worked :

- Re-install Flash or Java (32 & 64 bits)
- Delete CLASSPATH in environment variables
- Reduce (or raise ?!) -Xmx128M environment variable
- Launch application with XP SP3 compatibility

Is anyone here had the same problem and succeed to pass through in any kind of way

Posted: Jan 9, 2011 5:16 AM

View 1 Replies!   View Related
Java :: Way To Connect Flash
It`s not a secret that is very difficult to create beauty user interface using Java. Flash has powerful tools for it. We use Flash to show some nice face and Java to process business logic(DB, calculation etc). How they can connect (over HTTP or TCP/IP not important) without additional technologies?

Posted: Feb 22 10 at 8:50

View 3 Replies!   View Related
Media Server :: Swf Hosted On One Server Connect To Live Stream From Another Server?
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?

Posted: Apr 28, 2010 2:31 PM

View 2 Replies!   View Related
Java :: Web Multiplayer Game In FLEX And Java - Build The Server Clients Managing System?
I'm building a Facebook multiplayer game where the client side is in FLEX and the server side is in Java and I wanted to know if there is a guide on how to build the server clients managing system. When I say server clients managing system, I mean a server which many clients will connect to and will be able to choose between tables to join and play or to create their own table, same way as in texas holdem poker.

Posted: Aug 4 11 at 18:55

View 1 Replies!   View Related
Java :: Flex - How To Connect MySQL In Flash Builder 4.5
While I am connecting the dateservice via menu Data> connect to BlazeDS the error showing that RDS server message : connection refused : connect

Posted: Dec 27 11 at 5:02

View 1 Replies!   View Related
Media Server :: Cannot Connect To Admin Console FMS 3.5 Running Separate Apache Server
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).


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 if that makes any difference.

Posted: Jul 7, 2009 11:28 AM

View 5 Replies!   View Related
Flash :: Media Server - Connect To Own Server To Watch Streaming Video From Another Computer?
How can i connect to my own server to watch my streaming video from another computer?

Posted: May 19, 2010 10:18 AM

View 10 Replies!   View Related
Connect To MYSQL DB From Java, Create Table, Insert Data, Retrieve It With Datatypes
How to connect to MYSQL DB from Java, create table, insert data, retrieve it with datatypes. How to make use of the data to/from in Flex application. i have basic knowledge in sending and receiving messages using BlazeDS.

Posted: May 25 10 at 10:43

View 1 Replies!   View Related
Media Server :: Connecting FLME With DVRCast - Get An Error "Failure To Connect To Primary Server?
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://
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?

Posted: Jun 22, 2011 9:03 PM

View 16 Replies!   View Related
Media Server :: Hello World - Failure To Connect To Pimary Server?
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.

Posted: Jan 14, 2011 6:45 PM

View 2 Replies!   View Related
Media Server :: Connect To A Server To Do Multibitratestreaming From A Level3 FMS Instance 3.5?
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.

Posted: Oct 13, 2011 10:03 AM

View 4 Replies!   View Related
Media Server :: Fail To Connect Origin Server Through NAT
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>

Posted: Apr 11, 2010 12:52 AM

View 1 Replies!   View Related
Media Server :: FMS Server Hangs When New Clients Try To Connect?
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.


Posted: May 19, 2010 3:47 PM

View 2 Replies!   View Related
Media Server :: String Parsing By Remote Java Server?
I am writing a game where positions of an object are being exchanged between the two flash clients through a java server. The secnario goes simply like this:

PlayerA ---> Server : "Position X + Position Y+
Server ---> PlayerB: "Position X + Position Y+

and it works both ways of course.the problem here is that on my computer where i use "localhost" everything is fine and the data is exchanged seamlessly .. when I loaded the server on a remote host the message received strangely turns into something like "Position X + NaN" (i.e. the y position is wrongly parsed by the server), what is weird even more, is that sometimes, the message gets parsed correctly..the server is wrote in java and it is exactly the same source code that works on my machine that fails over the internet

Posted: Jan 4, 2011 5:06 PM

View 1 Replies!   View Related
Java :: Smarfox Server For Flash Or Build Mini Server?
is it possible for me to build a server in java so that i can let my different flash clients communicate with each other?

Posted: Jul 29 10 at 9:28

View 3 Replies!   View Related
Media Server :: Why Cannot Connect Server
I tried to put a video on my site [URL] and it say "cannot connect..... blah"...... What should I do to make it work?

Posted: Jun 11, 2011 3:19 AM

View 1 Replies!   View Related
Connect To A SQL Server DB?
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.

Posted: Feb 27, 2007 5:47 AM

View 6 Replies!   View Related
Media :: Can't Connect To Server?
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?

Posted: May 26, 2010 2:19 AM

View 1 Replies!   View Related
Copyright 2005-08, All rights reserved