ActionScript 3.0 :: How To Read Client Information
Jan 10, 2011I want to get client IP and mac address,can as3 do it? Which class can I use?
View 2 RepliesI want to get client IP and mac address,can as3 do it? Which class can I use?
View 2 RepliesCan flash read client side hardware information such as RAM, CPU, Computer unique id hard drive size?
I know it can read the camera and maybe the monitor size but the above is still remain unknown to me.
I am now using FancyUpload to make an upload tool for my website, for the video module, so user can upload their video in FLV format with limited size and time
With the limited size i can handle it, but with the time . I dont know how to know the total length of FLV file
how to read XML information from a Web Service. The Web Service is setup and I'm using the WebServiceConnector component. I have the WSDLURL plugged in but I'm not sure what to do next.
I currently have the Flash file reading from a standard external XML document perfectly just can't figure out how to read it from the Web Service in place of.
Here's my current code that I'm using to read from an external XML file:
Code:
//////////////////////////////////////////////////////
// Load Images Via XML
function loadXML(loaded) {
if (loaded) {
[Code].....
Is there a possibility to read files from flash web application on client HDD form fix location (e.g. D: est) ?
View 3 RepliesI'm trying to read a xml file from client. After search for it. I have got to upload the file to the server with this code.
var imagesFilter:FileFilter = new FileFilter("*.jpg,*.gif,*.png", "*.jpg;*.gif;*.png;*.jpeg");
fileRef.browse([imagesFilter]);
But what I want to do is to read the file from client and parse it without uploading it to the server.
I'd like to read or write browser cookies, using a flash client.
Lets say, If I have a website with users... And they can play all sorts of movies (the client). I'd like to have a way to recognize the user. Maybe there's a different alternative?
I have created a script for an Adobe FMS application to broadcast a playlist of video files as a live stream. (internet tv)
I am now working on a custom Flash-based video player to play my stream.
How do I send information from my server-side FMS application (main.asc) to the client-side video player? (e.g: title, duration of current video player)
We are trying to create a sqlite db file using java on the server, and encrypt it.Then we send the encrypted db file to a client's pc, which has an Adobe Air desktop app running.The air app then needs to be able to open/read-from the encrypted db file (client is read-only).We are using java 1.6, flex/actionscript 4.5, and Air 3.1.We can create the sqlite db file on the server and send it to the client, and it can be read by the client without issues, when we do not encrypt it.But we are having trouble with the encryption part. We've read quite a lot of documentation about Actionscript's ability to open encrypted sqlite files using AES + CCM (URL...).And we're trying to use java's crypto package to encrypt the sqlite db file.The encryption is important because we don't want the client to be able to open the sqlite db file with any sqlite browser, only with our Air application.
View 1 RepliesIs it possible to recover the HttpHeader information from a flex Client? I want to do the following:
User download the flex client from a web site
In each communication flex client catch the HttpHeader information in order to change (If it is necessary) the host information to be connected (For example in a HA configuration)
I'm kinda noobish when it comes to getting information from XML information sent to my flash file from the socket server. OK so for example the server sends me this:
[Code]...
I want to get the name of the user and the X and Y position! Is there a way I can get this information without a load of fuss from functions and other junk remember im kinda noobish.
I want to build a program built around my pc specs. Is there a way to access such information as how much ram I have or how much cpu usage is being consumed, etc.?
View 2 Replieshow can I find on fms server that client disconnected if if client disconnected due to power cut off. I client manually close the application then onDisconnect on server is called but if due to power cut off it does not called.
View 1 RepliesCan we perform client to client file transfer, client to server can be done by FileReference. but how do we do client to client transfer, for example if a user wants to send file to another user to whom he is chatting online.
View 3 RepliesI am trying to build a client-to-client streaming program - client 1 has a webcam and client 2 will connect to client 1 and be able to view the webcam. Is this possible using 2 swf clients? Can someone point me in the right direction as to what commands would be used to connect the two clients. I have tried: binary sockets Connect() where each clients points to the other and they both time-out NetConnection to try to point each client to one another to establish a connection, but no luck with that either; this seems more oriented towards streaming content to a flash media server rather than to another flash client.
View 1 RepliesWe're writing a flash application that can download a MP3 file, convert it to a Sound object, get the raw data and make some processing (like adding sounds, change octaves). After the processing, we want to send the data back to the server in chunks, so the server will be able to glue the data together and recover the new generated file. The problem is: if we send to the server "wav" pieces of sound, we are able to glue them together without any problem in the generated file. However, if we convert each wav piece to a mp3 file (so we can send a smaller file to the server) and join the mp3 files at the server, the result is a sound with some problems at the merge point.
This is how we load the mp3 file from the server:
sourceSnd.load(new URLRequest("sample url to mp3"));
sourceSnd.addEventListener(Event.COMPLETE, carregou);
This is how we convert each piece of mp3 to bytearray and wav:
[Code]....
As the title says, suppose I have an hypothetical XML containing this:
[Code]....
I can check if a certain speech has a bg change by simply doing this:
if(bgs[i])
{
//true!
}
what should I compare in the case of sounds, I've tried many, like:
[Code]....
A friend of mine has a Flash Action script running on a LAMP server that currently reads an xml config file. He's asked me if it's possible to remove the xml file, and replace it somehow with a system (lets call it an 'auto xml generator') that intercepts the request to read that file and generates an output, so it appears to all intents and purposes as if the file still exists and contains the contents that has actually been returned from our auto xml generator'
View 3 RepliesSo I want to read http streams using flash tcp sockets. I do not really need the http header at all - all I need is body which contains flv. so how to read http response body into byte array using flash sockets?
View 1 RepliesI purchased a flash template and replaced all of the information with ours. The problem that I'm having is that when customers fill out the contact form on the 'contact' page, it doesn't send their email to us (which is one of the fields).
The site is live at [URL]
I've attached a jpg that shows the movie clip I'm working in.
I have a simple html page witha flash button. Upon clicking on the button, I would like to retrieve certain information from the js in the html (a URL for example) and execute it from the flash button.
View 3 RepliesI know trace() function can print information,but I must use flex builder environment.If I don't use flex builder,the trace function can't make function.I want to know if there is a statement can replace of trace(),because sometimes I need print information for debug and I don't want to use flex builder too.
View 3 RepliesDoes anyone know of a way to obtain information about the environment that a SWF is served into? Things like the URL of the page that is hosting the SWF?
So say there's the URL [URL] which has the movie flashmovie.swf embeded in it ... is there a way to get the URL from inside flashmovie.swf and cast it into a string datatype?
I've been picking apart the _global object by recursively un-hiding it and the objects it holds properties, but so far have not come up with anything that could prove useful.
Is there any way to pass vairable or array information from flash either .swf or .exe to VB.net ?
If so can data be passed back to Flash from VB.net ?
I want to create a simple graphical application in Flash that when the user has chosen it passes the info to a VB.net application.
Is there a way to dump out all the target info in as3? Basically I would like to know everything that is contained in my target like a var_dump or cfdump for as3. Something that would work like....
trace(event.target.dump);
I've got an array, events, where I store objectdata, such asevents.id (String), events.action (String) and events.time (Number).In a for-loop, I want to go through the array and for each object I want to connect a Timer which runs the function "takeIt" which runs the public function "newEvent". The object in the array, events.id contains information about the object which is running newEvent, and in the array, events.action there are alse information which action to use. The events[i].time contains information about the timer delay which seems to work.How should I wite this to make it work?
Code:
for (var i:int = 0; i < events.length; i++) {
function takeIt(e:TimerEvent) {
[code].....
myShape=new MySquare(5)
inside MySquare constructor:
theArray.push(this)
[code].....
Does anyone know of a way to obtain information about the environment that a SWF is served into? Things like the URL of the page that is hosting the SWF? So say there's the URL which has the movie flashmovie.swf embeded in it ... is there a way to get the URL from inside flashmovie.swf and cast it into a string datatype?
I've been picking apart the _global object by recursively un-hiding it and the objects it holds properties, but so far have not come up with anything that could prove useful. I want to be able to do this for error logging.
In my flash application, I want to have information about the system the flash object is running on.Is there an object which handles this?My application runs in a browser mostly, so I also want to know the browser in which the application is running.Can I also access this directly from within the flash player or do I need to communicate with javascript then?
View 1 RepliesWhat I need to obtain is the playhead location of a playing video when the Stop button is pressed. I need this to be either in milliseconds or hours:minutes:seconds. Either format is fine as I can work with either.I need this so that I can add a cue point to the video so that when the user returns to the presentation, it will start playing again at that point.
View 1 Replies