Actionscript 3 :: Flex - Downloading Files Directly To The Disk?
Sep 23, 2011
Is there a way to download some files directly to the user disk, without browsing? (assuming they give permission of course).FileReference does this, but does not allow to directly save files to the hard disk (if not through browsing).
View 1 Replies
Similar Posts:
May 5, 2010
What are main diferens between flash ActionScript and Flex actionscript? Why Flash can not compile AS files generated from Flex (with keep-as) directly?I want to compile generated from MXML .AS files using Flash CS5... But it appeares to me I can not... Why?
View 2 Replies
Oct 20, 2010
If a user in the web browser creates some sort of file using my swf and I then want them to be able to store that file on theyre local disk do I -HAVE TO- make a round trip to the server first or is there another way without having to send the file to the server and back to the client again?
View 5 Replies
Sep 25, 2009
I am trying to write a client side app that would download a number of mp3 files, then cache them to the harddrive. I can download the mp3 files using URLLoader and access the raw mp3 data via URLLoader.data. But how do I save them to disk without the benefits of AIR only classes
View 2 Replies
Jul 26, 2011
I've posted this in the AS3 forum, but I was told its supposed to go here...I need to know if it is possible to do this in AS2...
Code:
w w w.kirupa.com/developer/as3/loading_files_disk_pg2.htm
(cannot add links... since I have less than 50 posts)
[code].....
View 5 Replies
Aug 20, 2010
Im not sure if this is possible in AS2 but i will ask anyway! Would it be possible to have a standalone SWF which gives the user the ability to browse their computer files and then load a picture for example? I know this can be done in AIR but im restricted to AS2 only!
View 1 Replies
Oct 1, 2008
I have wmv files that i need available for download from answf (both swf and .wmv's will be on a DVD or CD). The wmv files arein a folder named WMV which is at the same level as the swf. I justwant the user to be able to click on a button and select "Save As"and download the file. I've been trying to use the download()method but keep getting IO Errors and also tried usingnavigateToURL but it tries to download it through firefox (no "SaveAs" option, just tries to open with Windows Media Player) andwindows media player says it can't find the fil
View 7 Replies
Apr 23, 2009
I need to compress some files in a zip or any other wich will be selected for the client for downloading.
View 5 Replies
Aug 12, 2011
For a project we need to download and save pdf files on an IPAD device for offline use through an AIR for iOs application. After a lot of searching I haven't found much information on this subject. My question is, can it be done, and if so, can you provide us with some pointers to lead us in the right direction.
View 1 Replies
Sep 26, 2005
here is what i am trying to do. i would like to post action script files onto my server space for people to download, which i can do. Question is, is it like a print command for them to download the files to there computer for use? or what is the best way to go about this? The files are inside a folder called action script and then the sub folders depending on the file you are looking for.
View 1 Replies
Nov 14, 2011
I got a very nice article to load files from local disk to flash movie directly.
article link : [URL]
i want to do same thing using as2.0
View 8 Replies
Aug 11, 2010
I'm working in an audio player. I'm looking for a way to prevent users download the mp3 files by following the file url ( for example: by using the Firebug o similar).
View 1 Replies
Mar 25, 2011
I'm trying to set up flash's FileReference class to download files from a publicly accessible web directory to a specific location on my hard drive, without having to use the browse dialogue that is automatically triggered using the download() method. Anyone know how to predefine a location for the downloaded file so I don't have to trigger the dialogue? [URL].
View 1 Replies
Feb 23, 2009
i was thinking about stopping internet download manager and all the other applications from downloading from my mp3 flash player,
View 6 Replies
Aug 11, 2010
I'm working in an audio player. I'm looking for a way to prevent users download the mp3 files by following the file url ( for example: by using the Firebug o similar)
View 2 Replies
May 1, 2010
MMO best practice. Download music and heavy files to users hard disk? I have just downloaded a Hello Kitty MMO app for research (for my kid of course).I am developping my English teaching app with LOADS of classical music, mp3 sentences and heavy background bgs. Would the best idea be for client to download these to their hardisk ie I would not need to stream them and therefore save a fortune on bandwidth charges from my ISP?
View 3 Replies
May 14, 2010
Is it possible to script a flash application to search the local hard disk to display txt files and or jpgs? I would like to be able to enter some text in an input text field then have flash search my hard drive for what i typed into the txt field.
View 3 Replies
Dec 21, 2010
I'm making a DVD menu in flash. It will open several kinds of files. .mov .avi . ppt . pdf etc.But i want to open those files directly, without prompting. When i try to open non web files, a popup window appears, as shown in this screenshot:
[Code]...
View 1 Replies
May 8, 2011
I have a situation where I am modifying a working FLA file to work in just one Scene of a project I am working on.The FLA file is linked to two external .as files.
I would like to take that code and call it from Fram 1 of the Scene as it will only but used for that scene and I do not want it affecting the other scenes.
I removed the package wrapper and changed any private function/public function just to function etc.part of the issue is calling on Movieclips in the library.I am trying to use drag and drop to drag Movieclips to Target transparent Movieclips.
The .as files uses:
import THE;
In a function I use:
the = new THE(); addChild(the); the._targetPiece = tTHE_mc; the.addEventListener(MouseEvent.MOUSE_UP, checkTarget); the.x = 103.50; the.y = 72.60;
I get an error for the "import THE;" as error 1046: Type was not found orwas not a compile-time constant: THE I get the error for the function reference as: error 1180 call to a possibly undefined method THE
View 11 Replies
Jul 21, 2009
Read about saving files directly from flash player 10 recently. If I can pull this off then it will be a life saver with a project I am working on. I read a tutorial on [URL] But i am not able to understand fully what's going on there. For my project I allow users to drag and drop object around the stage and save the the whole thing as an image once they are done.
View 5 Replies
Feb 13, 2002
I'm creating a simple flash navigation using some transparent .gifs. At present i import them then make them instances and use them internally in flash from there... But, is it possible to link the instance to an external gif file on the server so that the image can be change by simply changing the gif file/s instead of having to go back into flash??
I realise it would be easier to just update by importing the new images into flash but it's a client request and as they say 'the customer is always difficult'
View 9 Replies
Oct 22, 2010
I've been experimenting with Windows Azure Blob storage using the samples using Silverlight.
I was wondering if it's possible to write a file upload component in Flash instead of Silverlight, since the former is installed almost everywere. I've never programmed in Action Script but I have a solid background in C# so that must not be hard.
View 1 Replies
Aug 20, 2011
i have seen almost all relevant threads on almost whole internet. and i m still confused..i m working on a drawing app ( flex / air ), 1- where user loads image file,(bitmapdata > bitmap > movieclip base layer)2- add layer ( new sprite > movieclip "second object in display list")3- draw on this sprite ( graphics.draw circle / etc, lot of other details etc)4- usr can add more layers etc, name layers etc ... all sprites are of same size as bitmapQ1. now i wanted to save this main movieClip (part of UIComponent ) as swf file. so user can read again and continue work. almost like i do with photoshop.
comment: i know it sounds too generic, to ask such detailed thing. so please be patient..i have been fiddling around with byteArray. and Air File Object,flash.net.fileReference etc..Q2. (main question), i don't want to convert drawn sprites to bitmapdata and then do bytearray. ( in my mind) it will convert everything to pixels, which i don't want.Q3. is there some auto magical line which will do everything..(save drawn vectors / shapes) in sprites as is?? (less chances). if i can read swf as movieClip, i can check sprites for layers and everything else... problem is writing this to disk as swf file.
View 3 Replies
Aug 1, 2011
I want to also add cuepoints to a live recording video as it is incoming.
I have a live feed incoming from a VideoDisplay object in my Flex Air app, and I would like to be able to record the video/audio of this and save it to disk and/or upload to server.
Is this possible? If so, would it be possible to add CuePoints to the video as it is being streamed live? Right now I am just trying to record a live stream from my VideoDisplay.
View 2 Replies
Apr 8, 2010
I would like to play AAC audio format file from local disk. I got example to play through netstreaming but I need to play it from local disk. I got an example to play mp3 file from local disk using Sound class.URL...
View 1 Replies
Jan 19, 2011
We have a Web login feature. We will offer Free calls to a large campaign.
Scenarios:
Because of free calls, we will offer a unique file to be downloaded and stored After a week or month we will call them and offer them our desktop application to scan and see how trusted, the user is If we dont find the same file again, we will never start business and more our own statistics Based on that report we want to do some follow ups campaign We can do this with cookies but we want user experience and trust analysis
Example: if you play a music in youtube.com, without notice your file is actually in /tmp/Flash....flv with lot of data on it.
Question: How can i do the similar using Flex/Flash from the web browser ?
View 2 Replies
Aug 25, 2010
I have a flash app that needs to download a file, whose name contains UTF-8 characters.
Internally, the filename is read from a UTF-8 XML file, e.g. "my filé.pdf". The code goes something like this:
url = get_filename_from_XML();
req = new URLRequest( url );
ref = new FileReference();
ref.download( req );
The problem is that the URL is encoded in Latin1, i.e. the é is encoded as %E9 instead of %C3%A9 (according to FireBug). How can I get Flash to encode the URL correctly?
View 2 Replies
Nov 16, 2010
I wonder how can I download/save/write a file from my server to a client's computer using flash or flex.
Sign up
Sign in
Click on the ("FREE") button placed on the right of the page. (the
orange button)
[code]....
then you'll see a confirmation popup for the download, then you choose where do you want to save the file, and the flash movie saves the file!
View 1 Replies
Mar 25, 2010
I need to figure out the size of a remote file before I download it.And I know that in local place this can be done as follows
var _filePath:String = "X:/save/abc.exe";
var file:File = new File(_filePath);
if (file.size > 1000)
[code]....
But when I tried a remote file like
var _filePath:String = "http://www.aaa.com/webfile.exe";
It didn't work.And how can I get the size of a remote file before I use
var _downLoadPath:String = "http://www.aaa.com/webfile.exe";
View 2 Replies
Jul 8, 2010
I'm trying to post data up to a server and have it bounced back to me as a file download, prompting the native browser file download box. I know the server part works just fine becasue I can post from a demo web form, but when I run the following Flex 3 code, I can't even get the request to fire.
var fileRef:FileReference = new FileReference();
private function saveXmlAsFile(event:MouseEvent):void
{
[code]......
View 3 Replies