Can Flash Connect To A USB Or RS232 Scale
Jul 16, 2009
We have a website that a Flash Video records our emplaoyees weighing items on our scales. They then enter in the weight of the scale however we want to see if its possible to have that weight displayed on the Flash Video. Since we know we can display diffrent things on the video like time is it possible to have it connect to a USB or RS232 Port? Flash can easly connect to a webcam via USB as thats how we are recording and we have applications that can transcmit the weight of the scale to the computer. Does anyone know of a website thats done this or is it even possible to grab data off a scale and embed into flash.
View 2 Replies
Similar Posts:
Feb 19, 2010
I want my flash content to scale when I scale my browser window.
View 5 Replies
Dec 4, 2009
My Flash image will not scale.if you zoom in, it gets chopped up. if you zoom out, it has a big blank area.What should I change in order to have this Flash image scale just like the rest of the site? [URL]It is the Flash in the center.
View 1 Replies
Dec 8, 2011
UPDATE: Now I've moved the AMFConnection var declaration to outside the functions in Main, and commented out some trace() commands, and now it gives new errors:
Error #2044: Unhandled NetStatusEvent:. level=error, code=NetConnection.Call.BadVersion
at AMFConnection/init()[/Users/Jan/Downloads/amfphp1/AMFConnection.as:32]
at AMFConnection()[/Users/Jan/Downloads/amfphp1/AMFConnection.as:23]
[code]...
I'm trying to connect to AMFPHP on a server (with Flash AS3), and the swf borks when it reaches the .connect() stage. To make things easier (?) and more reusable (?), I've put all the NetConnection mechanics into a separate class, AMFConnection, which I call from the Main document class like this (details changed):
public function testConnection(e:*=null):void {
var conn:AMFConnection = new AMFConnection();
conn.table = "some_table";
[code]...
AMFConnection actually starts the connection and calls the AMFPHP service with the function gogogo(), and here's where the connect() NetConnection function just won't work. Here's the main section of the AMFConncection class
private var _netConnection:NetConnection;
private var _responder:Responder;
function AMFConnection()
[code]...
It also fails to display the stage, instead showing the loading dots. Now, eventually I'm going to move this application to the same server as the AMFPHP service, but even when I try it there with a relative url, instead of an absolute one, it still breaks down at connect(). I've tried changing the publish settings from local only to network only, to no avail.
View 3 Replies
Mar 8, 2007
Scenario: main moveiclip with 4 other clips in it. I want the rolledover clip to scale up and all the others to scale down and blur.
Question: What is the most effiecent way to code this. Would it be a "for in loop"? I am trying to minimize the code and would rather not use a whole bunch of if then statements.
View 3 Replies
Jan 14, 2006
How can I convert the current scale of the instance to 100% so I can easily "visualize" and manage the instance when I modify its scale? Here's the actionscript, it works, but I just want the temp._xscale and temp._yscale to be in percentages, not real numbers.
Code:
USflag.onMouseDown = function ()
{
var temp = USflag;
onEnterFrame = function ()
[code]....
One last thing, what's the tag you have to put that is designed for boxing actionscripts? I'm suing [ code ][ /code ]
View 1 Replies
Jan 28, 2009
I was wondering if it is possible to "connect" Flash to C#.Would be that flash would send variables to C# and then the same C# return some variables to flash.
View 1 Replies
Jun 22, 2009
I want to create a login page in Flash, containing two text fields (username password) and an Enter button. The database I am using is MYSQL where is a table with username and password elements. For the connection I must use ASP.NET and not PHP.
View 1 Replies
Feb 22, 2010
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?
View 3 Replies
Oct 8, 2011
I'm trying to connect an AIR application to socket.io, it's just not working.
[Code]...
View 1 Replies
Oct 21, 2011
I want to connect to a SOAP web service in Flash. The SOAP web services is hosted on https and requires username and password. I can't find any documentation or libraries for this action.
View 1 Replies
Jan 7, 2011
I just finished my installation of Adobe Flash Builder 4. I've definitely installed the most recent flash player from Adobe's website onto my computer. Also, in the run configurations of flash builder 4, I changed the source path from the .html file to the .swf file that is generated. I don't need to test it in a web browser, I just want to run the swf in flash player.
I only have 1 .as file in my actionscript project and there is no code written in it other than the package, class and main function statements. When I run the .html file, it runs fine, and debugs fine. However, when I switch the source path to the .swf file, it runs fine but doesn't debug!
When I debug it, the progress gets stuck at 57% and it says "Waiting for Adobe Flash Player to connect to debugger..." in the "Progress" tab. After a few minutes a window pops up that says:
"Failed to connect. The session has timed out. Ensure that you have run the application with debugging on and that I have the debugger version of flash player."
What can I do to fix this? I am on an intel Mac running OS 10.6.5.
View 2 Replies
Nov 1, 2009
Iam working on a quessinarie (assesment) for elearning software. i want to connect sql database with flash and save my records in back end like add, delete, modification of student result and details.
connect the sql database. or dot net server. I know how to connect PHP and mysql. But my client dont want php. only sql database and do the add, del, modificaiton.
View 5 Replies
Mar 22, 2010
Need to connect to database file (.mdb) via flash ( as2 or as3 ) directly, applicable ?
View 6 Replies
Mar 22, 2010
i need to connect to database ( access database file ) by flash without sever-side language
View 6 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
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 20, 2011
How to connect mssql database to flash?I have table tbl_flash in which some information that I want to show in a flash, but only the ones you want to use "where"
View 3 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
Dec 31, 2010
In my Flash app, I'm connecting to my server like this:
Security.loadPolicyFile("xmlsocket://example.com:12860");
socket = new Socket("example.com", 12869);
socket.writeByte(...);
socket.flush();
At port 12860 I'm running a socket policy server, which (according to this document) correctly serves up my policy like this:
[Code]...
I get no security warnings, which I used to get before the policy server was in place. Still, the connection to port 12869 doesn't work. It's made (I can see with Wireshark and on the server), but no data is sent by Flash. It might be worth knowing that the SWF itself is served from example.com as well.
View 1 Replies
Jun 14, 2011
I want to click a button in my flash application, log in to facebook, leave a comment on wall and sign out. I try to figure it out but it seems complicated. Does anyone have an example or any sample code for this easy functionality?
View 3 Replies
Feb 20, 2009
I am making a Flash site and I need to have my site connect to a different one so I can edit the main site without editing it and re-uploading it every time I have something else to add.
View 6 Replies
Mar 22, 2011
trying to connect to Coldfusion through flash. i get message that server may be down. CF server is up and running. It doesn't validate the configuration also.
View 1 Replies
Aug 10, 2009
I've been using Facebook connect in a few of my newer sites, and since it took me awhile to figure out a good method for it I figured I would post my code incase anyone needs it. I'm not a coding genius or anything, but I figured it would get someone on the right path if they had questions. I put it together really quickly, and I didn't clean up the code, but all the parts needed to make this work are clear.URL...Here is a very simple demo app I made with Flash and Facebook Connect. Check it out. You can download the source here.URL...Just make sure you use your Facebook api key and path to xdreceiver file!
View 8 Replies
Dec 5, 2005
I need to connect a dll file to flash. I have no ide how to do this. I need to send a value from flash to a dll file and get a new value back from the dll file. I dont even know how to create a dll file.
View 3 Replies
Dec 14, 2009
I am having issues getting Flash to connect to a SQL 2000 Database. I keep getting an error with flash.data.*.The code is :
import flash.data.*
I receive the following error:
1172: Definition flash.data could not be found.
View 1 Replies
Apr 10, 2009
How to connect the flash javascript file into flash doucments?
View 1 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
Aug 14, 2011
In Wordpress I have put the following javascript code in my HEAD section[code]...
View 2 Replies