Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Save/download Image Button



is there any way to create a button in a flash movie to copy/save/download an image. (jpg)

since the rightclick/save as- is not available when viewing a flash movie.


I don't want to open an html page. ( and then give rightclick option)


also would like to avoid link to zip file in case someone doesn't have a decompressor program.

any other ideas??

thanks



FlashKit > Flash Help > Flash General Help
Posted on: 08-26-2005, 12:14 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Download Button That Downloads An Image Onto A Userdesktop Without Open/save Option
Hi there all!

I am looking for a solution to the following problem: I am making a photogallery in flash. I need to add a button which downloads the images from a folder in the rootfile onto the users desktop, without the 'open/save' option popping up.

Can anyone help me?

Ciao!

Lise-Marie

Download Image Using "Save As" Dialogue Box
I've been searching this site and others all day for how to do this.

I'm looking at the "Save As" javascript example .fla that is on this site, but it only works if you're loading your images dynamically. I have an image that I want the user to save by clicking on it. When I use the getURL statement, the image just opens in a new browser window.

Is there a way to use javascript or something to cause IE to bring up the "Save As..." dialogue box when a user clicks on an image in Flash MX?

Button To Save Image?
hey all! I was wondering if there was a way to create a button or something that would take a screenshot of your flash movie and save it as a jpeg or something to a user's desktop (or a place they specify) I'm creating a type of paint-palette and I want users tobe able to save images of what they make. Any help would be great! thanks!

Button To Save An Image
lo there,

how to do a button to save an image (or other file) to the disk?

any tip? any tut?

cheers

Button To Save An Image
lo there,

how to do a button to save an image (or other file) to the disk?

any tip? any tut?

cheers

Image Gallery Save Button
Can I add a button to an image in a gallery to let the user download the image to their hard drive?

Download Image Button
I dont know what actionscript command to add to my button to enable a jpeg to be downloaded to the users desktop. Is it possible?

Ive found bad examples where the user is directed to an html page where they can right click and save the picture. That just seems ridiculous to me.

AS 2 Save Image With Open / Save Dialogue
I am wanting to use fileReference to open an OS save dialogue so my users can save jpgs to their hard disks.

I been trying to get this working but I can't can any one please give me some code or some idea how to get this working.

I just want to be able to click a button and the save dialogue appear asking where to save the file.

Thanks

Save Image With Open / Save Dialogue
Hi

I currently have a button that when click opens a new browser window so a user can right click on an image and save it to their PC using getURL.

Is it possible to have a button open the save dialogue box of the users operating system?

So as soon as the button is click the OS save dialogue box appears.

I'm using Flash CS3 but with AS2.

Thanks

Richard

Trying To Download/save Swf
OK.  I'm trying to get hold of the brain.swf from
http://www.bbc.co.uk/science/humanbody/body/interactives/organs/brainmap/brain.swf

It displays fine on ie, gc, and ff.
FF is the only one to successfully pull it down to save, but after saving it's not functional.

How do they DO that?  And, just as important, how do I download it as a functional swf?

Ta.

S

? Save/download File ?
Hi,

can someone help me with this one ?
I want to make a button in flash which does the same as a right-click "save-target as" on a href link.
I have tried the following code:


Code:
on (press) {
getURL (_root.Url=("http://www.???.com/???"));
}

However, this code does not show a messagebox for downloading the file (instead, it tries to embed the file in the browserwindow).

Has anyone experience in this matter ?
Thanks in advance,

j

DOWNLOAD MP3 (save Target)
Im guessing this is the right place to post this, as Im guessing action script will come into it. I'm trying to make a flash site for a local band, and want to know how I should add songs to it on the sounds page. Ideally I'd like some kind of save target function like you can get on a normal html page.


I was also wondering if it could be an idea to have a song with a play button so that you could stream it if you wanted and then another one that saves target

If there is no way of using the save target I guess the MP3's could be zipped up then i could use getURL.


Thanks

BEn

Mp3 Download Not Allowing User To Save
I am trying to put mp3's out for others to download.

When they are clicked on, REALONE opens and plays the file.

Somehow the mp3 has changed to a mpeg????? i dunno.

Why can't the user be asked to download the file??

Can someone help please?

Thank you very much!
kicia

"Save Image As.." Button For Dynamically Loaded Images
Is there a way to make a button that when clicked will open a "save image as" dialog box in Flash MX (basically for FlashPlayer 7).

I know how to do it in Flash 8 using the new flash.net.FileReference class... but since the Flash 8 player (and from what I hear, Flash 9) has the dynamically loaded images SMOOTHING turned off for some unknown reason, I've been forced to publish as Flash Player 7.

Is there a way to do it? maybe using a PHP script or something?

I guess I COULD use the getURL command, open the image in a new browser window and the user could right click to save image as... but that's just sloppy....

Download File And Save It On Local Drive
Hi,

I really need help in the actionScript in Flash 5. I'm new to Flash and I need to finish up a project within a week.

I need to download a file from the server and copy it to my local drive by clicking on a button. How should I go about it? Currently, I have tried using getURL but this will open the file in the browser which I don't wish to. I have tried loadVariables and this doesn't work at all as the file which I want to download is at the server, not at the same drive as my file.fla

Please HELP!

FileReference.download() Not Triggering Save As... Dialog
I'm trying to use FileReference.download for a user to download a file. (obviously)

It's working just fine, for 99% of our users. However, for one user in particular, the "Save As..." dialog box never appears. Does anybody know of any firewall/anit-virus/other security settings that could block this? It's happening in FF 2.0 and IE 6, with Flash Player 9, using AS 2.0.

Flash8 Image Loeader-can Load Image Which Save In Different Folder?
hi~is anyone know abt flash 8 image component able to load the image that not in the same folder? or it only can load image which save in the same folder??thankss!! urgent!~! thanks

Save Button To Save Dynamic Mc's?
If anyone could help, I would really appreciate it.

Problem in short :
Working on interactive kiosk - have button that creates dynamic copies of my parent movieclip (picture of lion) The user would click on button to create copies and using "drag" move the lion to where she saw it on the map.

Once the lion "sightings" have been visally logged on the map, and need to be able to give them a "save" button to save what you see on screen.

Because this is created dynamically by the user, I need a way for the user to save it at runtime.

How would one go about this?
p.s I need to be able to show the new saved file from a remote pc.

Any help - you are my hero

Image Gallery... Save Image To Computer?
Hey all,
I just wondered if there was a way to save image files in a dynamic gallery? For example... when an image is displayed, a little save icon appears that allows the user to save the jpeg file to their computer. Thanks!

How To Create A Htmlbutton To Download Like "SAVE TARGET AS"
how to create a button possible to download like "SAVE TARGET AS"?

html-like just in flash?

thanks

Forcing A "Save As" Box To Download A File From GetURL
PROBLEM: I have a music Web site with MP3s (my own band, so they're legal). When people click the links to the MP3s, they download to a temp folder that most people have trouble finding.

QUESTION: Is there a way with ActionScript that when the link is clicked, it opens a "Save As" box so that the user can decide where to save the MP3?

-fscommand doesn't work because it doesn't know where to find the file on the server

-inline JavaScript doesn't work for the same reason. You can specify to open the SaveAs box, but it has no clue what or where you're getting the MP3 from on the remote server.

- tried passing a querystring in Flash to an ASP page and that didn't work either.



Anyone know how to do this? ASP.NET is not a solution, as I don't have the $ to pay for that kind of hosting. JavaScript? VBScript? PHP, perhaps?

SAVE Image
How can i click a button and SAVE a predefined area in flash.

if i have a picture in flash, i like to click a button to SAVE that
image/area to comp. in any image format, IF its possible

Save As Image
Hi,

I was wondering if it is possible to create a "Save As...." button in my flash movie? To save a shot of the scene as a jpeg or bmp. It is for an online art sketcher for a client. The user will create a image using various drawing tools and then send the image to a gallery. I do know Director has a "Save as.." funtion but im not really familiar with it. Is it even possible to send an 'image' or symbol of a scene between swf files internally?

Thanks for any help!!!

Save As Image
Hi,

I was wondering if it is possible to create a "Save As...." button in my flash movie? To save a shot of the scene as a jpeg or bmp. It is for an online art sketcher for a client. The user will create a image using various drawing tools and then send the image to a gallery. I do know Director has a "Save as.." funtion but im not really familiar with it. Is it even possible to send an 'image' or symbol of a scene between swf files internally?

(Using Flash MX)

Thanks for any help!!!

Save As An Image
is ther any way in a swf to save whats on the screen as an image

To Save An Image
Ok here is my next problem.

I have a place where people can go and design there own windows
what I need to do is after they are done designing them for them to be able to save the image the just designed to either somewhere on there computer or somewhere on our web site, can this be done through flash action script?

Save As Image
Hi !
Please tell me the script for this scenario :

As soon as the save button on my swf animation file is
clicked, whatever is there on the screen is saved to
my hard disk as an image at a particular path.
is it possible ?
please help me

Save Image As...
My client wants me to be able to put a button in my flash site that will allow a user to save a jpg image from the server in another folder. Basically they want a button that when clicked brings up a "save image as" prompt.

Can this be done?

Thanks for your help!

Save Image
Hi,

I have a project making a basic drawing tool that will allow the user to save the image into a database to be shown on a website. I've made the drawing tool and I understand I will need server-side scripting like php or .net to render the flash data into a jpeg or gif. Just wondering if anyone has any advice, files, tutorials I could take a looksy at...

It is basically the same as the facebook graffiti app, I just need to get the image out of flash and create the image..

Thanks in advance for any help,

Steven.

Save An Image?
Users can draw on the stage, upload images etc.

Whats the best way of saving a high quality version of what the user has done ( i want to print it)

Thanks

Save A Image On PC
Hi all,

I m trying to save the bitmap image(or any other iamge)from the swf on my computer... for that i need to display a dialog box with showing the path... means the user can browse and choose the path where he needs to save.
please help me to display the dialog box and how to save the image to that path....

-soha

How To Save A Image From Swf
Hello,

I have been developing a dress up game and would like to add a feature where the player can save hi/her creation as a image from the swf file.

I am using PHP and as2

Any help and guidance in this matter would be highly appreciated.

Save Swf Image
i'd like for user to be able to save a snapshot of the swf by clicking a btn. for example, i have a piece of paper that the user has typed on. is there a way to save an img of the swf?

Save Image From Cd
Hello! I have a flash gallery made for a site, it has a download option witch can save an image to user's computer.I'm using the file reference class and it works fine, but I want to build this gallery for an interactive cd.It is possible some way to have the option for saving images from cd to a local path ?

Save Swf Image
i'd like for user to be able to save a snapshot of the swf by clicking a btn. for example, i have a piece of paper that the user has typed on. is there a way to save an img of the swf?

Save Jpg Image From Swf
Hi,

I am new to flash, dont have much idea about flash scripting. I am working on a project where i need to save the swf file in jpg format on the user system. The situation is :

I have a application similar to MSpaint. In my application we can load a map, fill colors, draw different shapes on the map, do labelling and alike. This all is getting done with the help of multiple swfs. I am loading all the swfs in a single file. But the problem is different swfs which are loaded are at different levels. So I am not able to print or save them together.
If I implement the code to save the final image made on the screen, I end up saving only one of the levels.

I need a technique where in I can save all the swfs as a single layer.

Also I am loading diffrenet swfs in one movieclip.

If any1 can plsssss help.

Thnx in advance...

Actionscript To Save An Image
I have a requirement to be able to generate the same image but with different language text, this does not have to be on the fly, is it possible for a standalone or web based flash movie to save a specific object/frame as an image?

Save Image In Flash?
Is it possible to save all or a portion of a Flash SWF as a bitmap?

I know you can do this by capturing the screen but I'm talking about a command inside Flash. Also, I know you can do this with some of the 3rd-party projector tools but I need to do it from a SWF embedded in a web page.

If this is not possible, any ideas as to the best way to implement a drawing program that can store the user's drawing in a gallery? I guess I could capture everything they draw in a database and then play it back when they want to view it?

How To Save Image From Flashgame?
Hi
I have done a game where you can build your own figure with different objects. Something that would be reaally nice is if the user could save the figure as a gif or jpg image on their disk. Is it possible to do that? If it is, I want to know how…
I'm working with flash mx.

thanks for any thoughts about this question.

Save A Image Out Of Flash
does anyone know how to save a image out of flash as a jpeg? or any kind of image....

go here http://boralbricks.com/companyProfile/boralVision.asp
and click on Launch BoralVision

from here you can create a house, you can mess with the bricks and like other stuff and then you can either print the image... or you can save the image...



http://www.facefuzz.com

Save Image From Flash?
hey,

if for example i have 5 click and draggable coloured boxes, and the user clicks na drags these into a pattern, is there a way they can save a picture of it from within flash?

eg. clicking "save" and you get a pop up asking what you want to call it and where you want it saving and it being saved as a bitmap file.

Basically a screenshot but I don’t need half of it (eg. Startmenu / task bar etc..)

Thanks, Chris.

Save A Background Image
Came across a site that when you right-click on the background image, it shows SAVE BACKGROUND IMAGE as an option, along with the usual 'About Flash 7', etc.

I have never seen that before. Any ideas how it is done?

How Do I Save An Image From The Stage?
How do i save an image from the stage? I heard it can be done using php, but how is it done? AS code would be nice.

Save Area As Image...
Hi Guys,

Well; I've made a flash text generator with fancy effects; but I don't want people to have to literally crop it all up.

My need; is a button that can simply grab a certain area of the animation and save it as an image file (Where the user can then choose where they want it). I don't want this to be too web, php etc. orientated; In fact I wish for it to be offline mainly; although a bit of web editing won't hurt.

If this is possible through ActionScript or simple actions in Flash MX, then help me out guys;

Thanks in Advance,
Dan

Edit Image And Save It As An JPG
Hello every one.

Is there a way in action script to

A) upload an image to the an SWF on the net

B) edit it eg add other images to it like an hat for example

C) then save the file as an jpg on an web site

An big thank you in advance

Nig1985

Another 'save As Image' Thread..
ok.. so I finally wanted to actually try instead of just reading it.. (ie: had a need for it)


I read the same basic threads/posts that go to the same tuts.. however I couldnt get things to work..

not sure if AS, PHP..or if a hosting problem possibly? (permissions)

long story short.. I am trying to get the most straight forward (no filters..no video capture..etc) method to work.

just a clip on stage.. has some scribbles or other movieClip attached inside fo it.. but whatever is inside tis 'containerClip' should be copied 7 sent to a php script to be made into an image..



AS:

PHP Code:



import flash.display.BitmapData;button1.onPress = function(){    output();}function output() {    var snap:BitmapData = new BitmapData(containerClip._width, containerClip._height, false, 0xFFFFFF);    snap.draw(containerClip);    var pixels:Array = new Array();    var w:Number = snap.width;    var h:Number = snap.height;    for (var a = 0; a<=w; a++) {        for (var b = 0; b<=h; b++) {            var tmp = snap.getPixel(a, b).toString(16);            pixels.push(tmp);        }    }        //send to php for image creation    var output:LoadVars = new LoadVars();    output.img = pixels.toString();    output.height = h;    output.width = w;    output.send("http://www.domainname.com/folder/show.php", "output", "POST");}





PHP:

PHP Code:



<?php    $data = explode(",", $_POST['img']);    $width = $_POST['width'];    $height = $_POST['height'];    $image=imagecreatetruecolor( $width ,$height );    $background = imagecolorallocate( $image ,0 , 0 , 0 );    //Copy pixels    $i = 0;    for($x=0; $x<=$width; $x++){        for($y=0; $y<=$height; $y++){            $int = hexdec($data[$i++]);            $color = ImageColorAllocate ($image, 0xFF & ($int >> 0x10), 0xFF & ($int >> 0x8), 0xFF & $int);            imagesetpixel ( $image , $x , $y , $color );        }    }    //Output image and clean    header( "Content-type: image/jpeg" );    ImageJPEG( $image );    imagedestroy( $image );    ?>




I see it looks to be currently set-up for.jpg output.. I would eventually want it to be a .gif or .png.. so does that mean in the AS using getPixe32() instead? or is there other changes?

Thanks


sorry this is AS2.0 only (Flash 8)

this link:
http://www.quasimondo.com/archives/000572.php

source files are sorta working out of the box.. as I see the image being created.. however he is using a custom class with the file upload reference included..and Id like to have something just VERY simple and then move forward..

on click on button..take pre-determined containerClip (and all nested content).. send the data to php script on server,.. php script takes bitmap data/array creates a .png (or whatever at this point).. and then returns some message back to flash.. saying all is complete.. and maybe a url?

at this point.. thing will change.. but Id like to get here if anyone can help or offer suggestions? ultimately I guess id like for it to be emailed..

or just have it open in a new page?..

thanks

Save An Image From A Local Swf
I am making a tool that allows me to do some editing to a movieclip and then save that movieclip as an image. This swf will run on my desktop only. Is there a way to save an image to the local hard disk without using a webserver , serverside script or installing Adobe Air? All the examples I find need serverside scripts.

Save Image From Flash
Hi All,

Is it possible to save Image from flash without using any backend language like php or .net?
I saved an array in Flash itself and shown the image in Falsh itself too. but i want to save this image in Local drive. So please help me out for this problem.

Thanks in advance for help.
Regards,
Varun Upadhyay

Save Artwork To Image
hey guys

I created a flash presentation for a client which contains various vector graphics created randomly at runtime. Now my client likes those graphics so much that he wants them in a printable format. he would like to include them in his brochures and all.

So i would like to know if it is possible to export the graphics from the swf to an image. I tried print screen but the resolution is bad for printing an A4 brochure.

Thanks in advance.
am

Copyright © 2005-08 www.BigResource.com, All rights reserved