Java :: Do Websockets Allow For P2p (browser To Browser) Communication

Nov 7, 2010

To clarify when I ask about browser to browser communication I mean without a server in between forwarding message. I would like to implement something like this for a game. If p2p in websockets isn't possible are there similar alternatives?

View 1 Replies


Similar Posts:


IDE :: SWF To SWF Communication From Separate Browser Windows

May 17, 2009

Assets are the following: An index.html with index.swf embedded A gallery.html with gallery.swf embedded Gallery.swf has 5 different images Please Note: These are just example assets and files. The real files are much more complicated than this but this way its easier communicate my requirements.

I need an .swf file in one browser to tell another .swf file to start at a particular frame when it loads. Once the index.html loads the index.swf file, 5 buttons will appear. Each of those buttons need code on them that loads the gallery.html in the same window and initiates the gallery.swf file at a particular frame, which will be relevant to the button clicked.

View 1 Replies

IDE :: SWF To SWF Communication From Separate Browser Windows?

Nov 28, 2010

Assets are the following:

� An index.html with index.swf embedded
� A gallery.html with gallery.swf embedded
� Gallery.swf has 5 different images

Please Note: These are just example assets and files. The real files are much more complicated than this but this way its easier communicate my requirements.

I need an .swf file in one browser to tell another .swf file to start at a particular frame when it loads.

Once the index.html loads the index.swf file, 5 buttons will appear. Each of those buttons need code on them that loads the gallery.html in the same window and initiates the gallery.swf file at a particular frame, which will be relevant to the button clicked.

View 5 Replies

ActionScript 2.0 :: Flash / Browser Communication - How Does It Work

Apr 12, 2007

How flash communicates to the browser window it is in? For example, whenever anything changes in HTML an event is generated. When an element is clicked, an onclick event is dispatched for that element. Do flash commands, such as ActionScript's getURL() method generate events that are registered by the browser window and the DOM? If not, is there any native communication between the browser and a flash movie?

View 5 Replies

Flash :: Iphone Communication - HTTP Activity Of The Browser

May 30, 2011

I was looking this new game ([URL]) that uses the iPhone as a control pad for a flash game in your computer browser. I tried to monitor the HTTP activity of the browser but it doesn't seem to be using the HTTP protocol. Do you know how does this works? It's sockets programming? Can the flash movie become a socket server?

View 1 Replies

Flash :: Java - WebSockets Fallback And Jetty 8?

Mar 20, 2011

I found this awesome example: [URL], or an HTML5 WebSocket echo server in Jetty, and I love it's simplicity. However, the web app I am developing will require a bit more cross-browser compatibility, so I tried to use: [URL] as a Flash fallback. The problem: I need to serve some XML file on port 843 for Flash. Now I am new to both Flash and Jetty, and would like to figure out how to accomplish this. I have used HTML5 WebSockets before in PHP, Python, and Ruby, and I have the echo server working perfectly on my Mac, but now I need to configure Jetty to send the file.

View 2 Replies

Java :: Service Browser For AMF Calls ?

Dec 23, 2009

Has anyone used or is aware of a service browser to test AMF calls?I am looking for a tool similar to ZamfBrowser ( http:[url].... ), but one that works for the Java environment.ZamfBrowser is geared towards AMFPHP.The idea here is to provide a service browser, that allows developers to test Java services using the AMF protocol, without having to go through the Flex UI all the time. There has got to be something out there already for this, but I can't seem to locate anything..... It's kind of funny and strange that a service browser exists for AMFPHP but not for regular AMF calls in a Java environment.

I would imagine something exists under Blaze or LCDS? ...Trying to find it in the docs but can't seem to find anything ....The best alternative I can think of at the moment is to use FlexMonkey to record stuff, and then to simulate it using that....which is okay I guess but still sucks because you have to go in and create the Flex UI first, whereas with something like ZamfBrowser, you simply point it at the service calls,it tells the server-side developers if their code works, etc. generates the required as3 classes for you... and makes the integration process much easier in a large team.

View 3 Replies

Java :: Make A P2P Streaming Using Web Browser?

Aug 13, 2010

I want to create an application for P2P video transmission. In more details, I need the following:

-User can switch on a web camera by clicking a button in an application.
-Application starts to take images from the web camera and sends them to a certain location (given by a port and IP address).
-Application starts to accept images send by another application and display them (images) in a window.

I would prefer to have everything in a browser. I know that everything can be done with Flash Player from Adobe (an example is Url...But I would like to know if the same can be done with JavaScripts.I am sure it the application can be written in Java. But can I use Java to have everything in a Browser.

View 1 Replies

Java :: How To Capture Audio From A Browser

Oct 22, 2010

My client needs to let a user record a message from the browser, then export the message as an audio file (e.g., WAV).How is this best accomplished? Flash, Java, HTML5? By best, I mean something that is straightforward to implement and also broadly supported.

View 3 Replies

IDE :: Opening An Fla In A New Browser Window With Java

Jan 20, 2009

I followed this tutorial [URL] put the proper actions on my button, the button calls the window in a blank page but it does not have the settings in the javascript no scroll, no resize and a preset window size.

The tut is from Flash 5 and that was before the "ACruncontent" file flash uses now in cs3. window opening the way I need it is critical for a client.

View 2 Replies

Create Plugin For Browser Like Flash Or Java?

Mar 22, 2010

I want to create a plugin like Flash. What programming language do I need??

View 1 Replies

Java :: Cross Domain Calls From Web Browser

Jul 20, 2010

I would like to execute a cross domain http request from a website. Javascript is out, because most browser don't allow cross domain calls. Generally the solution is to use a proxy, but that isn't an option for this project. The other things I was thinking about would be to use Flash or maybe Java. Are there any other platforms that I could use?

View 4 Replies

Java :: Drag Objects Outside The Browser Window?

Mar 8, 2011

Is it possible to drag objects outside the browser window in order to implement file/directory copying from webserver to desktop?

UPDATE: added more tags in order to broaden the choice of methods.

View 1 Replies

Java :: How Does Complex Web Browser Games Work

May 24, 2011

I am curious about how battlefield heroes works - it is a game playable in your web browser, and it is quite alot more complex than your average webbrowser game. Does anyone know what technology it is based on? Flash, ActiveX, Applets....? What technology does Age Of Empires Online use?

View 3 Replies

Java :: Edit A File On Computer From Within A Browser?

Jul 13, 2011

I would like to know if it's possible to edit a file from within the browser. I know where the file is and I know its format. I would like to some HTML5 and JavaScript but have little luck so don't mind using Flash or Java.

The file I would like to edit is the hosts file. C:WINDOWSsystem32driversetchosts on Windows XP.

This is mostly for test run of a new breed of AdBlocking so would like to give my browser and the best chance of working. I have Google Chrome Dev opened as ROOT, running on Windows XP.

View 3 Replies

Java :: Download Multiple Files From Browser?

Jan 19, 2012

How do I download multiple files at once from a browser without combining them into single file? I found all kinds of multiple file uploaders, but downloaders are missing. There is only JUpload, but it's old and became buggy recently. I believe both Java and Flash can do this: select a folder at client's HD and download everything there.

View 1 Replies

Flash :: Communicating Between Adobe Air Or Browser And Java Web Start

Nov 11, 2009

We're designing an application and the client has requested that a portion of their app stay in Java Web Start and another portion be in a browser. I'm thinking about AIR as an alternative to the browser because that may give us more features b/c we don't have to stay in the browser security sandbox.How would I go about having an Air app talk to a Java Web Start app? Do they have to talk through a server? I guess potentially you can just create a socket connection between the two.

View 1 Replies

Java - Screentoaster Capture Computer Screen From The Browser?

Feb 12, 2010

How does [URL].. capture a computer screen from a browser using Java Applet? Any suggestion or a lead in how to accomplish this? Is there other way to do using using different technology such as Flash?

View 2 Replies

Java :: Flashvars Object Was Not Working In Mozilla Browser

Apr 14, 2010

I am retrieving an flashvars object from JSP file. Like userid = mx.core.Application.application.parameters.userJspid;like this it is retrieving in IE browser. But not in FF (Mozilla), why it's not retrieving is there any code i need to add it for Mozilla specially.

[Code]...

View 2 Replies

Java :: Detect Display Type (Projector) From Within The Browser?

Feb 22, 2011

It goes like this, we need to detect if the display is a Projector (or if the system is connected to a Projetor).the catch is this should be done from within the browser.so is it possible to do so by using anFlashActiveX (this does constrains to a single browser, so not an option)searching so far only reaveals display resolution. expecting if there is something still out there.

View 2 Replies

Java :: Voice Recording Applet / Flash In Web Browser

Mar 21, 2011

I'm going to do a voice recording plugin/addon on a website that will record audio and send it to the server for further processing. I have had two suggestions; either write a java applet or use flash. The service is supposed to work for all major browsers(IE, Firefox, chrome,..). I'm new to this area of development and is looking for tips on how to proceed with this. What is the pro's and con's for each solution?

For java applet, what Java speech API library do you recommend? I want a simple, small library, I only need voice input. Also, I am puzzled by Flash development, I can't find any good information about development, the adobe website dosn't make much sense. What is the programming language for flash, and how do you actually run it in html code? I have found ActionScript 3, is that used to create Flash plugins and can it perform voice recording?

View 2 Replies

Java :: Record Webcam Video To Local Filesystem From A Browser

Jun 28, 2010

What is the best (and simplest!) way to record video from a webcam to the local filesystem--all from a browser? Ideally the video would be recorded in HD and then we could use ffmpeg later to convert it into the formats and sizes needed.

Here are some things we've looked into:

Use Flash to stream to a local Red5 server. But we've had issues with video quality here. A Java applet using JMF (can we even write to the filesystem from an applet?). We've heard this might not be very efficient though. Can it handle HD?
Write a custom Firefox plugin. Would this be very difficult?

Basically the hardest thing here is that the controls need to be embeddable into a browser. All we need is a box where the webcam frame is displayed to the user, and then some Javascript hooks so we can code start/stop buttons within the HTML page.

The computer is fully controlled (it's a kiosk) and we can do just about anything to it. We just need a solution that runs in the browser. Our current app is run in Firefox in kiosk mode and the webcam recording is just a part.

View 3 Replies

Flash :: Javascript - How Does A Browser Interact With A Player Or A Java Applet

Nov 9, 2010

I've been trying to understand how flash animations or a Java Applet work within a browser. I can think of a couple of ways - The Flash Player/Java Applet are machine code that's dynamically linked it, and given some parameters about the area of the screen that belongs to them; after that, they run within the same process space. The browser exposes an API that the player/applet use to talk to it and they live in a separate process. (Presumably they talk via sockets?) The API could correspond to openGL/X11/some custom calls.

These possibilities still don't explain things like how a button click can make the player full-screen, how it can play music, how it can inspect the DOM, etc. For that matter, is the video displayed by decoding to a sequence of images, and rendering them one at a time, or is there a more efficient way, e.g., of pushing the deltas in the image? The Wikipedia page on Java Applets

(1) talks about how the applet is run in a sandbox (presumably a separate process), but it doesn't say how the browser and the applet communicate. Perhaps the answer depends on the underlying platform?

View 2 Replies

Java :: Get A Alert Message Each Time I Refresh The Browser In Flex?

Dec 29, 2010

i have a login system done in flex.once the user logs in and if he refreshes the page it will take you back to the login page.how can i make the logged in user stay in the same page using flex and java only?and also if once user is logged in and another loggs in with the same user name and passwrod how can i handle dat using flex and java?

View 2 Replies

Java :: Develop A Browser Based Application That Record The User Screen?

Feb 3, 2010

I need to develop a browser based application that record the user screen, much preferably on flv. Also doing that with java would be perfect.That's exactly what they accomplished at [url].... , with just a javaWS app.

View 2 Replies

Java :: Enable Intranet Users To Take Screenshot Of The Current Page Via The Browser?

May 22, 2011

Is it possible to create a screenshot from the current page the user is on? (It's for an Intranet enviroment).

I know this is not possible with JavaScript alone, but is it possible with Flash or maybe an Java applet?

I have been searching around but I couldn't find anything.

View 3 Replies

Flex :: Make A Flash Browser App That Could Receive Data From Browser Plugin Or Other Windows App?

Dec 18, 2009

in other words, suppose I want to send data, like text, programmatically from a Windows app (such as a browser plugin) to a Flash app running in the browser. Well, conceptually, an example of this might be a Flash instant messenger with a textbox and button "Send"; so let's say I want to be able to programmatically paste the text and press Send or otherwise activate it. That's NOT what I am trying to do here in reality (i.e., no,I am not trying to spam other people's chat rooms or anything)but just an illustration of a similar situation.I can include in it whatever widget or hack that may be necessary.The reason why this problem is arising for me is that AFAIK the SDK that is providing me the data I want cannot be directly accessed from Flash, so I need a way to pipe the data from a regular app into Flash. can I have the Flash app interact with other apps through localhost IP? Or are there draconian restrictions on which server Flash in browser can and cannot interact?

View 1 Replies

ActionScript 2.0 :: Full Screen Browser - Browser Window Is Opening At The Size It Was Last Used?

Apr 14, 2005

I have a standalone Flash projector running off CD. Currently, I use

getURL("http:url....);

to open the page on default browser. Only problem is the browser window is opening at the size it was last used. I like to see it opens full screen.

View 2 Replies

Actionscript 3 - Flex / Flash - Open The Swf In A Browser Window That Doesn't Have The Browser Control Bar Or Menu?

Oct 27, 2010

The title essentially is the question, how do I open the .swf without the browser's control bar junk? and maximize the window?

View 2 Replies

ActionScript 2.0 :: Opening Browser Windows From A Flash Movie With Browser?

Jan 17, 2006

I have a PHP mailer form on my site which needs to be published in action script2 to work, but I also have a script set up to open browser windows of a certain size & location which needs actionscript 1 to work? The PHP mailer form has a "Name" field, "Email" field & "Message" field, theses can all be reset with a button. The button clears off any text in the 3 boxes to wipe them clean. The script on the reset button is:

on(release) {
_root.myForm.formNameField.txt = ""
_root.myForm.formEmailField.txt = ""[code].....

This works fine with section script 2 but not with as1. Does anyone know of a script that resets the .text field on as1 Alternatively is there any way of opening browser windows from a flash movie with browser win controls, eg. centre win, no scrollbars.

View 2 Replies







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