Java :: Can A Webpage Access Data Being Sent To A Computer Via USB
Jun 6, 2011
What are the options (or is it possible at all) for a web page (running on a remote server, not localhost) to access a data stream (not video) coming in via the USB port of the local computer?
Ideally this would work cross-platform (Windows, Unix, Mac anyway) and the local computer would not have to download/install anything to make it work (beyond what you can reasonably expect a computer to have)
An embedded Java applet seems the only way, but I'm wondering if there's any other technologies that could do it. If the restriction is lifted so that the user can install something (basic for non-techies, not setting up a local server running node.js for example) does that make more things possible (Flash?)
View 2 Replies
Similar Posts:
May 18, 2011
Is it possible to access a movieclip inside an external swf (.fla file), using data from a vector?
The following code works correctly:
this._graphics.message2_mc.textLabel_txt.text = "Test";
Where as when I loop through a vector and try to replace "message2_mc" it cannot find the movie clip:
for(var i:uint = 1; i <= this._playlistState.subMovieVector.length - 1; i++)
{
var movieName:String = this._playlistState.subMovieVector[i].movieName;
this._graphics.movieName.textLabel_txt.text = "Test";
}
Presumably this is because I am putting a string in the middle of the line of code accessing the movie clip?
View 1 Replies
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
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
Mar 9, 2010
Problem: Conditions:
IE7, SP2, latest flash/java. Only reproducible on one machine. Observations: Smaller than a javascript alert box, and seems to be generated when a swf on my web page loads. The dialog is modal, however, like an alert box.
I've tried matching the configuration of the machine in question, but a recreation of the machine does not get this error. I'm not ultra-familiar with flash/flex, so is there something that flex/flash could do which would cause this error dialog to appear.
How would one even go about debugging this? It's mostly not reproducible aside from a single machine, and the circumstances which cause the error are unknown.
View 3 Replies
Apr 27, 2010
I was hoping to do this from a flash plugin, kind of how flash accesses the microphone or webcam but it doesn't seem possible. Is this going to be possible using Java, or ActiveX, or some other strategy that I haven't looked at yet?The idea is to do it without a client install, or at least something lightweight and browser and platform independent.
View 1 Replies
Sep 18, 2009
Is it possible to take a screen shot (using the Print Screen) and paste it from the System Clipboard directly into a web pages text area field (which I would create)? Do I need a browser plug-in? Can Flash do this?
View 2 Replies
Sep 29, 2009
I am developing an application running in Flash Player. The applicatiosn requestes access to the camera and/or microphone available on user computer.Is there a way in the application I prevent users from seeing this question? i.e. without having user to change his/her Adobe Flash Player setting?
View 1 Replies
Jun 25, 2006
I have pretty good basic "action script" skills for developing flash files and movies, but I don't know how to do dynamic things with asp, aspx, etc. I have a local application that runs form my computer and is not connected to the internet. The application keeps track of button clicks on each buttton as separate variables. Here is my question ... each time the flash movie runs and buttons are clicked, I want to record the clicks on each button (which exist in the application at runtime) and save them to something like an excel spreadsheeet or access database. Any easy way to do this without getting into server-side stuff?
View 3 Replies
Feb 13, 2007
I'm using LoadVars to retrieve some data from a table using php. When I use the app from within my Flash environment I am able to retrieve the info, but once I post the swf to the website nothing happens. I"m posting to the same remote page. I don't think LoadVars is even firing since the trace in my else clause is not firing.
var reserved = new LoadVars();
reserved.load("
http://www.thefatblackpussycat.com/reservations/getReservedTables.php" );
reserved.onLoad = function(success)
[code]....
View 2 Replies
Jun 11, 2010
I need to know how to save and load a very small amount of variables to a computer running my swf file. It is so that a person can keep their progress in a game if they decide to close the .swf and reload it later.It has nothing to do with a server.
View 3 Replies
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
Jul 7, 2009
I am running my swf file through a browser on the local machine (i.e. C Drive). I want to have a link to download the Adobe Reader however when I click on the link that is setup with navigateToURL(), I get a Flash Player Security Error stating that it is unsafe to acess the Internet and to update the player options allowing it to happen. I have went to the player options and put the URL's in there that I am trying to get to with no success.
View 4 Replies
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
Mar 14, 2012
I have a very stupid question: can android (I use samsung galaxy S2 mobile) can access teh webcam ?In my flash application, I got a flash security alert that allows to autorize or deny the access to webcam.
When I run this flash, it never shows this security alert and then It does not access the webcam. I do tests for instance with the website [URL]: works fine on my PC, works fine on my galaxy s2, but since it never shows me the autorization dialog, I cannot stream my webcam.
View 1 Replies
Jan 21, 2011
I want to be able to access a webpage and retrieve data from it.
Suppose I went to Google and typed in "convert gallon to pint" and hit enter. The conversion is displayed from the google calculator as the first item "1 US gallon = 8 US pints".
How would I do the same thing using Actionscript 3. Like the user clicks a button and it sends what I'm searching for to google, and then retrieves the first item of the search "1 US gallon = 8 US pints".
View 7 Replies
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
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
Feb 27, 2010
How do we retrieve data in a webpage for comparasion? I need to do this because I dont have complete control or curtain aspects and need to change menu tilte data ( French or English ) depending on what the Webpage Title data is displayed. I have serverside code in the title eg.{title} that will start with either "Welcome" or "Bienvenue".
So I need to retrieve the first word or amount of characters compair.
if var webpdata =="Welcome" then var menuitemdata=english
else var menuitemdata=french
The above is just a idea and not actuall script of course
View 3 Replies
Apr 19, 2011
I have to access jsp variable in mxml file... or how to access jsp variable in java file...
View 1 Replies
Sep 23, 2011
Flash is great tool for animations. I was wondering if I could send events to Java and receive results back. In other words call some functions in flash and get their results.
View 2 Replies
Jul 29, 2009
I want to render a very simple Flex data grid. How do I anchor the SWF flash file in the HTML? Do I need to compile a special .swf or can I use a 'standard' data grid .swf - and just pass the data to it?
View 1 Replies
Jun 29, 2011
I want to develop a GWT javascript application that must interact with a flex widget and fire events from 2 directions (flex to GWT and GWT to flex)For example I develop a function in GWT called onWidgetSelected(int widgetID){ ...} the generated javascript code does not contain the name of this function. So If I want to invoke it from flex through javascript call what should I do ?
View 2 Replies
Mar 28, 2012
how to access a shock-wave flash player which has the Content-Type: application/x-shockwave-flashits a request get so i am using GET method of HttpClient .any solution to access flash content through Httpclient?
View 1 Replies
Oct 22, 2010
So, you have a sprite, you draw some graphics, you set cacheasbitmap=true... I can't seem to access the newly created bitmap data, to access the dispose() method.
[Code]...
View 6 Replies
Feb 8, 2009
I'm making a contact page in as3 and I need some help. How do I send post data to a php page on this web page http://parallels.fm. Basically I have three dynamic text fields and a submit button. If I can send post data from that page to a php page that would be great.
View 1 Replies
Sep 8, 2008
I want toload a html webpage which contains a calendar into my swf file. Thehtml file does not contain tags that flash does not recognise butim unsure on how to get flash to display the webpage, if this ispossible at all. I have attached the code within my html file.Basically all I want to do is load "calendar.html" into my flashmovie and keep its format
View 2 Replies
Jun 10, 2011
How can I access the Principal object in a Flex client that was returned by the doAuthenticate() method in the LoginCommand?
Adobe's LCDS Custom Authentication page isn't much help in this matter, as this is the only example they show for a successful login:
// Handle successful login.
private function LoginResultEvent(event:ResultEvent, token:Object=null):void {
switch(event.result) {
[Code].....
I can return a strongly typed object as the Principal from the doAuthenticate() method, but how do I access it in the client's result handler?
Update: I've read the LCDS documentation twice now and there is no mention of accessing the Principal in the client. The only data I can retrieve from a result is the string 'success'. Anyone know if this is this the only result available from a custom authentication?
View 1 Replies
Apr 13, 2011
how would i go about uploading my canvas , and some form data (name,e-mail, etc) to a php, and how would i retrieve that data on the php page. i looked at the filereference.upload method and it appears that you have to use the browse method first, thus wouldn't work with uploading the canvas. I also looked at the urlloader and it looks like that only gets data into app..
View 1 Replies
Nov 9, 2010
i currently have a Java Observer/Observable setup in which i switch on some field within the Object parameter of Observer.update (e.g. event id) to determine how to handle an Observable notification. this creates verbose code like:
[Code]....
View 2 Replies