ActionScript 3.0 :: Load A Picture - Crop It And Save It Back As Jpg

Oct 19, 2009

I need to build a flash application In which I load a jpg, make a selection of it (a mask or something like crop tool) and save it back. Loading the picture and making the mask are not a problem. saving the edited picture back.

View 6 Replies


Similar Posts:


ActionScript 3.0 :: Load A Picture - Crop It And Save It Back As Jpg?

Oct 27, 2009

My application is almost set, load the image, made the crop, save It to a server with a php and all good until here. Now I want to drag the image, make a scale of it and for that I used an Matrix (also done).

My problem is if I scale it less then initial value, my crop is not good. Can you please take a look at my code here, because its drives me crazy and I cant figure it out.

View 0 Replies

ActionScript 3.0 :: Edit/crop A Flv File And Save It As A New Flv?

May 7, 2010

Is there some way to edit/crop a flv file and save it as a new flv with as3?
 
Lets say that I record my webcam to fms, access it and see that I would like the first 10 seconds to be deleted. Can I possibly do that with code?

View 5 Replies

JavaScript :: Flash - Resize / Rotate And Crop Images Then Save Online

Dec 3, 2009

Which is a better approach for this?
ActionScript3 or JavaScript+PHP?
Any open source tool?
After a long search, the only good example I found was this [URL] but I'd rather have a flash alternative.. Also I don't need all the extra functions such as filters.

View 2 Replies

Professional :: Crop A SWF Like Crop An Image In Photoshop?

Nov 3, 2010

Does anyone know a way to crop a SWF like you would crop an image in Photoshop? I'm building a Flash Banners application in my Flash portfolio website and I'm loading a SWF using addChild via a URL loader object. There is no way to mask the outsides of the SWF because addChild puts the SWF at the front of the display list so the masks would just show up anyway and the masks will just be huge white sheets that will look dreadful. I need to LITERALLY crop the SWF down to 550 X 325 pixels.

View 5 Replies

Professional :: Take A Picture With A Web Cam And Save It In The Server?

Feb 12, 2010

I need to take a picture with a web cam and save it in the server.

View 2 Replies

ActionScript 3.0 :: Webcam To Take Picture And Save?

May 10, 2010

I'm totally new to AS3 and I have an upcoming project on it. It's a virtual hairstyling project but I have no idea how to get the first part to work.This is how the first part of the project goes:First, it will ask the user to take 3 pictures of themselves using the webcam (probably some buttons that says "take picture"). These 3 pictures should be saved temporarily in the flash.After all pictures are taken, it will ask user to choose one that they like the best and will proceed with the next step. And if they don't like any of it, they can take the pictures again.

View 3 Replies

ActionScript 3.0 :: FileRerence Load - Resize Width To 500 And Crop Off Height Beyond 400

Jan 24, 2011

I have code here that allows a user to load an image from their local machine to the SWF (using FileRerence). The movieclip is 500x400 in size and I need the width of the selected image to resize to 500, and crop off any height beyond 400.

[Code]....

View 1 Replies

ActionScript 3.0 :: Jumping Back To First Picture, Gallery?

Oct 31, 2009

i'm making a photo gallery in flash AS3. I have two buttons, prev and next, what i want is when you are at the last image end press next, you jump to the first image. I have tried to google it and searched for an answer, but cant find anything. This is my code so far.

picture.stop();
rbutton.addEventListener(MouseEvent.CLICK,
clicknext);
lbutton.addEventListener(MouseEvent.CLICK,
clickprev);

[code]...

View 1 Replies

ActionScript 3.0 :: Picture Slideshow With Arrows For Next And Back

Nov 8, 2009

I want arrows for next and back
if ( == "pic1") {
gotoAndPlay("pic2");
if what equals pic1
It's not currentFrame

View 1 Replies

ActionScript 3.0 :: Save A Picture From Swf File Without Any Server (php - Asp)

Mar 14, 2009

how can I save a picture from swf file without any server (php,asp,etc..) IS it so , with jpegencoder class and as3 and flashplayer 10

View 2 Replies

Actionscript :: Save A Picture From A MovieClip In FLASH?

Nov 11, 2010

I need a very simple(*) image editor made in Flash so the users of my web page can edit pictures and then save them to my server. I'm beginning this project trying to save to a jpg or png the content of a movie clip, but I didn't find any information on Google. Can you give suggestions of how to begin? And if you know some opensource projects like this one, please share it here.

(*) very simple means, resize, crop, add text and overlap other images.

View 4 Replies

ActionScript 2.0 :: Save Flash Device As Picture

Mar 3, 2010

To save the flash device as a picture in my mind to give me science is Bruser so save it in any place

View 0 Replies

ActionScript 3.0 :: Take Picture And Save In BlobField In Database

Jan 19, 2012

I am making an application where the user needs to register himself. During the registration he needs to take a picture with the phones camera. All of this workds great. But if he completes the registration, the image taken by the users needs to be saved in the database(BLOB field). I searched a long time and the id behind it was to get the bitmapdata, get a bytestream and then encode with b64 to send it to the php service. So here is what I've done now:

ActionScript Code:
var bitmapdata:BitmapData=this.data as BitmapData;
var encoder:JPEGEncoder=new JPEGEncoder(85);
var stream:ByteArray=encoder.encode(bitmapdata);
var b64:Base64Encoder=new Base64Encoder();

[Code].....

But he won't insert it. I think it's something with the encoding but I don't find where the problem is exactly.

View 6 Replies

ActionScript 2.0 :: Save File Format So That It Will Not Come Up As Picture On Email

Jun 22, 2009

I have made a newsletter for a website in Adobe Flash CS4. What I need is what to save the file format as so that it will not come up as a "picture" on the email. Also how would I make in a single area if you click on it, it will directly send you to the website?

View 1 Replies

ActionScript 3.0 :: Save Masked Webcam Picture As Jpeg?

Sep 14, 2010

i am trying to layover a background picture (bitmap) a masked area of a captured (blurry circle) webcam and add some small bitmap graphics (little squares with text) to itactualy not that hard but i want save the whole thing as jpegso on the screen everything looks fine and i managed to save a jpeg with a masked capturevideo but without the background image included ;-(so can anybody tell me how to include the background image ?here is the code so farit generates a gradient mask for the captured video

ActionScript Code:
package
{

[code].....

View 0 Replies

Have Script Grab A Picture From Live Stream And Save It As JPG File?

Apr 4, 2010

Does anyone know how to get a script of some kind to grab a picture from a live stream and save it as a JPG file?

In this way a cron job can tricker the script and thereby grab a picture fx every 10'th minute and the picture can be shown on a website so people that are not attending can have a look into what is happening in the live stream.

View 5 Replies

ActionScript 3.0 :: Save Images A Landscape Picture And Portrait Size?

Jan 25, 2011

How to save images a landscape picture and portrait size in FP10, there are ways?

View 13 Replies

ActionScript 2.0 :: Load Swfs From Array Back-to-back?

May 28, 2010

I am working on a having external swfs get loaded into the main swf one by one from an array.I can get the first one to load, but it just keeps on playing the first item in the array over and over, instead of loading the next movie. I have a container on my stage, cleverly named "container" and I am using AS2 and loadMovie.

I am guessing my conditon on my if statement is off, but I am not sure how to tell the onEnterFrame to check the currentframe of the loaded swf and not the container itself. I might be way off, but in my mind I feel like this mostly makes sense, but knowing Flash it is probably not nearly enough coding.I might also add this won't be running on the web, so I don't need to worry about preloading swfs since it will be running directly off a PC onto a screen in our office.Here is my code:

Code:
var myClips:Array = ["movie1.swf", "movie2.swf", "movie3.swf", "white_logo.swf"];
var i:Number = 0;
_root.container.onEnterFrame = function() {[code].....

View 2 Replies

ActionScript 2.0 :: Make A Picture Gallery And Use Buttons That Move You From Picture To Picture And Backwards?

Apr 22, 2002

I want to make a picture gallery and use buttons that move you from picture to picture and backwards, but I don't want to tell button 1 to go to frame 2 and button 2 to got to frame 3 and so on (I hope you know what I mean)Can I use on button on a separate layer with the same action set? I tried something like that, but it didn't work:

on (release) {
thisframe =+1
}
[code]........

but it didn't work. I'm kind of new to any action script other than gotAndPlay, easy functions and all that.

View 2 Replies

ActionScript 3.0 :: Save Flash Array To Xml Then Bring It Back Into It?

Oct 11, 2009

How can I save information created by an array in flash to an XML file and then bring it back info another flash movie?

THe basic idea of what I want to do is have a bunch of checkboxes that when ticked add an item to an array the array can then be saved and I can pick up the information to be used in another part of the site.

View 5 Replies

Flex :: Passing Object To Save Back To Server Freezes Application

Jan 24, 2012

I have a NavigatorContent which is displayed when the user selects an item in a DataGrid. This NavigatorContent contains a form and an accordion displaying the related objects.

When the user presses the Save button in the NavigatorContent the form and the children should be saved to the database by calling the server through BlazeDS:

saveObjectToDB()
{
//Map the form values to the object
object.field1 = object_field1.text;

[Code]....

The object that i pass to the accordion children is public and [Bindable] in the NavigatorContent and in the accordion children and is initially passed from the main DataGrid. May this be a problem relating to this issue?

View 1 Replies

ActionScript 2.0 :: [Flash8] Load Text Into A Dynamic Text Field And Load A Corresponding Picture Or Movieclip?

May 1, 2009

The desired affect is simple: I have a single button... with each click I want it to load text into a dynamic text field and load a corresponding picture or movieclip.There are only three unique text/image combinations- after its displayed the third, with the next click I want it to just start over. All the text functions perfectly with each click.

The problem is:I use "createEmptyMovieClip" then use the resulting clip as a loader clip.. With the first click I want a movieclip from the library to load, so I use the "attachMovie" method- it displays the first library fine.With the next click I want to load an external swf- so I call the "loadMovie" method of the loaderclip... The external swf loads just fine replacing the first library clip.The third clip is where I have problems... now I want to load another library item into the loaderclip... so I tried using the attachMovie method again but the external swf remains static... then with the next click, I discover the first library item no longer loads and the external swf remains still playing- it's like once it's been loaded into the loaderclip it cant be moved...

So I tried adding the "unloadMovie" method in the code for the third click.. it successfully removed the swf... but the next line of code immediately after the unload statement, doesn't work. The line calls the attachMovie method for the loaderclip... but the library item doesnt load... Oddly enough, with the next click, the first library item now does load as if everything's fine... It seems like you cant use the unloadMovie and attachMovie on the same executing code? if that makes any sense... the basic idea was that if I couldnt get the attachmovie method to replace the loaded external swf, then I would use the unload method to remove it, then have code immediately after, to then execute the attachMovie method... but it still doesnt load the library clip. and I know it's not a type-o, because when I comment out the loadMovie and unloadMovie statements, it loads both the library items perfectly ? The code is below

var increment:Number = 1;
var verbiage1:String = "Hello World1";
var verbiage2:String = "Hello World2";[code].............

View 2 Replies

Can't Load A Picture On Server

May 6, 2009

Can't understand why: loadMovie("pict/my_picture.jpg",movieClip); the path seems to be correct, but Flash canīt load the picture. It works locally, although, but not on the server.

View 1 Replies

ActionScript 2.0 :: LoadClip Won't Load Picture?

Sep 21, 2009

I have a nested blank clip (_root.banner.holder.picture) and want to load a picture into it, using the following code in the _root.No matter what I do, I can't get it to work

Code:
_root.myobject = "picture1";
loadpic = _root.myobject+".jpg";

[code].....

View 1 Replies

ActionScript 3.0 :: Use Loader To Load Two Picture?

Nov 30, 2010

I use Loader to load two picture,such as 1.jpg and 2.jpg,like follows:

_p1=new Pic("1.jpg");_p2=new Pic("2.jpg");

Then I add the two picture into a Sprite,like follows:

Sprite _g=new Sprite();
_g.addChild(_p1);
_g.addChild(_p2);

Then I draw a circle as _g mask,such as _c
_g.mask=_c;
 
I want to realize following effect.First appear 2.jpg,and during the mask _c radius is from 0 to 300,the picture 1.jpg is appearing synchronously in mask _c.

View 3 Replies

Php :: Load A Picture In A Webpage From Flash

Jul 12, 2010

I'm editing a web page to access it only after login, so now it's a php page with an inital <?php session_start(); ?> and in the body of the page I test the value of a session variable.All works fine but in the header there is flash animation that don't load background picture.In the old version of the page this picture was loaded fine but not now.The address of old version of the page is this and new versione is this this.

View 1 Replies

Actionscript 2 :: Flash - Load Picture From XML

Jul 15, 2010

I'm creating a picture gallery in actionscript 2. In order for people to easily create/modify galleries, I have actionscript read in file information through XML. However I have one problem I can't get around. I'm having trouble loading the picture into a movieclip, then being able to change the properties of that movieclip (change _x, _y, and _alpha). Here is what I have so far

[Code]....

View 1 Replies

Actionscript 3 :: Flex As App : How To Load A Picture

Jul 29, 2010

I'm new to flex, i'm used to flash (CS5 & as3) I'm trying to load a picture in my swf file to add a DisplacementMapFilter then.

[Code]...

View 1 Replies

ActionScript 2.0 :: Load An External Picture Into Swf?

Jun 23, 2010

i'd seem some of the flash webpage, when enter into gallery or other photo area, the picture was loading into swf then.

View 9 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved