ActionScript 2.0 :: Upload File To User Selected Folder?
Jul 4, 2009
Im working on CMS for a site I made for a client, for gallery they have separated projects , where are 10-30 photos on each of them.
For the moment I only know how to make an upload on 1 preset folder. Here is AS2 code and PHP code i am using right now.
I have a PHP code to scan all directories and files, so that part shouldnt be a problem.
How do i make an upload on folder that user Selects ??
View 0 Replies
Similar Posts:
Jan 20, 2010
I'm trying to make a flash application that list the content of specific drive or folder in my local computer, and then when user selecting one of the file the application open that file.the idea is to make everything as dynamic as possible, so when i change the content of the that folder, i don't have to edit the code.
View 1 Replies
Jan 25, 2010
I'm looking for an easy to use (free) "module" that can upload multiple files / folders.
It must:
Support image files
be user-friendly
be customizable
It may be written in:
RoR (Ruby On Rails)
Java
Flash
View 2 Replies
Sep 9, 2009
Okay, so I am calling my scripts from the folder "php/" Thus, my FileReference calls "php/upload.php" to upload. However, my uploads are in "uploads/" and not in "php/uploads". When the PHP script is called, it apparently ignores the caller (the SWF file) and looks for uploads in its own directory (the "php/" folder). It may be a PHP question, but how do I reference the uploads folder as being in the parent directory of the php files in my PHP script?
View 1 Replies
Dec 29, 2009
We're trying to upload a file from a flex client to a JEE app.
In a full HTTPS environment
JEE server is JBoss 5
Using BlazeDS 'Custom' authentication (username and password are entered through a flex form)
Using BlazeDS per session authentication
In regular AMF calls, we can access user principal and use role mechanism. However, in our upload servlet, we have no access to user principal.
request.getUserPrincipal() // returns null
View 2 Replies
Jul 29, 2010
i have situation in which i have some library projects, say
"DataProcessors","Lib2"
, included in my lets say "MainProject" (a web project) placed on directory
"E:in-debugMainProject.swf"
, when i build the project it automatically place all the libs .swf in its "E:in-debug" folder, but when i debug or run the project it it gives loading error that
"E:DataProcessors.swf"
not found but i have those lib files on
"E:in-debugDataProcessors.swf"..
what could be the possible errors.
View 1 Replies
Apr 13, 2012
I AM USING AIR FOR ANDROID. I want to get all the jpg's (or Mp3's) in a folder of an external folder ... that will be stored on the users PHONE with included in the APP.
How can I do that from FLASH using Action-script 3?[code]...
View 2 Replies
Dec 2, 2011
I have a db file Resided in Flex Air Bindebug Folder,Here i want to Move/save this db File at another location let say In mydocument/or any Folder, I am not able to do it's programatically.
View 2 Replies
Aug 31, 2010
my listener.onComplete = function(selectedFile:FileReference) is fired without any file in the upload dir. if the file is small and I wait a bit I can see the file (through FTP) coming up on the server, but most of the times the "onComplete" if fired without any file being saved.
can I add something to this php code to make sure the file is uploaded?
[Code]...
View 1 Replies
Jan 15, 2010
I am working on the multifile uploader, and want to set the upload directory based on a selected questionID (which is the directory name) in my datagrid. The code can be found here [URL] Something like this: I have set myQuestionID (the directory to upload to) so it is bindable (lines 136-137):
[Code]...
View 2 Replies
Oct 28, 2009
I am uploading some photos In flash and Bydefault its saving those files in the folder.But Is there anyway so that i can save them directly in my library of flash instead of using import option?
View 2 Replies
Aug 24, 2010
package com {
import flash.display.*;
import flash.net.*;
[code].....
View 2 Replies
Nov 3, 2009
How should I go about matching the selected row of a sorted DataGrid to its source data row within its associated data provider?
For example, once a user sorts a DataGrid by clicking on one of the column headers, the target.selectedIndex from the CHANGE event (generated next time a row is selected) represents the index of the sorted row and not the index of the data as supplied by the data provider. Is there a simple way to map the index of the user selection back to the index of the original data?
View 2 Replies
Oct 23, 2009
I am making a flash movie, and I want the user after downloading it to have the option to upload a picture into the movie. Concretely it is going to be a mirror in the movie where the user then will see the picture of himself.
View 2 Replies
Apr 23, 2009
How would I go about setting up a situation where, I preferably create a motion graphics piece in After Effects and turn it into an swf. The piece will ,say, have a head shot photo of someone as the background in the movie. I want to create a situation where the user can upload a head shot photo and their uploaded photo will become the new background in the piece......is this possible? I've seen sights like jibjab and oddcast where the user can superimpose themselves into silly animations .....so I'm assuming it must be possible?
View 1 Replies
Apr 30, 2009
I'm hoping to produce a CD of Captivate lessons to be accessed via a Flash menu. (Using Flash CS4, but with ActionScript 2). I can get the files to work from the disc, but as they are large files, they take less time to open if downloaded onto the user's machine first.
Is it possible to use some ActionScript to take the folder of files and copy them onto the desktop so that I can then point the menu items to the newly copied folder? I've seen that there is a download option in ActionScript but this seems to bring up a dialogue box and allows the user to place the files wherever they want. Ideally I'd like the process to be automatic.
View 2 Replies
Mar 17, 2010
How can I find the path to the user's temp folder (e.g. C:UserslisnilAppDataLocalTemp) from Flash/AS3? It needs to work on any version of Windows, at least XP, Vista and 7.
View 1 Replies
Jun 26, 2010
I'm building a site similar to vista print. Need to know how to make the inputed text from the user appear on the image as an update. Basically how do i assign the user inputed text to appear on an image?
View 2 Replies
Apr 5, 2012
I'm really stuck on this - I'm supposed to be delivering the project today. I need to be able upload a PPT without user interaction (so no FileReference)
View 2 Replies
Oct 23, 2010
I have created a flash e-card for the organization I work for. This will be passed to another web company who will allow users to upload images that will then render in the card. What parameters do I need to write in this section
<PARAM NAME=FlashVars VALUE="">
The user will upload there image and it will appear in the ecard.
View 2 Replies
May 30, 2009
I am trying to work out if FMS is the solution I am looking for. I am trying to create a system that will store data, and upload it to a database when the user leaves the page. I thought the best way to achieve this would be to send a data object to the media server, check on an interval to see if the user is still active and then somehow upload the data when their "session" times out.
View 1 Replies
Aug 12, 2010
I've developed a system that uses SWFUpload to easily allow the user to upload multiple files with a progress bar showing them the upload progress. It all works fine in my development environment, but is failing for some users in the wild with the Flash movie not loading. I can see the Flash movie is there, if I right click it a window appears saying Movie not loaded... (Then on the next line) About Adobe Flash Player 10...So far I've not been able to determine what was causing the failure.Are there any other alternatives to SWFUpload that will allow for:
Upload progress bar
Allow multiple uploads
View 2 Replies
May 5, 2010
Where to begin? Anything thoughts, or direction I should start with?
View 1 Replies
Feb 12, 2010
Basically im building a flash based drum head designer for users to upload their own image, resize, add text etc, then it be uploaded to a web server when they complete the purchase.
I have all the server side part working, able to send a 2800px square image and compress it into a 1.5MBish jpg.
the problem im having is for the user to upload an image into flash. I've seen prototypes where it uploads the image to the server, then flash loads that image, then upoads the completed one, but this uses alot of transfers.
What I hoped to achieve is something similar to the system on the [URL] website where the image is stored in the cache first. I have spent hours looking for resources on importing user images into flash without uploading first.
View 2 Replies
Jan 12, 2010
I want users to be able to upload audio files to my server (say, over HTTP.. mechanism doesn't matter much), and then I'd like to assemble those files into a playlist and stream them out over a live RTMP stream to a Flash widget.The catch is: I'd like to begin streaming the audio files before they completely finish uploading. For example, if a user uploads an hour-long mp3, I'd like it to be able to begin playing on the RTMP stream once, say, the first minute has been uploaded.I'd like to support mp3 and AAC, and would hope to avoid re-encoding the files. Is is there a way to make this work with Wowza, Flash Media Server, or some other clever solution?
View 2 Replies
Mar 20, 2011
I am creating an offline Flash Application which takes the user's photograph and stores it into a designated folder.My problem is how can i Store the photographs WITHOUT using any server side languages. (As its a standalone offline application).I know about the JPEGencoder classes and all.I can't use FileRefrence because it asks the user where he wants to store the image while i want to save the image in a pre-defined folder automatically.
View 2 Replies
Sep 2, 2011
I want to create a custom video like the videos on jibjab, i.e allow a user to upload an image of their face and superimpose this onto a video of a character's face.
View 1 Replies
Feb 5, 2009
Can I do this in AS3?
(1) add the caurina folder to the folder
(2) add Thumbnail.as to the folder
(3) add
[Code]....
View 1 Replies
Jun 25, 2009
It is possible to make file transfer from air application via server?I think need to create like byte array streaming or somethink like this from sender and write the destination file on receiver user pc.
View 2 Replies
Jan 22, 2011
The purpose of this is too allow a user to upload an image from their machine to be displayed on a website. The code's pretty straight forward and i have it all working fine, but have come across an issue. When certain portrait images are selected to be loaded and displayed, they get rotated at some point in the process and become landscape? There doesn't appear to be any consistency to the way they are rotated. Some are clockwise, some counter clockwise.
The one thing i've noticed though, is that it doesn't appear to be an issue with images that have been re-saved (so simply taken into photoshop and then saved without any modification), only images that are the original source of an image taken by a digital camera? This has got me wondering whether there's a possible issue with flash reading the meta data of the source image? The attached zip file contains the source code and swf, a selection of images from 2 different camera's and a modified image.
Just to note, due to the dimensions of the images, in the source code the bitmap is scaled to 0.1 so that the result can be clearly seen. I've tested this without the scaling and the image still gets rotated. There's a trace in the Event.COMPLETE handler of the Loader.loadbytes() method and you can see from this that the width and height of the loaded image have been switched? Note - due to the size of the zip file (4.6MB) because of the images, i've put them up on my server for download instead.[URL]
View 5 Replies