ActionScript 3.0 :: Save PNG Directly To A File Server?
Aug 29, 2010
i've seen a few good examples to save out a png of the current flash display area from a webbrowser from a flash, such as:[URL]what they normally do is stream the image data through a png encoder to a web server somewhere and then decode the data back to current webbrowser and then trigger the web brower SAVE function, like a download, then you can choose where to save the file and the name of the file.However, what i like to have is when you click that save button, you can save your png image directly to a certain location with a fixed file name, such as on your local computer:D:flashimage01.pngor a file server: 10.21.111.111flashimage01.png
Is there a way to save a file directly from a movie? The one way involves php. The other way is to use FileReference save(), but this one opens a dialog box.
Is there a workaround to save the file directly from a movie with no php involved and no dialog boxes pop up?
I used [url].... to create access for any domain (for test) and copied it directly into file server and also test if [url].... is accessible. I checked flashlog.txt and found that [url].... is loaded but will be ignored because of its syntax error - its generated by crossdomainmaker website and also correct with specifications and examples over internet, so what can I do?
my website is flash-only and i have photo gallery, and if you click on a thumbnail it loads larger image in flash, and then you can click on it and see "Save As..." dialog.. you can find a nice example what i am talking about here [URL] and if you select one photo there is "DOWNLOAD IMAGE" :] it's not my web.
I want to record the my stream at media server with file name 1.flv, and after 30 min same stream saved in another file like 2.flv, same prcess atfetr each 30 min.
It saves the file to the Flash Media Streaming Server successfully, however, when I try to stream the video it does not play, when I download to my pc and try to play using vlc player, it doesn't play.
I'm trying to keep using .mp4 and not the default .flv.
Here is what I want to do: Take an object that has a bunch of properties set and possibly holds other objects in it, and serialize it or somehow save it to a file using the File class. Reversing the process is also necessary. I know about SharedObject, but I do not get the ability to dynamically change the save/load location as in the File class. Is this possible with FMS, and if so, what is the procedure? If it is not possible, then what options do I have to achieve the same goals? I have read the SSLR and searched for a solution but do not seem to see any means to do this.
How would I change that so recorder.output saves to my server in the same directory instead of how it is now, which produces a file save window to save on my local hard drive.
how to save a text file on the server with some data a user inserted?
I need to do this: I have a text box and after pressing enter I need to create/append a file with a log of what a user entered. I have created the box, add listener but I don't know how to create the file.
I have AS3 browsing using the .browse().it then sends to my PHP script and that should be fine.The AS3 tells me that it is working.The PHP tells me that it is receiving the file.So there should be no problem.... But it seems to think that the file I am trying to upload already exists and then it fails to save the file to the server. When I use HTML instead of .swf it works fine.My PHP works fine when I interact with it using HTML.So my AS3 looks like this:
When I use the .swf it writes "PHP file alreadyExists" into the log.txt and there is no files in the upload directory what so ever (and the browser cache is clear)When I use the .htm it writes "File move" into the log.txt and copies the file
I cant find any script or something like that on google to find how to save textfield in flash to my webserver? I read i must have server side script... where i can get it? im using Flash 8 but its not problem change it to Flash 6-9.
I have successfully been able to write some client-side ActionScript that allows me to record my webcam and mic data to my FMS server. The .flv files get saved to a directory under the applications directory. However, I need to process those flv files for a web application and would like those .flv files to be saved to the web app's directory (outside of the FMS application directory). I have tried changing the <Streams> tag in the Application.xml file that I placed in the FMS application directory, but that simply did not work.My goal is simple: to save the recorded stream data outside of the FMS application's directory. I have been going crazy trying to do this, but would like to know any pointers that any of you experts have. Can this be done? If not, how can I execute a server side PHP script after the stream is done recording. I know about using the exec() function in PHP, but am unsure as to how to execute that script via client-side actionscript.Here is the path to my FMS server (Linux OS) installation and the application directory. The application name is "ngale"./opt/adobe/fms/applications/ngaleHere is the path that my client-side ActionScript is placing the .flv files of the recorded streams/opt/adobe/fms/applications/ngale/streams/recordings/Here is the path to my web application/home/user/public_html/dev.ngale.net/public/Here is the path that I would like for the .flv recording files to be saved to/home/user/public_html/dev.ngale.net/public/audio/.flv
Flash Media Interactive Server 3.5 or later supports recording of streams using the H.264 codec, directly on the server. Archive high-quality live streams so you can quickly deploy the content on demand after your live event is over, and use the free F4V flattener utility to prepare your file for video editing using Adobe Premiere Pro CS5."
there is no problem to record the stream in flv format but i don't find a way to record using h.264 compression
i have a standalone exe flash file which opens autorun from a cd, and i need to open a windows browser directly from that flash. i want it to open the htm without any toolbars or scroll.
i have a standalone exe flash file which opens autorun from a cd, and i need to open a windows browser directly from that flash. i want it to open the htm without any toolbars or scroll...
In the article there : http:[url]...We can see this under 'User lookup'.RTMFP assigns a peer ID to each participant. These peer IDs are 256 bits long and are non-forgeable. When you want to subscribe to a directly published stream, you must specify the publisher's peer ID:
#var receiveStream:NetStream = new NetStream(netConnection, id_of_publishing_client); receiveStream.play("media"); In another thread, Michael said : i believe the problem is that you are attempting to make a P2P connection to the server's peer ID; that is, something like" var ns:NetStream = new NetStream(netConnection, netConnection.farID); ns.play(...);
under the covers, this will open a new RTMFP flow to the server that will appear to the server as a new incoming client, but the initial handshake will be incorrect (the first/only command message is "play" instead of "connect").i see this on Cirrus all the time.Is it an error in the article or is it right considering the scenario?
I am trying to come up with a solution where I can use some application embedded into the website (assuming something in flash to cover as many platforms as possible) where the user can record videos with sound from a webcam that are streamed across to my server so they can be stored.I don't want to store the captured video & sound on the users computer if that is possible to prevent any issues with space etc.that is just the server side of things and need to find some form of flash app that can capture and send the data to there server from the browser.
I have been reading about Flash VOIP capabilities. I wonder if flash i able directly to connect to VOIP server ex. Asterisk [URL].. or do I need The Adobe Flash Media Server?
I would be grateful for info on this, also any links to info how to build VOIP client using Flash would be very be useful.
I need application with input text box and a button, user is able to write into the input text box, and when he press button, the written text will save on a text format file on server (like a notepad with .txt extension) and if this file exist before new information will over write!
As I understand the save() method in fileReference only works with flashplayer 10. But is it possible in flashplayer 9 to get a "save as" dialog box when I on a btn target a .jpg file on my server?
How do we save file locally in Flash (ActionScript 3) without displaying dialog. I know we can use the following code to save file locally but it prompts Save dialog. I don't want this dialog while saving file locally.
I am connecting FMS over RTMP from a firewalled network where RTMP is blocked.Connecting to my FMS server from there takes (a too long) one minute before the Flash client switches from RTMP to encapsulated RTMP into HTTP.Is there any way to by pass this delay or is it a plug-in inner behavior that cannot be short-cut ?