ActionScript 3.0 :: Make File Uploader - Server-side Script Like Php?

Jan 6, 2010

Could someone point me in the direction of a good tutorial of how to make an actionscript 3 file uploader? I think you would have to use a server-side script like php to?

View 1 Replies


Similar Posts:


ActionScript 2.0 :: Flash Uploader - File Not Appearing On Server Directory

Nov 16, 2009

When I upload file using a simple uploader the file does not appear on the servers directory..Everything is working, the preloader the status text etc, as if it is uploading the file but nothing appears on the server I am not very sound in php The code goes like this:-

Code:
Select allSystem.security.allowDomain("http://localhost/");
//import the FileReference Object
import flash.net.FileReference;
//initial settings - since no upload file type selet yet user cannot upload a file
uploadButn.enabled = false;
//create a new FileReference object
var fileRef:FileReference = new FileReference();
[Code] .....

I have given a folder called uploads on the server and that is where files are supposed to come. Also I have given the correct name of php file which is upload.php in the fileRef.upload But its not working.

View 1 Replies

Flex :: Download Files From The Server Side To Client Side Without Prompting A Window To The User To Download When Any Updates Happen At Server Side?

Dec 17, 2009

I want to download files from the server side to client side without prompting a window to the user to download when any updates happen at server side.Right now I am using urlstream class but first file is downloading completely rest of the files contents downloading partially.

editCode sample taken from other post. Warning: it's a huuuge chunk o'code.

<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:MyComp="client.components.*" layout="absolute" height="554" width="817"

[code]....

View 2 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

Media Server :: When Call A Client Side Mothed From Server Side?

Nov 10, 2010

Below is the code. When the swf is connected to FMS(the connection is successful) I use this application.user_so.send("enterContestGroup"); to call the client side mothed. You can see that in the client side I have defined the "enterContestGroup" mothed. However the fact is it doesn't call that mothed. Can anybody tell me what the error is
 
application.onAppStart = function(){  application.user_so = SharedObject.get("user_so", false);  application.nextId = 0;}application.onConnect = function(newClient)  application.acceptConnection(newClient); 

[code]....

View 8 Replies

Javascript :: How To Make Sure That Image Returned From The Server Side Cannot Be Intercepted

Dec 13, 2011

In our application,we have a web service which wll return images to the client according to the parameter.Now,we want to make sure that the image can not be used by no-permissioned user and can not be intercepted through the network.So we want to encrypt the image in the server side,when the client get the image,it should be decrypted accordingly. However our application is browser based. It seems that in the browser we can not use javascript to decrpte the image stream.

Assume that each client which call the service is absolute safe.We try to use a hidden flash in the page,which may decrpte the image and save them to local,then show them in the page, this will use the communications between the js and flash.But we have to decrype the image use the flash language other than c# or java.

UPDATE:Our service for servering images:

[URL]

This url is public,so any one can use this service with different paramter.Even we add a key paramete like this:

[URL]

THen we meet two problem:

1)how about other people know this key,even we bind the key with the ip or mac addresss.

2)How about the user grap the http package directly? Then he do not need know any parameter,he can intercept the whole image steam.

UPDATE2:using both server side and client side?

View 3 Replies

ActionScript 3.0 :: Upload File In Server Side?

Aug 13, 2009

i want upload file in server side actionscript ( FMS ).

View 5 Replies

ActionScript 3.0 :: Displayed From An Xml File Been Generated From Server Side?

Dec 6, 2009

I have text been displayed from an xml file been generated from server side. The tags that are been used in the server side text forum add tags for underline in the below forum

[Code]...

View 11 Replies

ActionScript 3.0 :: URL Loader - Post XML File To Server Side

Sep 21, 2010

I have written an actionscript snippet to POST a XML file to the server side.

//code begin
var secondsUTC:Number = new Date().time;
var dataXML:XML = new XML();
dataXML=
<?xml version="1.0" encoding="utf-8" ?> ;
<login>
<time>{secondsUTC}</time>
[Code] .....

When testing, the progress went well. When the loading process have completed. The server side didn't get any files.

View 3 Replies

Server Side :: Write To A Simple Txt File Using Flash And Php?

Sep 29, 2006

I'm trying to write to a simple txt file using flash and php. After several failed attempts I decided to brake the code down to it's bare minimum and build up from there, unfortunately even that didn't work.Here's my php code.

PHP Code:

<?php

$myFile = "testFile.txt";
$fh = fopen($myFile, 'w') or die("can't open file");
$stringData = "Testing[code]....

the file it's writing to (testFile.txt) has it's access set to 777 as does the php file.I point my browser to the php file but nothing gets written to the text file. I know the server is allowing php (at least on some level) because my php mail is working perfectly.

View 6 Replies

Server Side :: Make A Small Thing On A Website That Will Allow The User To Update The News Themselves?

Dec 26, 2003

Ok I'm trying to make a small thing on a website that will allow the user to update the news themselves.... after reading up on it i found that to export a textfile in this way I would have to have a serverside script to execute it for me (PHP in my case)... I did it, but it isnt working..

View 14 Replies

ActionScript 3.0 :: Standalone - Make A Flash Object Where Users Can Interact But Has No Server Side Support?

Dec 17, 2010

Is there any way to make a flash object where users can interact but has no server side support. All users are in the same network, the swf file would be on a shared drive. Nothing complicated, just one frame where everyone (about 10 user) can make modification. No login, no password.

View 6 Replies

Flash :: Flex Building An Application With Client Side And Server Side

Sep 3, 2011

I want to create an application that has these features

- At client side: Display a list of images, when user click on one image, data will be stored in MySQL database.

- At server side: Manage images used in client side, I can delete, add new images.

Is this possible for me to achieve this using Flex? And if it is able, will my output be 2 separate SWF files? And where can I find the materials to read on writing such applications?

View 1 Replies

Flex :: Export Chart/Graph/component Into Xls File Without Using Server Side?

Apr 15, 2012

Flex: - Is it possible to export Chart/Graph/component with dataGrid data into xls file without using server side?

(Web Application)

I have gone through number of article but could not find any hind to do. As per few article it is possible to export data of dataGrid into xls by using as3xls-1.0.swc but not Chart.

I am looking to export data from dataGrid as well as Chart.

View 1 Replies

Flash :: Convert A PowerPoint File To Server-side Within Java On Linux

Feb 10, 2011

I am looking for libraries or solutions to convert a Microsoft PowerPoint file into a playable Flash file. The constraints are that I must be able to do this from Java, a webapp, that is running on a Linux-based server. I have been scouring Google and have only come up with two options: iSpring SDK -[URL] Option #1 is looking like it will be cost prohibitive based on initial conversations with the vendor (i.e. no price listed on web site). Option #2 seems non-ideal as it will require installing additional dependencies of OpenOffice and X11. This seems like too much overhead for what should be an inline solution.

Everything else I could find was either written only for Microsoft .NET or was just a PowerPoint plugin exporter. Any other solutions out there that are being buried by Google SEO? Can someone, maybe, convince me that the overhead of Option #2 really ain't that bad?

Update: I should clarify that I'm not opposed to reliance on a native library as long as it will compile on CentOS or, preferably, has a yum package available. I should, also, clarify, that I'm not opposed to a "for pay" option within realms of reasonable.

View 2 Replies

Compress Wave File On Server And Decompress In Flash / Client Side?

Sep 8, 2011

im using an open source program called Festival that generates text to speech, and in ubuntu i call its method text2wave that converts text into a wave file. I am looking into converting short paragraphs to wave files, but the problem is that each wave file ends up being approximately 1.2MB in size. The wave file is recorded at 16khz, and while recording at 8khz halves the size of the wave file (sacrificing sound quality), the wave file is just simply too large. These paragraphs have to be served many times to the clients and our server can not support that much bandwidth. Is it possible to compress the file on the server, and decompress it in my flash script (on the client side) and play the wave?

View 1 Replies

ActionScript 2.0 :: Possibe To Upload File In Flash Itself Not Any Server Side Code?

Nov 14, 2011

i want to upload a image file on stage in flash as2 itself using file reference,not using any other server side code,can it possible.

View 1 Replies

Java :: Flex - BlazeDS And Class In WAR File - Implement Server Side Process?

Oct 26, 2009

I have a java class which has been deployed as WAR web application in a BlazeDS/Spring server sitting on JBOSS. Apart from the Flex application which will access the WAR file, I also need to start some server side process's which will initiate BlazeDS "pushes" to the Flex client via AMF messaging.

What is the best way to implement this server side process? - Should it just be a class with a main() method in the WAR file which gets called from the command line? Can this be done - not sure you can run a class in a WAR file from command line? - Should it just be a class with a main() method in a JAR file which gets called from the command line? Not sure what the standard practise here is. The key is that the process needs to be started on the BlazeDS server to push data out (not on the Flex client).

View 2 Replies

Java :: Encrypt Sqlite Db File With Server Side / So Flex / Air Client Can Read It?

Jan 23, 2012

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 Replies

Flex :: Server Side Alerts For Client Side App

Aug 28, 2009

User interacts with Adobe flex webpage to configure reports based on some data stored server side. They configure their view and have THAT view emailed to them daily. I've got the report builder, the part I'm trying to figure out is how to render the report server side and send it out as email (native flex functionality? convert to html? take screenshot? assume something is running client side?...)

View 2 Replies

Flex :: Adobe Client-side Or Server-side?

May 17, 2011

I am writing a thesis and have been able to place all my frameworks under two categories (client-side frameworks and server-side frameworks), but I can't seem to finf where to place Adobe Flex...In which category should I place this or should I place it in some separate catgeory?

View 3 Replies

ActionScript 3.0 :: Better To Thumbnail Client Side Or Server Side?

Apr 17, 2009

I am making an app where people upload a bunch of images and it thumbnails them and saves them to the server. Is it better to create thumbnails from the uploaded images, or to upload them to the server then re-download the thumbnails?

View 1 Replies

Flex :: 2047 Security Sandbox Violation Errors While Loading An External Swf File From Server Side

Jan 31, 2011

This is my code and i want to place an external swf file for my flex application website. This is my code:

var loader:Loader = new Loader();
var url:URLRequest = new URLRequest("http://www.my site.com");
loader.load(url);
addChild(loader);

View 1 Replies

ActionScript 3.0 :: Make Image To Follow Mouse Only Side To Side

Nov 11, 2010

I am on a tight deadline and looking for the AS3 code of how to do what this company does on their site:URL...However, I don't know AS3.Literally my project requires I recreate the what is shown with the hand holding the sharpie and moving only back and forth restricted to a centered rectangular area at the bottom of the screen.I know how to import the image that follows the mouse to the stage, and to make it a movieclip. Let's say I have named the instance "Image_mc".Does anyone have the actionscript for how to do this? Do you attach it to the object or to a keyframe on a separate actions layer?

View 5 Replies

Php :: File Size Limitation Of Flex File Uploader?

Oct 20, 2011

Does anyone know the file size limitation of flex file uploader?

Currently I'm working on a project that uses flex and cake php. I heard that there is a 1GB of file size limitation in flex file uploader.

View 1 Replies

ActionScript 3.0 :: File Uploader Creating Strange File?

Oct 19, 2010

Initially I had a 2039 error I resolved this by using a local testing server, which resulted in a 2038 error. So then I hard coded the url and now I dont get any errors but the file doesnt upload.

Instead a file is created (FileUpload.cs) in the directory where the files should be.

Does anyone know what this FileUpload.cs file is?

View 0 Replies

ActionScript 3.0 :: Loading 2 Swfs Into One File To Display Side By Side

Feb 1, 2010

This was super easy using AS2. I had 2 'loader' movie clips placed on the stage and simply used the loadmovie to bring up the external swfs. How would i accomplish this using AS3? I simply need one movie to display on one side of the stage, and another on the other side of the stage. do i still use these 'loader' movie clips?

View 4 Replies

Adobe Flex File Uploader?

Mar 7, 2010

I've been scouring the web to find a tutorial on how to implement a flex uploader, but didn't find any :(

Some tutorials just give the code and doesn't explain how to use them(sorry, i'm a newbie to flex)

can u geeks suggest some good tutorials?

View 1 Replies

Uploader - File Uploading With Flash?

Dec 16, 2011

I am gonna make my own flash file-uploader, but I can't find any good materials. how to make a simple flash uploader.

View 1 Replies

ActionScript 3.0 :: File Uploader Not Working?

Oct 6, 2010

I am making a file uploader but it is giving me this error: "Error #2044: Unhandled IOErrorEvent:. text=Error #2039: Invalid remote URL protocol. The remote URL protocol must be HTTP or HTTPS."

but on a server it seems to work (the progress listener shows the files are being loaded [use the scrollbuttons or scroll over the text area]), until all is done and the files dont appear on the server.

Below is all my code. I hope someone can help me through this, it is really important atm. I've tried some tutorials and sources but can't find the error.

[Code]...

View 5 Replies







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