Actionscript 3 :: What Type Of Data Can I Send Via A NetStream?
Oct 27, 2010
I know I can attach audio and video to a NetStream. Apparently, I can also attach text messages although I haven't seen an example (if you know of one, please let me know). I also know that I can record a stream via Flash Media Server. I'm wondering what other types of data - if anything - else I can attach to a NetStream and record?
View 1 Replies
Similar Posts:
Jul 28, 2011
I need to send a byte array of data (its an image source) along with a bunch of other vars to a service.If I send the byte array using something like the following
var request:URLRequest = new URLRequest ( 'http://www.mydomain.com/upload.php' );
var loader: URLLoader = new URLLoader();
request.contentType = 'application/octet-stream';
[code].....
View 1 Replies
Aug 18, 2009
I want to attached simple object data type which is holding string to netstream object. i dont want to attached any audio video data. only simple text data want to add in netstream obj.
View 0 Replies
Jun 23, 2010
Would I be able to send a image using NetStream or NetConnection?
View 1 Replies
Nov 23, 2010
I have application that uses the send functionally in the NetStream on the server-side. When a connect to the app using rtmp I am able to see the send come thru but if the app uses rtmfp it does notI gone thru all the examples in setting up a mutlicast app and I know the app works because when I publish a video out everyone in the group sees the video. The only thing not working is send. I've also set dataReliable to true.
View 3 Replies
Jul 9, 2011
How to send a video data stream from one side written by java to another side written by flex and then display it? I just know that on flex one method is to use netstream class get the real-time video stream and bind with a videodisplay to display it. But which class I should use to send this video stream in java and which class I need to use in flex to receive this flow and pass it to the NetStream class?
View 1 Replies
Mar 11, 2004
I searched around and found some helpful things, but I am still missing something I think...
LoadVariables() won't work across domains, right, so, is it porrible to send data to a CGI script via getURL and not have a popup window on send?
View 3 Replies
May 2, 2010
I'm trying to send metaData from client to FMS server when recording Webcam video and have implemented sending of metaData as stated on Adobe's help page at: http:[url]....
However when I play the recorded video from FMS, my custom metaData properties trace "undefined".I can trace default metaData properties such as duration or videocodecid successfully,but not my custom properties such customProp,width or height. Here is part of my code that is related to the issue: private function
ncNetStatus(event:NetStatusEvent):void [code].....
View 21 Replies
May 31, 2007
I would like my flash to act differently depending on what html page it is on. Can I send information from html code to action script?
View 1 Replies
Mar 1, 2007
i have a problem regarding the integration between flash and ASP file i have an ASP file that gets a record set from the database i don't know how to send this record set to flash and place it in a data grid
View 4 Replies
Aug 31, 2011
I have a site with an SWF that I can put some metrics into, such as ZIP Code, Weight, etc.. then, it takes that info and gives me shipping rates.
I need to build a front-end site that I can have a forms page that will push data to the backend SWF, and then return the data back from the SWF to the front end.
Front-end -> SWF (Zip Code, Weight, Size) -> *Calculates* -> Front-End
That should be the flow.. So I need to send data to the backend, GET the data that it calculated, and return the results to my front-end.
View 3 Replies
Jul 26, 2006
I currently have a Flash app that gets populated by parsing data from an external XML file. However, I need to get the XML data into a (JSP) session and can't neccesarily have an external XML file--any suggestions? Can I put the XML string into a hidden input field in a form on the HTML? Can Flash communicate with that HTML? Or are one of the below methods recommended:
* FlashVars
* Flash Remoting
* Web services
* JavaScript - call JS function
* fscommand
* ExternalInterface
View 1 Replies
Jun 4, 2009
i load in AS3 data into flash and mantain their data type? Like receiving an array and even with arrays in it and recognizing that is an array instead of a standard string.
And if this is possible is it more reliable then using XML?
View 1 Replies
Feb 18, 2010
Using localconnection i can send data from one swf to another.
[Swf 1] Send data to [SWF 2] - This works with LocalConnection
[SWF 2] Sends this data to [PHP script]
Is there a way to send data from SWF 2 to PHP script without post data? or what would be the secure way to do it?
View 4 Replies
Jun 17, 2007
I would like flash to send and receive data from mysql.
To send data I would like to create 5 input fields, and then use a submit button.
Then to retrieve the data I would like to use the data grid or a dynamic text field.
View 6 Replies
Jun 29, 2011
I have a Flex/AIR desktop application that connects a local camera and microphone to a NetStream for delivery to a Flash media server.However, I would also like to archive a copy of the outgoing stream locally on the filesystem. Is there any access to the actual bytestream of a NetStream object (even in the dreaded mx.internal namespace) that I could turn around and feed to a FileStream for the local archive?
View 1 Replies
Apr 27, 2010
I am reusing a NetStream object to play different live streams.
What annoys me is that even though I start playing another stream name on this same stream object, when it is attached to a new Video object after issuing the "play" call, there is stale data after the previous playback. It's NOT the video object obviously, as I already create a new Video object every time I play another stream name on this NetStream object (Video.clear does not work anyway - known player bug).
I can rectify the situation by "resetting" the NetStream object - creating and setting up a new one for each playback, assigning it to the old reference - essentially transparent to the application. The problem is performance - there is the overhead of creating and setting up a new stream object every time. I wish to avoid such overheads.
I wish there was some form of "clear" call for the NetStream class as well...
View 0 Replies
Feb 13, 2008
I am the fan of kirupa but this is my first thread in forum. I have some problem with sendAndLoad method with actionscript 2.0. I am developing a online game with flash mx , MS SQL 2000 and asp. The problem is I send the data using sendAndLoad method to asp file and get data back from asp file. But when the internet connection is not good there is a problem like jam or lost packets. How can I prevent the lost of packets. Some of the data are important. Is there any way to solve this?
View 1 Replies
Jul 6, 2011
I'm making a small video players in AS3, and I've found that after calling NetStream.pause() or NetStream.togglePause(), no status messages are being fired any more.If I click the "pause" button while the video is buffering, I never get the Buffer.Full message.Here is some code:
_connection = new NetConnection();
_connection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
_connection.connect(null);[code].....
View 1 Replies
Feb 25, 2010
I am working on an app that will take a snapshot of an rtmp stream of an archived video, save it to a file, and ExternalInterface the file name to the hosting page to javascript it up for display.
I actually have all pieces working great. The only time an error is thrown is when I pause the video, seek to somewhere, and then try to take a snapshot. Then there is a runtime error of:
SecurityError: Error #2123: Security sandbox violation: BitmapData.draw: mySwf.swf cannot access rtmp://myFlashServer/myApp. No policy files granted access.I've seen post after post of suggestions and have tried them, but without success.
I have the crossdomain.xml and my FlashMediaServer security setup fine (it is actually working, except for this one glitch). It just seems to be the pause-then-seek-then-BitMapData.draw() combination which is creating issues.
Another weird thing: after the error is thrown, if I resume the stream and take a snapshot, it works flawlessly again.
View 5 Replies
Mar 17, 2011
If I want to send the following format body in actionscript through http Post:
Content-Type: multipart/related; boundary="END_OF_PART"
Content-Length: 423478347
MIME-version: 1.0
[Code].....
How can I write the actionscript to send the "multipart/related" content type.
View 2 Replies
May 14, 2009
Is there some way so send data from air application to php file on the server?
View 1 Replies
Sep 13, 2011
So, I have learned how to actually send data from Flash, but how do I in ActionScript send data every 3 second?
View 1 Replies
Jun 22, 2005
I tried the Example: Simple Editor which sends and loads data from XML file but it didn't work. Does anyone know why?? I really need to send data to xml but I couldn't find a way of using XML.send correctly!
View 4 Replies
Feb 12, 2010
I have stored all the data in an object. Now I have to send the data to php.
View 4 Replies
Jul 7, 2008
Attached is the .as file. Here you will get an example how to send data to php.
View 1 Replies
Oct 26, 2010
I am working to send data from as3 to php and I am having a little trouble with it. I am new to both AS3 and php but at this point I think I am doing fine.
The project is simple it just takes two values from as3 and send its to php. But apparently I am not able to send variables from as3 to php. Here is the code(its very simple code)[code]...
View 9 Replies
Sep 9, 2004
I would like to send some data, from an input field and some dynamic fields without opening an new page or replace the existenceto a URL... I tried this�.
Code:
function sendForm() {
my_lv = new LoadVars();
my_lv.baseId = _parent.baseId_text.text;
[Code]....
View 7 Replies
Jan 31, 2010
Send data from Flash to PHP = Possible. Is it possible the other way? ( for example, send a variable from PHP to Flash ). If it is, how secure is it? Can people see the data that was sent?
View 8 Replies
Aug 7, 2010
how to send some data from as3 to a database. I did a little (in fact a lot) of research, and found something useful. But it doesn' t work ... Here's my code:
Actionscript Code:
private function confirmPayment():void { [code]............
View 2 Replies