.net :: Send Bytes From Server To Flash?

Oct 8, 2011

I want to send data of bytes from .net server to flash client. i have created a simple .net tcp server but what code would i need to create the flash tcp client in order to receive bytes NOT string or xml, just bytes?

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Send Bytes Via Bluetooth Between Two Identical Laptops In Flash?

May 10, 2011

Any way to send bytes via bluetooth between two identical laptops in flash as3?

View 1 Replies

Media Server :: Write Bytes Server Side With File Class?

Sep 18, 2009

Does anyone knows if it's possible to write some bytes received from an AIR or Flex client in a server side file using the File class ? I have been trying for hours without any result.My goal is to store on the server side a swf file sended by a client in a ByateArray.Here is the code I have ended with, assuming that myfile.swf alreadey exists on the server prior to the code execution, and is at the right place, and that pBytes is a ByteArray received from the client which contains a swf file :

function writeFile( pBytes )
{
var myFile = new File( "myFile.swf" );

[code]........

View 2 Replies

Actionscript 3 :: Server Library API To Send Request To Server From Flash

Jul 22, 2011

I want to write application for facebook and vkontakte, which will consist of such main blocks as: SocialNetworkAPI (which include all work dedicated to social networks: posting to wall, get all user's info) and ServerAPI (which will send HTTP POST requests to my Java based server and receive data from there in JSON).

I am looking now to Adobe flash URLLoader

is there any good ServerAPI libraries, which I can use or rework to prevent rewriting standart code lines.

View 2 Replies

ActionScript 2.0 :: Get The Bytes Loaded And Bytes Total From A JPG I'm Loading Using LoadMovie?

Jul 4, 2005

how can I get the bytes loaded and bytes total, from a JPG i'm loading using loadMovie? the point it's making a loadbar

Code:
image.loadMovie("pic.jpg");

View 2 Replies

ActionScript 3.0 :: Write 2 Different Array Of Bytes To The Server?

Feb 2, 2012

I have to read 2 different array of from c++ server using AS3 client. And write 2 different array of bytes to the server. How should I do it?

I have established a socket connection.

View 1 Replies

Flex :: Uploading Data And Track Bytes Sent To Server

Nov 6, 2010

I want to upload data (not a local file) with Flex (4.1), and show what the progress is of the bytes sent. Now I use a URLLoader, but I know that URLLoader was designed to download data, I can connect a listener to ProgressEvent.PROGRESS but that has no effect. I also know there is a FileReference object which supports uploading. The problem here is, I do not want to browse for a file and upload it. I have a byte array which I want to send to the server, but the data property of FileReference is read-only. How can I send the byte array (which is actually a PNG encoded image) to the server and be able to track the progress of the bytes sent to server?

View 1 Replies

Media Server :: Publish Self-composed Bytes Array As Video ?

Oct 3, 2010

So far I only find the way to publish camera video as stream: attachCamera()

Is it possible to publish self-composed bytes array as video ?

View 10 Replies

Media Server :: Shareobject.send() - Send Method Does Not Work

Mar 18, 2010

I have a problem with shareobject. the Send method does not work. I work with AS3 My code

[Code]....

View 4 Replies

Media Server :: When Using RTMP It Returns Nothing , If We Uses HTTP It Displays Number Of Bytes Loaded?

Mar 24, 2011

I can get which part of file in bytes is loaded using videoDisplay component for RTMP protocol for VOD, I can get the current playing position using videoDisplay.playheadTime. But I want to know how many seconds of video are already loaded (not the length of bufferTime, which remains constant). i used videoDisplay.bytesLoaded when using RTMP it returns nothing ,if we uses HTTP it displays number of bytes loaded
 
The loaded size in bytes is not directly proportional to running time of the video, and while using rtmp im unable to get bytesLoaded too, how i can calculated the Video already loaded.

View 3 Replies

Flash :: Media Server - Send Video And Audio Data To A Media Server By Using RTMP Protocol

Jul 22, 2010

I'm trying to make a software which sends video and audio data to a flash media server by using RTMP protocol. Currently, my program can communicate with a flash media server correctly. RTMP specifications does not describe about the raw data in video/audio messages, so I muxed raw H.264 and AAC data into video/audio messages and sent to the server. The server seems to accept them, but a video player cannot playback the stream sending from the server. The player just says "Loading..." For a test purpose, I sniffed the network packets between Wirecast and the flash media server and ripped off only video and audio data. Then, I muxed those data into video/audio message and sent to the flash media server. In this case, the video player connected to the server can playback the stream correctly.

I checked the stream sent from Wirecast, the stream seems not to be H.264 raw data because those data are not started from 0x17 instead of H.264 start code. With those situation, I am wondering what kind of container format I should use for H.264/AAC data to the flash media server.

View 12 Replies

ActionScript 3.0 :: Preload Multiple - Load And Display The Percentage Loaded Of Total Bytes And Bytes Loaded Of All The Files

Jul 13, 2009

What I'm trying to do is get the total bytes of all the files I want to load and display the percentage loaded of total bytes and bytes loaded of all the files. Its a slideshow so i want all the files loaded and then it will play. I've looked at bulk-loader but it wasn't what I needed. The image are loaded from an xml file. I think I would need to create an Array and then find out the total bytes but I don't know how to reference the loader in the progress.

[Code]....

View 2 Replies

Flash :: Send A File To The Server?

Oct 8, 2009

How can I send a photo for example to mount a virtual catalog and preview my album?I use a simple form with 5 fields of transmission and viewed the small image after submission.

View 1 Replies

ActionScript 1/2 :: Send A File To The Server Using The Flash?

Oct 8, 2009

How can I send a photo for example to mount a virtual catalog and preview my album?I use a simple form with 5 fields of transmission and viewed the small image after submission.

View 1 Replies

Actionscript 3 :: Flash Send Request To Another Server

Nov 30, 2010

i am sending a flash reqesut to a url when i make request from local computer its working but when i upload on my server its not working i think flash is not sending request from my server to another server

[Code]...

View 1 Replies

ActionScript 1/2 :: FLASH - Send The Selected Images To The PHP - Server

Aug 11, 2009

It's a SUBMIT form - There are 5 checkboxes which are used to select 5 types of images. How to write my AS code to send the selected images to the PHP and then back to [URL]?

[Code]....

View 6 Replies

Flash :: Send/load Data To/from Server Side?

Mar 26, 2011

How many possible ways to send/load data to/from server side data sources and what are the conditions of using each method.

View 2 Replies

Flash :: Flex Send Request Through Proxy Server?

Aug 20, 2011

I am creating a google scraper in Adobe AIR using the Flex 4 framework. I have run into a brick wall: Google forces a captcha after around 10 pages are read. Can anyone tell me how to get the page through a proxy server

[Code]...

View 1 Replies

Media Server :: Receive Stream.send Commands On Server-side?

Nov 12, 2010

I am recording a video and while recording I issue some NetStream.send("doSomething", params) commands from client side. When I am playing back this video I receive the doSomething events on client side. No problems so far.Can I receive those events on server side? I want to handle those events on server side. Not client side.

View 2 Replies

ActionScript 3.0 :: Wait For Data - Send A 3 Byte Message To The Server (C) And Have The Server Return A Response?

Dec 17, 2010

I made a server connection with AC3 and C, I need the client(AC3) to be able to send a 3 byte message to the server (C) and have the server return a resopnse. So far everything works except for the fact that the feedback isn't fast enough becuase AC3 just tests for data once and moves on instead of waiting like in C. I'm using a binary socket at the moment but I was wondering if there was any way to wait for new data before moving on

View 2 Replies

Media Server :: Send A Video That Receiving Form Fms B To Another Fms A In A Flash App?

Aug 1, 2010

will i be able to send a video what i'am receiving form fms B to another fms A in a flash app?And how?

View 4 Replies

Flash :: Send A Video Stream To A Red5 Server Using Flex?

Jul 2, 2010

I'm trying to send a video stream to a Red5 server using Flex.

My Red5 setup seems to work for remote method invocations and shared objects, but I've yet to succeed in getting video working.

This is the AS3 code that connects to Red5:

# connect to RTMP server
netConnection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
netConnection.connect("rtmp://localhost/context_name");
# omitted code for waiting for connection success, and setting up shared

[Code].....

As said, note that the Red5 setup works flawlessly for remote method invocations and shared objects, but not for video which is strange.

View 2 Replies

Actionscript :: Record Video With Flash And Send Videofile To Server?

Jul 19, 2010

Everyone knows that recording a video with the user's webcam is possible with flash in the browser - but all the solutions I found until now involve a rmtp server that accepts a stream from the flash app. Is there a way to use webcam recording without such an extra media server?

The usecase I want to implement is the following:

Show the user the output of his webcam on the screen. The user can hit a record button which will trigger the flash app to record 5 seconds of video material. The recorded video should be sent to the server as .flv file where it can be processed later.

Since the video will only be a few seconds long the amount of data is not a problem. But my actual question is: Is this somehow technically possible to do in Flash?

View 2 Replies

Flex :: Send Info Using USLStream From Flash Client To JAVA Server?

Jul 18, 2010

I am trying to send info using USLStream from flash client to JAVA server.Some of the info is Chinese so i have to use Unicode.

View 1 Replies

Flex4 - How To Send Byte Array To Server In Flash Builder (Flex 4)

Mar 24, 2011

I have a video file in my local system.I am using windows XP in my system. Now i want to send this video file byte array to server in Flash Builder (Flex 4). I am using PHP at server end.

View 5 Replies

ActionScript 3.0 :: Flash - Send A String (or Number) From A Website To A Server Running A C++ Program

Jun 17, 2010

I have found little to no flash to C++ documentation, let alone Flash to C++ over the internet. What I want to do: -Have flash send a string (or number) from a website to a server running a C++ program -The C++ program will receive the data and do something with it -After that, the C++ program would send back a response -Flash would then accept the response My goal is to make a simple MMO, but I can't start it without a server program to handle the players. I don't need a super-complicated example, just something simple, kinda secure and coded in AS3 and C++.

View 0 Replies

Actionscript 3 :: Live Streaming Flex - Send A Feed From Webcam To The Flash Media Server

Jan 30, 2011

I have been working on a Flex application that sends a feed from my webcam to the Flash Media server. The application connects to the server fine but for some reason the camera is not sending anything to the Media Server. I am pretty sure that the answer to my question is really simple but I need another set of eyes to llok at my code and tell me what I am doing wrong.

[Code]....

View 3 Replies

Actionscript :: Capture Video / Audio From Webcam - View It And Send As A File To Server (youtube) In Flash

Sep 15, 2010

I'm new in AS and trying create util such Youtube's "My webcam". Here's a part of my code:

[Code]....

Can't attach video object or stream to spark.components.VideoPlayer to view video and don't know how to convert video to flv contents for sending in POST form.

View 1 Replies

Flash - Get Size Of ByteArray In Bytes Using AS3

Dec 5, 2011

How can I get the size of a ByteArray in bytes? I want to know, to see the difference in data transferred before and after the compression of a string (via ByteArray).

View 1 Replies

ActionScript 2.0 :: Send List Of Variables From Php To Flash And Send Back Random Selection To Php?

Nov 16, 2010

I'm looking to send a list of variables (say 6 in total) from php to flash and for flash to pick a random one and send it back to php when clicking a button.

I would like it to appear in a dynamic text box. That randomly selected variable needs to be sent back to php on pressing a button.

View 2 Replies







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