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
FlashKit > Flash Help > Flash ActionScript
Posted on: 12-20-2007, 07:25 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Edit/save Xml With Flash
If I create a form in flash that gets its info from an xml file, can i then allow the user to edit the info that is loaded and save it back to the same xml file? They type in their changes and hit a 'save' button. It overwrites the file automatically. Basically I want to avoid doing a backend DB by using the XML. If it is possible, how easy is it? I am fairly new to AS. Just point me in the right direction and I can figure it out though. Thanks for any help you can give.
Edit And Save Movie
I need my clients to be able to change some elements of a flash file ie text
image etc then save the new movie on the server. Any pugins to do this.
cheers stevew
Flash Pages That You Can Edit And Save
Hello,
I am trying to make a page for my website that has a gear list for me and my buddies (we are doing some winter mountaineering, and hey, a flasher has to have hobbies as well). I have it in .html but I would like them to be able to update it when they get the gear. Is there any way to have them be able to click a check box or type in something and have it saved? I am up for checkboxes, text fields, or anything- I am at your mercy. Thanks.
I will post the link, please don't laugh at the site, it is really old and I am working on completley re-doing it. This is one of the parts I would like to have.
http://www.geocities.com/isaactheout...adventure.html
Click on the names of the people going. (Erik, Kathy, Ryan and Isaac)
Thanks!!!
EDIT/SAVE An External Text
Two things, firstly, I would like know if it is capable to change the proerties of a TEXTFIELD using actionscript?
I would like to EDIT an external text file, After loading on to the stage in a DYNAMIC TEXTFIELD, to change the textfields properties from a DYNAMIC TEXTFIELD (read only) to INPUT TEXTFIELD by clicking the "Edit" button.
Secondly once edited the text to SAVE the changes, updating the exsisting external text file.
Edit And Save Files W/ Flash
Ok my question is does anyone know of a way that a user can go onto a site select a file (a text file) edit that file and save the changes to the server?
Basically what i want to do is create an admin area for a flash site so that i could log in anywhere just by going to the site and update text files.
[F8] Actionscript Edit Text And Save With Php
when some one hard have example or script i have for making save but for edit is ok
for save in php
-----------------------------------------------------------------------
$Website = $_POST["Website"];
$keybord = $_POST["keybord"];
$description2 = $_POST["description2"];
$url= $_POST["url"];
$NumLow = $_REQUEST["NumLow"];
$NumHigh = $_REQUEST["NumHigh"];
// Replace special characters - you can remove the next 5 lines if wanted.
$title = ereg_replace("[^A-Za-z0-9 ]", "", $title);
$description = ereg_replace("[^A-Za-z0-9 @.-/'|]", "", $description);
$description= ereg_replace("[^A-Za-z0-9 @.-/']", "", $description);
$description2= ereg_replace("[^A-Za-z0-9 @.-/']", "", $description2);
$Website = eregi_replace("http://", "", $Website);
$Website = ereg_replace("[^A-Za-z0-9 @.-/'~:]", "", $Website);
// Remove slashes.
$title = stripslashes($title);
$description = stripslashes($description);
$Website = stripslashes($Website);
$keybord = stripslashes($keybord);
$url = stripslashes($url);
$description2 = stripslashes($description2);
if ($Submit == "Yes") {
// Next line tells the script which Text file to open.
$filetitle = "database.txt";
// Opens up the file declared above for reading
$fp = fopen( $filetitle,"r");
$OldData = fread($fp, 80000);
fclose( $fp );
// Gets the current Date of when the entry was submitted
$Today = (date ("l dS of F Y ( h:i:s A )",time()));
// Puts the recently added data into html format that can be read into the Flash Movie.
// You can change this up and add additional html formating to this area. For a complete listing of all html tags
// you can use in flash - visit: http://www.macromedia.com/support/fl...s/htmltext.htm
//$Input = "title: <b>$title</b><br>description: <b><u><a href="mailto:$description">$description</a></u></b><br>Website: <b><u><a href="http://$Website" target="_blank">$Website</a></u></b><br>keybord: <b>$keybord</b><br><i><font size="-1">Date: $Today</font><br><br>.:::.";
//$Input = "<database> <record title="$title" description="$description"><link>$Website</link><keywords>$keybord</keywords></record>";
//$Input = "<database>--> <record title="$title" description="$description"><link>$Website</link><keywords>$keybord</keywords></record><!--";
$Input = "<database>--><record title="$title" description="$description $description2"><link>$url$Website/</link><keywords>$keybord</keywords></record><!--$Today";
/* This Line adds the '&GuestBook=' part to the front of the data that is stored in the text file. This is important because without this the Flash movie would not be able to assign the variable 'GuestBook' to the value that is located in this text file */
$New = "$Input$OldData";
// Opens and writes the file.
$fp = fopen( $filetitle,"w");
if(!$fp) die("&GuestBook=cannot write $filetitle ......&");
fwrite($fp, $New, 800000);
fclose( $fp );
}
----------------------------------------------------------------------
actionscript in button save
----------------------------------------------------------------------
on (release) {
if (title eq "") {
_root.Status = "Please enter your title";
} else if (description eq "") {
_root.Status = "Please enter description Address";
} else if (Website eq "") {
_root.Status = "Please enter the URL to your website";
} else if (keybord eq "") {
_root.Status = "Please enter the URL to your kyebord ";
//} else if (documents2 eq "") {
//_root.Status = "Please enter the URL to your kyebord ";
} else {
Submit = "Yes";
NumHigh = 10;
NumLow = 0;
_root.GuestBook = "Processing.. Loading New... ";
loadVariablesNum ("GuestBook.php", 0, "POST");
//_root.Status = "Your entry has been submitted. You should see your comments appear immediatly";
gotoAndStop (2);
}
}
----------------------------------------------------------------------
now i need button Edit make modification in my save in .txt
Edit And Save A Flash File
I need my clients to be able to change some elements of a flash file ie text
image etc then save the new movie on the server. Any pugins to do this.
cheers stevew
FLA Taking Forever To Save (and Edit)
I've got a reasonably uncomplicated FLA file, a couple of megs, no audio, all vector art. It's a quiz, so there's some coding but nothing that would be considered intimidating by an intermediate Flash programmer.
The only thing in any way remarkable about the file is that I am using a single movie clip five times onscreen to represent five different characters. Different faces and expressions are called for each character in script. It's all nested movie clips. But really no big deal compared to some of the Flash work I've seen.
So the problem is, in a couple of movie clips that are a bit more complicated like that, even simple editing such as adding a keyframe takes literally ten minutes. Flash freezes while this happens. And saving the file can take over 20 minutes.
Yet exporting the SWF happens normally.
All these operations with other files happens without any problems. It's just this file.
Has anyone experienced this? I have looked online but can't find anything referencing such an issue. I'm sure it's the way I'm building the file but I'd like to know what the issue might be.
Thx D
Use Drawing Api To Edit Loaded Swf Then Save To Se
Right let see if i can make some sense.
I have a classroom built with FMS there is 2 levels of user, Student and mentor.
The student is able to upload files related to the class room. In most case's the files will consist of quicktime movies converted to swf (ffmpeg) on the fly.
The mentor can then play back the swf in a basic swf player with stop/start/nextframe/previuos frame buttons.
What i am looking to do being a mentor viewing these swf's is to be able to anote the swf's. This could be in the form of using flash drawing api to add notes to the swf frames and then saving a new copy of that swf or adding an audio note on each frame. Or it could be both.
My problem/questions is how would i go about using flash drawing api to markup frames of a loaded swf and then to make a new copy of that swf with that mark-ups.
I already have a basic drawing api that i can use.
Thanks for any help or input
Paul
Edit And Save Html Text From Within Flash
(urgent...)
Hi everyone,
I have a swf that displays html text from an external txt.file which works very well.
Now the client wants to be able to edit this text once in a while from within the swf file.
This works good too until I try to save it via php.
What happenes is, that the html text content gets converted to a string and cannot be displayed anymore after it has been saved by the php script,,,
so what may be the best way to do this ?
regards
Can Actionscript Load/edit/save Cookies?
I have this game that I created. I only want people to be able to play it once a day (Chance/luck game). Can this be done with actionscript? If so. how?
Thank you very much in advance!
Edit The External .doc Or .txt File And Save It In Flash
I am working with inputtext in flash and i have loaded the external .txt file using variable script. Now I added some text in the text field. I have a button "save" to save the aditionl text in the external file. what is the script for the save button?
I mean how i save my additionl records or text in that external file?
your answer will be appriciated.
Thx
vimal
Load Data Into Form, Edit, Then Save
Ok, I really need help. I have an Access Database (doesn't need to be Access, I can phpAdmin or mysql, whatever will work) that has a list of names. I want the user to open a Flash form and have the names load up into seperate input boxes for each name. The user can then change the names, move them, whatever, and then save the record. I want it to just overwrite the record. I donlt want create a new record. I cannot, for the life of me, figure this out. I have tried to find some tutorials but nothing makes sense. Is ASP a good way to go? Any help you can give me would be appreciated. I have been struggling with this for a week now. Thanks.
Save And Edit Buttons Cannot Work In Calendar
I need help from experts.
You allow to key in the reminder in the calendar just need to double click on the day of date you want.
But save and edit button got some errors now.
Problems:
1) Cannot save after edit
2) The date is wrong when you edit the reminder
Thanks
Ching
Edit And Create Xml File And Save Changes With Code
I would like to edit an existing xml file on the server with a swf ie -add/remove nodes add an object to a node.
I would also like to find out how I can create a swf with code and save it to a server so any other swf could use it(or the same one).
Any suggestions
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
Edit Uploaded Image In Swf
I've been tasked to create an interface that takes an uploaded image of a head and allow the user to erase and resize it to fit a stock body. The final swf will work somewht like this: http://www.cartoondollemporium.com/c...uperfairy.html except it will have an actual head...
Could someone point me to a similar project/src where I could learn the method?
Thanks in advance!
How To Edit Image In Flash?
Hi,
Am unsure on how to erase the background of the image in flash? I tried the magic wand tool and others. It doesnt seem to work.
Anybody can help me?
Thanks alot
Edit Uploaded Image
I've been tasked to create a web-based application that allows a user to upload an image of their head then to erase and resize it to fit a stock body. The final swf will work somewht like this: http://www.cartoondollemporium.com/c...uperfairy.html except it will have an actual head...
Could someone point me to a similar project/src/tute where I could learn the method?
Thanks in advance!
How Do I Edit An Image That's A Symbol?
Hi, guys. I have an image that is a movieclip and already has a motion tween on it. Is this image a png? gif? jpeg? Not sure how to find this out. In any event, the people driving this project have once again (shudder) changed the logo and the flash developer is no longer available, so they want me to make the change. I'm hoping there's a way to make this change without having to create a new symbol and motion tween. I never did any of that, so if I have to do this, I'm screwed. Any advice would be greatly appreciated.
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!
User Can Upload Image And Edit
Hey!
I wanted an interactive page where a user could upload an image, and then edit its size, and sumbit a final design. (which is the file the uploaded)
ANyone any ideas??
Andy
Load External Image And Edit
Hello,
for the last couple of days i'm trying to get my code to work, but somehow I don't see the big picture.
My goal is to load an external jpg/png, from the same server. When this jpg/png is loaded i want to select a few pixels and turn them to aplha value 00.
The picture is loader allright, but the setpicture attr doesn't so anything.
import flash.display.BitmapData;
this.createEmptyMovieClip("holder_mc",-16385);
loader = new MovieClipLoader();
loader.addListener(this);
loader.loadClip("winter.png",holder_mc);
function onLoadInit()
{
myBitmap = new BitmapData(holder_mc._width, holder_mc._height,true,0xffffffff);
myBitmap.setPixel32(100,111,0x00FFFFFF);
myBitmap.setPixel32(101,111,0x00FFFFFF);
myBitmap.setPixel32(100,112,0x00FFFFFF);
myBitmap.setPixel32(101,112,0x00FFFFFF);
myBitmap.draw(holder_mc._x = 191);
holder_mc.removeMovieClip();
}
function onLoadError()
{
holder_mc.removeMovieClip();
}
stop();
If someone could point me in the right direction, I'd be very pleased
How To Edit A Bitmap Image In Flash?
I have imported a Movie Clip symbol from others.
I found the Images related to that symbol is not quite adapted to my need.
So I'd like to edit it in an external application, such as Photoshop.
But the Flash told me that I cann't do that because I haven't the png file.
What should I do now?
Cheers.
Edit A Swf File To Show An Image In A Text Area
Hello actionscripters,
I am a coldfusion developer. I am very very new to flash and my grasp over it is pretty minimal. I downloaded this flash map application from http://fawx.com/software/pflog As you can see the map reads data from an XML file and then uses that data to represent appropriate points on the map.
Currently, when the mouse is hovered over one of these points on the map, a div drops out with the information relevant to that point on the map. Now, I would like to add a small image to the div box which drops down and I want to put the image url in the xml file. So, I want the flash application to read the xml file and display the respective image in the hover box for each point. This is kinda similar to the flickrmap at http://www.allthegoodness.com/projects/map/
It would be great if somebody could throw in some ideas as how to edit the action script files or the movie so as to achieve this. The source code is also available on the site.
Thanks,
Prashant
Quick Job For Freelancer, Edit XMl Image Gallery + Add Few Features
Hi,
i'm looking for someone who is good in actionscript 2.0 as i need to modify and add few features into existing XML image gallery. Email me at janko@inbox.com if you are interrested so i can email you brief. The deadline for this job is this friday 9.6.2008.
This job won't take you more than half a day.
Thanks
Jan
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?
|