Can You Use Flash To Upload Multiple Files From A Site?
Hello, I wonder if anyone can help me?
I make tailormade CMSs/websites for people and I need a way to upload multiple files in one hit, so my users can upload files to their site quickly. I used to use a Java applet that did this... I must admit, it was ok... But it cost me $19 per site license and it was Java - which, for whatever reason, I'd rather not have. Flash seems like the best thing to use for something like this... But can it actually do this type of thing?
Does anyone know of any good Flash solutions that may do this?
James
SitePoint > Design Your Site > Flash and Actionscript
Posted on: Mar 7, 2008, 02:06
View Complete Forum Thread with Replies
Sponsored Links:
Upload Files From Site
I'm doing a web site for a printer who wants a page where clients can send him files via ftp. I've figured that it can't be done from within Flash, so I thought a pop up window from the site. But then what? I'd appreciate any help.
View Replies !
View Related
Upload Multiple Files
I'm trying to make a button which can upload multiple files in Flash.
This is my code so far:
AS3: http://pastie.org/320443
PHP: http://pastie.org/320444
The problem is that the console in Flash does say that the files are uploaded, but they are not.
I've tried to replace the PHP to just echo "test"; and Flash still says it is uploaded.
So what is wrong with the script and why does Flash says that files are uploaded when they aren't?
View Replies !
View Related
Best Structure For Your Flash Site - How Do I Load Multiple XML Files?
I'm trying to use Mark Angeletti's excellent structure (http://www.sitepoint.com/article/structure-flash-site)
to solve my preloading problems. However, I'm having trouble loading an array of separate XML files. Here is his code for Frame 2:
var xmlData:XML = new XML();
xmlData.ignoreWhite = true;
xmlData.load( xmlFile );
xmlData.onLoad = loadXML;
BTW I don't understand what "loaded" is doing here. What is this importing? Nothing that I can find... from the above code. How does it know if loaded is TRUE? Please explain.
function loadXML(loaded) {
if (loaded) {
trace (xmlData)
var xnRootNode:XMLNode = this;
//add firstChild.childNodes stuff here...
}
I don't want to use his system of firstChild.childNodes in the function because my XML files are very simple - just heading and plain text. All I need to do is import all 43 of them. So I tried creating an array in the Global Variables import Frame (1) and going through them like this:
var counter:Number = allText.length, ii:Number = 0;
for (var i:Number = 0; i<counter; i++) {
var xmlData:XML = new XML();
xmlData.ignoreWhite = true
var loadText = this["eachText"+i]
xmlData.load(loadText);
xmlData.onLoad = loadXML;
}
Works so far - I can do a trace and see each one. However I can't get them into the loadXML function - one at a time. Do I need to create another loop in the function or can I put the function inside the above loop? Then how do I create another array of objects? Whatever syntax I try - ie - var xmlData[i]:XML = new XML(); comes up with an error.
Thanks for your help.
Charles
View Replies !
View Related
Multiple Swf Files In A Site
I have been using the fixit.js file in my root folder and inserting the <script type="text/javascript" src="fixit.js"></script> below my object.
It works fine with one swf file. However, when I have more than one swf file (whether it be on the same page or another page) it doesnt work. It actually shows the first swf image where the second one should be. (I say first swf because its the first one i inserted)
How can you get around this?
TIA
View Replies !
View Related
Preloading Multiple Files For Main Site.
I've taken the advice of many people and seperated many of my elements for a web site out into separate swf files in order to reduce overall file size. However by doing this I've ran myself into a big problem -- and since I don't typically worry about preloading tactics until the end of my project, I'm in some trouble.
Although a good majority of the site is fine the way I have it, initially there are about 4 swf files and a list of both txt files and xml files to load in (used for text, etc) before anything can really GET going. Otherwise people are going to be looking at loading menus and the experience will be too broken up.
So, phew, what I'm trying to get to is if anyone out there knows of a preloading system that can take into account different types of Objects (MovieClip, XML, LoadVars, maybe even CSS) and group it together so I have the necessary information all ready to go?
I've had to avoid setting my files up like this in the past because I couldn't figure a way out to do it. I should've remembered that this time. Lol. Damn my curiousity! :shock:
View Replies !
View Related
Upload Flash Site
hi
i just build my first flash web site and could you please tell me how to upload it online.i really dont have any idea,if you could give me some guidelines / links it will be great
thank you very much
View Replies !
View Related
FTP Upload My Flash Site
Ok so this is a silly question but this is my first venture onto the internet! I have completed my flash site and have web space! I have logged onto my space and transfered the swf file and html file across, but the web page just dosn't seem to work. Any ideas?? Its driving me crazy, sure i'm missing somthing silly but it is driving me mad!
Thanks
View Replies !
View Related
Upload Flash Site
hi, i'm a newbie here and have a question.i have upload a flash website and it works.but there is a small problem.when i first open the website,it always ask to "click to activate and use this control".it alway happen when i browse using ie but with firefox its ok.i've tried with other pc but still face the same problem.so it is not about ie right?
by the way,i just uploaded the file just by publish it through flash in html format and then upload it..i did the right thing right?
View Replies !
View Related
How To Upload Flash Site To A .com Host?
I've been running a website that was entirely flash based off a Freewebs.coms server. Previously, I had uploaded the .swf file, and the .html file produced when I "published" from Flash.. then renamed the .html file to "index.html" and the site appeared- everything was okay.
I recently purchased a .com domain but cannot get the site to work. I was able to upload the .swf and .html file fine, renamed the .html file to "index.html" but nothing was displayed on the page when I went to the URL. Any ideas? I don't have dreamweaver, just flash..
View Replies !
View Related
Upload Flash Site/ Help Needed
Hi guys,
i have my flash site, ready to upload to the web.
i cant seem to get it to work with dreamweaver, (probably because i dont know it well)
how do I import it into dreamweaver so it plays?
i want the first page to be built in dreamweaver with automatic link to my flash preloader before it hits the main page of my site.
how do I do this??
tutorials etc??
advice??
thanks heaps
pook
View Replies !
View Related
Ready To Upload My Flash Web Site
Hello Im new here, by the way great Flash forum...
So Im done with my Flash web page, I have 3 files the ".swf" (10mb), .fla (22mb), html (4kb), which is the one Im going to upload to the server??
And how do I know if its going to take a lot of time to load..? I want to see my project in well "real time" to see how it will load as if I was one of you guys...
And to what site should I upload it?? I was thinking "DotEasy.com" andy suggestions??
Thanks You!!
View Replies !
View Related
Upload Flash Site/ Help Needed
Hi guys,
i have my flash site, ready to upload to the web.
i cant seem to get it to work with dreamweaver, (probably because i dont know it well)
how do I import it into dreamweaver so it plays?
i want the first page to be built in dreamweaver with automatic link to my flash preloader before it hits the main page of my site.
how do I do this??
tutorials etc??
advice??
thanks heaps
pook
View Replies !
View Related
Multiple File Upload With Flash/.php
Back again to get some more geniuses to help me out
Can someone get this upload tutorial to work?
http://www.codeproject.com/aspnet/FlashUpload.asp
I have tried, uploaded all the files, went though all the code to see if i had to change any destination paths (did't).
Every time i open Default.aspx in my browser and try to send a file it says "An error has ocured" and when i look in the script it says that this message will be displayed if a HTTP occurs. Anyone know how to fix this, or what i have or haven’t done?
I did change the permission of the Upload folder to 757.
---------------------------------
Just noticed that the permission on the Upload folder always goes back to 755. Could this be the problem? Will my host not allow me to do this? Or am i not even supost to do this?
Please someone help me
Thanks
SYS
View Replies !
View Related
Files Upload From Flash
Hi, i am uploading files through FileReference class object in AS2. If PHP block any file from their side then how to handle that message in flash. Do i need other PHP call like remoting or loadvars after uploading? or any other idea?
Flash AS2 has only IOError/SecurityError/HttpError Handlers. And i am unable to catch php return in these handlers.
So please help me, if any body knows. Thanks in advance.
View Replies !
View Related
Can You Upload Files Via Flash?
... or do you need to use html forms & php and then pass the data to flash? Is there any method within flash that's equivalent to HTML's 'file' input object, which can be used to select a file on the user end and upload/save to a server?
thx,
CC
View Replies !
View Related
Is PHP The Only Way To Upload Files Via Flash?
Hello,
First time poster, semi-novice with Flash - I've had good luck teaching myself the basics and modifying templates to create my websites....but I'm no programmer.
I'm creating a website where I need my clients to be able to upload larger audio files to my server (3-50 MB in range, probably most commonly around 3-4 MB). I have found and implemented Scripts which allow me to upload files via PHP, but have since been informed that my webhost limits such uploads to 2mb. It was suggested I "design my website using FTP Client". ???
Can FTP programs be launched from my server for a customer who doesn't have the software? Or do I just need to switch to a new webhost that will allow the larger uploads with PHP?
Thanks in advance for any advice.
View Replies !
View Related
Can You Upload Files Via Flash?
... or do you need to use html forms & php and then pass the data to flash? Is there any method within flash that's equivalent to HTML's 'file' input object, which can be used to select a file on the user end and upload/save to a server?
thx,
CC
View Replies !
View Related
[F8] How To Upload A Flash Site Into A Full Screen
Dear all,
I have a question to ask you guys,
I just made a flash website, and I used import the .swf file in to Dreamweaver and upload it as html page. Everytime I do that the .swf file is only in the center of the html page (not in covering the entire html page), but I want the flash mobie to be full screen when viewing with an internet browser.
http://www.jonathanyuen.com/main.html This is what I mean by full screen.
Is this something have to do with Flash or Dreamweaver? Please help me to do it.
Thank you so much for your time and help,
View Replies !
View Related
Using A Flash Interface To Upload Files
would it be possible to make an interface with flash to enable the user to upload files to a predifined place on a server? i want to make a site that the owner will be able to update themselves and give them the ability to send images to there site. please help.
tHankS
okina
View Replies !
View Related
Upload Files To Server Via Flash (PHP)?
Hello,
Can anyone please help me figure out how to upload files to a server using flash and if necessary php.
I am designing a site for a photographer friend, which has no ftp experience or anything. i would like to just have a page where she can upload her photos to the webserver herself.
I would like to do this via flash, if server side is needed, then flash + php.
Thanks much for any help. is there any tutorials about this?
Q
View Replies !
View Related
Upload Files To Server Using Flash
Hello,
Can anyone please help me figure out how to upload files to a server using flash and if necessary php.
I am designing a site for a photographer friend, which has no ftp experience or anything. i would like to just have a page where she can upload her photos to the webserver herself.
I would like to do this via flash, if server side is needed, then flash + php.
Thanks much for any help. is there any tutorials about this?
Q
View Replies !
View Related
Flash App To Upload Image Files
I am looking for a tutorial or direction on how to create and interface for users to upload image files to a predetermined location.
I want there to be a windows style "browse' menu. Then when they pic the file, it lists for verfication. Then user can hit upload.
Eventually I want this as part of an entry form.
I want the file sent to regular folder and pointer(path) to go to mySql database. I think I can handle the PHP to grab the file name and send it to a database field.
I need help on uploading the binary file from the browser in flash.
Any ideas?
Ron R
View Replies !
View Related
Upload Files To Server Via Flash
Has anybody heard or seen a site that enables you to use flash to upload files to the server so that the flash site in turn can read those files.
I want to create a photo web site and I want to be able to have friends and family upload their photos to the site and then have them be browsable on that flash site. I prefer working with FlashMX and PHP possible.
Anybody seen any site that mentions such a thing, has a tutorial or even does it...and also has anybody seen any books about it?
Please let me know, thank you.
View Replies !
View Related
Upload Files To Server Using Flash (PHP)?
Hello,
Can anyone please help me figure out how to upload files to a server using flash and if necessary php.
I am designing a site for a photographer friend, which has no ftp experience or anything. i would like to just have a page where she can upload her photos to the webserver herself.
I would like to do this via flash, if server side is needed, then flash + php.
Thanks much for any help. is there any tutorials about this?
Q
View Replies !
View Related
How Do I Upload My Site?
OK so here is my problem. My website was up and running just fine till I had to make changes. It was saved as index.swf and I also included index.html. Now that I am trying to upload my changes it wont work! What am I doing wrong? Or better yet, what am I doing diffrent that I don't realize? Please help me
View Replies !
View Related
Swf Upload Site
To send people previews of my flash work I used to upload them to swfup.com. But that site seems to be more down than up. I'm looking for a site similar to it. One where I can upload my swf file and I get a page in return showing the swf file in the correct pixel dimensions. Not something like swfcabin where I get a swf link which stretches the file to browser window size.
Does anyone know of such a site?
View Replies !
View Related
How To Upload Text To Site?
My client needs to be able to periodically upload text to a "News" section of his site.
What's the best way for him to do this, ideally using MS Word?
Please be very specific, cuz I'm a newbie in this area!
Thanks!
View Replies !
View Related
Flash Site With FLA Files
I have an into movie, a FLA file. and i also have the the FLA file I want to load after the intro movie. lol now I need help on how to make that possible.
www.freewebs.com/theycallmerush
^that is my site but the fonts are plain. I used sitebuilder-fx 3.0 to make it.. BUT there is no POSSIBLE way I can change the fonts.. so I want to start from scratch.. as in take the FLA FILES FOR THE INTRO AND THE WEBSITE and then use FLASH MX to embed the fonts while making the site.. and I would like to know how to do that!
plz help me!! it would be awesome to have a site that everyone in my team would love!! thanks!! ahead of time
View Replies !
View Related
Multiple File Upload
Hi guys..
Can anybody help me to find out, why this script doesn't upload anything?
Code:
package {
import flash.display.Sprite;
import flash.text.TextField;
import flash.events.Event;
import flash.events.MouseEvent;
import flash.net.*;
public class browseFiles extends Sprite {
private var _browse;
private var _output;
private var _submit;
private var _fileReferenceList:FileReferenceList;
public function browseFiles(_browse_btn, _output_txt, _submit_btn) {
_browse = _browse_btn;
_output = _output_txt;
_submit = _submit_btn;
_output.text = "";
_browse.addEventListener(MouseEvent.CLICK, clickHandler);
_submit.addEventListener(MouseEvent.CLICK, uploadHandler);
_fileReferenceList = new FileReferenceList();
_fileReferenceList.addEventListener(Event.SELECT, selectHandler);
}
private function clickHandler(event:MouseEvent):void {
_fileReferenceList.browse();
}
private function selectHandler(event:Event):void {
var file:FileReference;
for(var i:Number = 0; i < _fileReferenceList.fileList.length; i++) {
file = _fileReferenceList.fileList[i];
_output.text = "Number of files to be uploaded: " + _fileReferenceList.fileList.length;
}
}
private function uploadHandler(event:Event):void
{
var file:FileReference;
var selectedFileArray:Array = _fileReferenceList.fileList;
for (var i:uint = 0; i < selectedFileArray.length; i++) {
file = FileReference(selectedFileArray[i]);
file.addEventListener(Event.COMPLETE, completeHandler);
try
{
file.upload("http://www.atrea.dk/upload.php");
}
catch (error:Error)
{
_output.text = "Unable to upload " + file.name;
}
}
}
private function completeHandler(event:Event):void
{
trace("uploaded");
}
}
}
View Replies !
View Related
Multiple File Upload
--------------------------------------------------------------------------------
hey,
I wrote my own file upload app, but i'm having some problems. If you "browse" the first time and you select a file, somehow in the textfield "Selected files" he puts an "Enter" between the first filename.
Does someone know how to fix this?
This is the link to my app: http://thuis.diamond4it.nl/multiple_upload.html
ActionScript Code:
function selectHandler(evt:Event):void{
fileArray = fileRef.fileList;
for(var i:int = 0; i < fileArray.length; i++){
tfFileName.appendText(fileArray[i].name + "
");
fileTitle.push(fileArray[i].name);
}
uploadMc.visible = true;
};
Thanks!
View Replies !
View Related
Multiple File Upload
hey,
I wrote my own file upload app, but i'm having some problems. If you "browse" the first time and you select a file, somehow in the textfield "Selected files" he puts an "Enter" between the first filename.
Does someone know how to fix this?
This is the link to my app: http://thuis.diamond4it.nl/multiple_upload.html
Code:
function selectHandler(evt:Event):void{
fileArray = fileRef.fileList;
for(var i:int = 0; i < fileArray.length; i++){
tfFileName.appendText(fileArray[i].name + "
");
fileTitle.push(fileArray[i].name);
}
uploadMc.visible = true;
};
Thanks!
View Replies !
View Related
Multiple File Upload
Does anyone know where I can find a tutorial on how to build a multiple file upload with flash? On my site I allow people to upkoad 5 images at a time but they have to individually select each one. I'd like to allow them to select up to 5 at one time and then submit and watch progress.
Thanks!
View Replies !
View Related
Please Help Me Im Leaving In Two Days And I Cant Upload My Site And Get It To Nav
basically
i have my flash site ready to go on my computer.
i have hosting but i cant seem to make the flash nav work once its uploaded, when i click the buttons in preview, everything is peachy...but when it is uploaded all it does is play the sound its supposed to, there is no change with the content.
im using a popup window that opens the site after a link, then the navigation is through the loadMOVIE command
i was using load movie with .swfs but for whatever reason this only works locally, not when i upload
here is a sample of my code:
on (rollOver, dragOver) {
tellTarget ("move") {
gotoAndPlay("over");
}
}
on (releaseOutside, rollOut, dragOut) {
tellTarget ("move") {
gotoAndPlay("out");
}
}
on (release) {
loadMovieNum("home.swf", 0);
}
on the index page i have a link that loads home.swf
within home.swf i have my menu
(the above code is one button)
the last lines are the nav
please, please help me out
i need to finish it ASAP
my aim in shawn x sullivan
my email is xshawnx@optonline.net
View Replies !
View Related
How To Upload Txt-files
Hi,
I was wondering if you could help me, I want to upload a txt-file in my .swf, and show the contents
stop ();
loadVariables ("file:///c:/windows/desktop/test.txt", tekst);
test = tekst;
I tried this as actionscript given to the frame, but nothing happens.. Why??
thx
View Replies !
View Related
Upload Of PDF Files
I built a Flash site for a client which contains HTML links to PDF files of news releases and press information.
The client has subsequently requested that I provide the facility for them to add further PDF files themselves.
I don't want to supply the original .fla, but I can provide them a text file template showing how to format the code to create the links.
How do I get the Flash .swf to recognise the change?
View Replies !
View Related
|