ActionScript 3.0 :: Upload It To School Server?
Oct 20, 2009Edit, it works when i upload it to my school server!
View 1 RepliesEdit, it works when i upload it to my school server!
View 1 RepliesIm looking to stream educational DVDs within my school, i now have a spare server but im not 100% sure what adobe flash product i need to do this?As ive seen a few different options to buy but thinking will the Adobe Flash Media Streaming Server 3.5 be good enough?Also the streamed files are they all via web page or can you use something like VLC player and connect to streamed files that way?
View 3 RepliesI am using a PHP upload to upload files to server. I have a loop for the 5 files to upload....
ActionScript Code:
if (PDFFiles[i] != false){
PDFFiles[i].upload(uploadPHP);
}
As the loop runs quicker than PHP can upload, the success of....
ActionScript Code:
function fileUploaded(e:DataEvent):void {
trace "Success"}
....can get out of synch. It doesn't cause me any real problems but is this bad form? Or am I better to upload one file the wait for the PHP to return success before uploading the next one?
i have used the following code to upload file which works in php4 server but dont work inphp 5 server.The flash code is as follows:
import flash.net.FileReference;
import gs.TransformManager;
//Allow this domain[code]....
i am uploading the php file.
I now have a Windows PC and I purchase Adobe Flash Media Server 3.5 software and install.I but server space on a managed server arrangement.I upload my pre recorded Flash clips to the server and my website and playlist to my host. Basically the website is channelled via http and the clips via RTMP. The key question that no one inside Adobe seems to be able to grasp (or answer) is ~ will it work if I stream my own clips?! or is it inferior to say that of a professional streaming company.The streaming companies charge anything from $125 to $250 a month, a big cost for someone like me, streaming around 1000mb a month. So does anyone out there have direct knowledge of this software and can you stream via rented server space without using a streaming company?
View 1 RepliesI have a website which is a html file which loads a swf. This swf is an image gallery controlled by an xml file. If I update the xml file and upload it onto my server, will the swf automatically update. Or will I need to open the fla, compile a new swf with the updated xml, and also upload the new swf to my server?
View 1 RepliesI'm using Dreamweaver CS3. I'm new to Flash and It seems that every time I take 3 steps forward I have to take one back. I've inserted the .swf into the html page, where it resides inside a cell within a table. It plays there, and in Preview In Browser.I've uploaded the .html page to the server but the movie (and all the code relating to it) will not go along with the rest of the page contents. There is no trace of any movie coding anywhere on that .html page on the server.I have three other Flash movies on this site, all on different .html pages. All the elements of all the Flash movies are in their own folders, all of which reside in one single Flash folder. The other three movies play successfully on the server.
And on my computer, in Dreamweaver Code View, the correct path to the .swf file is present.But, only for that one movie, none of the Flash movie code will upload to the server. I'd like to supply a web address, but this forum does not allow the inclusion of URLs. To bad, it would certainly clarify the problem.
my baner is considered unsafe because of fileHandler.upload function which uploads selected image to server. Is there any other function I can use to replace fileHandler.upload ?
View 1 RepliesHow to upload an image to the server using php code in actionscript 2.0?
View 2 RepliesI am unable to uploade the file "expressInstall.swf" generated by Flash CS4 AS2.0. DreamWeaver displays the following error message:
"Scripts:expressInstall.swf - error occurred - An FTP error occurred - cannot put expressInstall.swf. Access denied. The file may not exist, or there could be a permission problem."
I am working on a mac but my question is what files do I need to export out of CS5 to include in my upload besides the index SWF and index html? Do I have to export each individual page? Each individual photo? each individual button, ect? Or is there a main folder I can export and up load to my server. Also for all the photos I have put into the project, do I need to upload them as a seperate folder, if so, is there a specific name I should label it so it registers?
View 1 RepliesAm developing an app on which a user can record from their webcam or upload videos to the fms. Is it possible to upload video to fms using php or flash?
View 2 RepliesI need to upload a csv file from local directory to tomcat server using actionscript and Flex as frontend. The uploaded file should be queried which i have done in java using csv database driver.
View 3 RepliesIs it possible to upload files to a server, with flash only? I'm looking for a SWF file that's able to do this task.is it possible to upload a file with flash alone (no PHP or ASP)in case this is possible: is there a simple SWF-file to do this task which I could use?
View 1 RepliesI have bitmapData. I want to upload it to a server using URLLoader. I tried many ways, but with no result.This is my current code in ActionScript 3:
import flash.net.URLLoader;
import flash.net.URLRequest;
import mx.graphics.codec.JPEGEncoder;
[code].....
how exactly would i go about to upload an image to my server with AS3 and php and have the filename always be different so it doesn't overwrite another uploaded image.
View 1 RepliesI am trying to upload a pdf file to a server but I am not having any results. Here is my actionscript code:
ActionScript Code:
var fileTypesV:Array = new Array();
var pdfTypes:Object = new Object ();
pdfTypes.description = "pdf (*.pdf)";
[Code]....
I am having a bit of problem uploading bitmapdata which i have taken with my webcam onto my php server..the code i have so far:
public function browse(event:MouseEvent) {
var header:URLRequestHeader=new URLRequestHeader("Content-type","application/octet-stream");
var jpgURLRequest:URLRequest=new URLRequest("url");
[code]....
Im getting this error:
ArgumentError: Error #2127: FileReference POST data cannot be type ByteArray.
at flash.net::FileReference/upload()
at Source/browse()
I need to have a photo upload option on a form i am creating in flash. I would like to do this with PHP and Flash 8.I am creating a form, where people can enter information, then include a photo which needs to be saved in a folder specified by a entry on the form.
View 3 RepliesI'm currently trying to build a flash image uploader
My problem is that they all seem to upload the images to just one folder, is there a way the user can select or create a new folder to upload images to?
I am having a bit of problem uploading bitmapdata which i have taken with my webcam onto my php server.. the code i have so far:
[Code]...
I have a webcam script that takes screenshot when you click the snapshot button. Now I would like people to have another button to upload their photo on the server. How can this be done?
import flash.display.BitmapData;
mycam = Camera.get();
vid.attachVideo(mycam);// vid is videoobject on stage
bitmapData = new BitmapData(160, 120, true, 0);
[Code].....
Tell me the code for "how to upload and download" files from server using flash cs3/flash 8.0.
View 2 RepliesI'm developing a drawing application in flash and I want that when a user has finished his drawing, he can upload the file to a server.
I found a code on the web that does what I need, but when I upload the image to the server, there open another window and I don't want it does that, I want simply upload the file to the server without opening another window.[code]...
Is it possible to upload an image using as3 and flash player 9 and then display it in a movie clip without server side assistance?
View 1 RepliesI am trying to get the "bwcheck" application to work on FMS 4 on Amazon EC2, in order to detect my upload speed to the server and provide the best quality stream for my upload speed.
The tutorial I follow is this:
[URL]
Both are almost identical. However when I compile the .fla to .swf (having changed the URL for my server and application), and after I load the server-side code, I get the following error in my server-side log:
Method not found (recData)
I understand that apparently it is not finding the method, but I tried getting it off the function in the global scope, tried attaching it to the client, etc. but nothing worked. The original code of the server-side script is:
for ( i = 0; i < 1000; i++ ) {
data += "S->C";
}
Client.prototype.recData = function(data)
[Code].....
rtmfp downloaded from the node, and the upload bandwidth to another node, but the FMS bandwidth limitations Client.getBandwidthLimit () seems to only limit the bandwidth of the server to the client such as RTMP, ask how to limit the bandwidth between nodes, such as RTMFP.
View 2 RepliesIn Flex i want to upload a particular file to server form local system.how to do it?
View 2 RepliesI captured screenshot of my ui element, and would like to send it to server, using httpService.
Currently I am doing the following:
var httpService:HTTPService = new HTTPService();
httpService.method = "POST";
httpService.url = "/admin/compositions/add/";
[Code].....
In the following link [URL] how to make the picture upload directly to the server after taking a picture from webcam
package
{
import flash.display.Sprite;
import flash.media.Camera;
[Code]....