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


Advertisements:










ActionScript 2.0 :: CS3 Resize, Crop And Rotate Image?


I'm doing a mini app in AS2 where the user can upload an image into Flash and be able to crop, scale, and rotate and image, and after they're done, save the edited image to the server.I know I have to load an image into the BitmapData, after that I'm lost.


View 10 Replies (Posted: 08-24-2009, 12:32 PM)

Sponsored Links:

Related Forum Messages For Flash category:
ActionScript 2.0 :: CS3 : Resize, Crop And Rotate Image?
I'm doing a mini app in AS2 where the user can upload an image into Flash and be able to crop, scale, and rotate and image, and after they're done, save the edited image to the server.I know I have to load an image into the BitmapData, after that I'm lost.

Posted: 06-02-2009, 06:14 PM

View 1 Replies!   View Related
JavaScript :: Flash - Resize / Rotate And Crop Images Then Save Online
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.

Posted: Dec 3 09 at 23:19

View 2 Replies!   View Related
Professional :: Crop A SWF Like Crop An Image In Photoshop?
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.

Posted: Nov 3, 2010 6:15 AM

View 5 Replies!   View Related
Professional :: Adobe Media Encoder CS5 - Crop And Resize At Same Time Possible?
Flash 8's video encoder, use to let you crop (cut x amount of pixels out) and then resize a video (and in that order it did it). CS5's Media Encoder is confusing, from what I can tell it cannot do both, you either can crop or resize but not both. ANd if you can do both, you definately cant crop before the resize. So which is it? Resizing made sense last, because you could put in new values for the resize nad figure out how much you need to crop out.

Posted: Mar 11, 2011 11:38 AM

View 4 Replies!   View Related
Actionscript 3 :: Ammend This Resize Script To Fill/crop To Container?
I've got a simple script that resizes a loaded image to fit a specific width and height, however I want the option to be able to fill i.e. centre and crop to a specific width/height - any ideas on how I can modify this?

Current script:

[Code]...

Posted: Aug 30 11 at 2:03

View 1 Replies!   View Related
ActionScript 3.0 :: FileRerence Load - Resize Width To 500 And Crop Off Height Beyond 400
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]....

Posted: 01-24-2011, 07:15 PM

View 1 Replies!   View Related
Professional :: Can't Crop An Image In Flash CS5?
I have created a little banner on the stage and would like to crop it. I can't seem to find any crop tool, can't I crop an image in Flash CS5?

Posted: Nov 29, 2010 2:10 AM

View 1 Replies!   View Related
Professional :: How To Crop An Image In Flash
I've been croping my pictures to use in my flash in photoshop but I want to crop the pictures so they fit the size of my page in flash. Does anyone know how to crop pictures in flash?

Posted: Aug 2, 2011 3:19 AM

View 1 Replies!   View Related
Flex :: Crop Image Under Mask?
I have this image over which i have a circular crop. The user can move the underlying image and when he is ok with the result hits the crop button. How can i crop only that part of the image which is under the mask?

Posted: Jul 25 11 at 16:55

View 1 Replies!   View Related
ActionScript 2.0 :: Crop An Uploaded Image In Flash?
I am creating an application where users can upload their images on the canvas and they can resize the image. I need to know if its possible to make some handles for the uploaded image so the users can use those handles to crop the image? [URL]drag a clipart onto the stage and take a look at those Orange handles around the image.I just need to create that kind of effect in flash actionscript 2.

Posted: 05-14-2011, 11:38 AM

View 7 Replies!   View Related
ActionScript 1/2 :: Implement An Image Crop Application?
implement an image crop application.

Posted: Aug 19, 2009 11:21 PM

View 1 Replies!   View Related
Flex :: Crop Image Using A Non-rectangular Shape?
I've been following this tutorial to crop images in flex: [URL]

At the heart of its cropping is using a method called "copyPixels". However, this method takes as one of its arguments a rectangular shape for its crop region. Are there other strategies I can use to crop it not using a rectangle.

I am going after letting the user specify the region that should be cropped using a series of points.

Posted: Oct 30 09 at 10:26

View 1 Replies!   View Related
Flash :: Image Upload + Crop Component
I'm running a web application built on Seam. I would like to have an image upload + crop component. Preferably on client side, so the image uploaded to the server would be the result of the crop. I read this can be made with Flash 10. I was thinking flex is also a possibility. Does anyone has good hints to give me, what component to choose or what is the best way to connect the backing bean I have with the flash/flex?

Posted: Feb 1 10 at 11:32

View 1 Replies!   View Related
ActionScript 2.0 :: Crop The Dynamically Loaded Image?
crop the exact image through the flash action script.

Posted: July 23rd, 2008

View 1 Replies!   View Related
ActionScript 2.0 :: Tell Buttons To Rotate Or Resize
i need to know how to make the silder which rotat object and how can i tell buttons to rotate or resize. i mean when you drag an object what happen to tell buttons to this object is the active one.

Posted: February 17th, 2004

View 1 Replies!   View Related
ActionScript 3.0 :: Loading Image Into Bitmap And Crop It With Rectangle
I just started working with bitmaps and I do not get them at all, I've read the entire page adobe has on bitmap and bitmapdata. I've got this code together but all it does is displays a white rectangle and not my image.

ActionScript Code:
package {
import flash.display.MovieClip;
import flash.display.Loader;
import flash.display.Bitmap;
import flash.display.BitmapData;

This code should load the image into the bitmap (which works), then crop it with the rectangle (which just crops the fill from the bitmapdata)

Posted: 07-31-2010, 03:42 AM

View 6 Replies!   View Related
Flex :: Crop Image By Selecting Part Of Imageusing ActionScript3.0?
To crop the image into a selected size by drawing rectangle over it. It should be done in ActionScript 3.0 and Flex 3.0

Posted: Dec 9 09 at 11:31

View 1 Replies!   View Related
ActionScript 3.0 :: Crop A Specific Irregular Shape From An Imported Image?
How can I crop letteraly crop a part of an imported image into a specific irregular shape that already exists on the stage as a MovieClip... a jigsaw puzzle piece for example ? (it would be prefered not to use masks).

Posted: 01-18-2010, 09:47 PM

View 3 Replies!   View Related
ActionScript 3.0 :: Crop Image But With Use Of Rectangle Class Or In Rectangular Shape
I am having some problems regarding image crop.I am able to crop an image but with the use of rectangle class or in rectangular shape.But i would like to crop in circular shape(for example go to URL...).

Posted: April 17th, 2009

View 8 Replies!   View Related
ActionScript 3.0 :: Crop A Specific Irregulare Shape From An Imported Image?
I have a little question:How can I crop letteraly crop a part of an imported image into a specific irregular shape that already exists on the stage as a MovieClip... a jigsaw puzzle piece for example ? (it would be prefered not to use masks)

Posted: January 18th, 2010

View 4 Replies!   View Related
ActionScript 3.0 :: Turning Image Into ByteArray Of Numbers - Interactive Crop Tool
I've been playing with the Jpeg encoder now for a while and haven't come much further than just realising how to turn an image into a ByteArray of numbers. The code below is incredibly useful at turning a movieclip on the stage into a Jpeg and downloading it to the user. Unfortunately I need to amend the Bytearray first with a crop tool before creating the jpeg. e.g. delete the array value if the image is outside of the rectangle? And a rotate tool, e.g. all the values in the array switch places 90 degrees!? (the X and Y values switch over).Also it downloads to the user, but I need it to save onto the server so I can keep using it in flash, before then emailing the jpeg to a known email address.

(E.g. if a 10px x 10px bitmap, would have 100 values in the array, to crop it into a 5 x 5 image, I would delete array entries
where X < 2 and X > 7
and Y < 2 and Y> 7.
Or to rotate it, X for 1st pixel becomes the Y for the 1st pixel and vice versa)....

ActionScript Code:
import com.adobe.images.JPGEncoder;
import flash.net.URLRequest;
import flash.display.BitmapData;
import flash.utils.ByteArray;
import flash.net.URLLoader;
[Code] .....

Posted: 11-29-2010, 09:54 AM

View 2 Replies!   View Related
ActionScript 3.0 :: Scale Or Resize The Image By Dragging And Resize Option?
I am working on image and i like to scale or resize the image by dragging and resize option.same working as "free transform tool" in flash (design part); i need same functionality in application.

Posted: Sep 19, 2011 10:37 PM

View 7 Replies!   View Related
Flex :: Image Rotate 3D But Display Another Image On Back Of Image?
i want to rotate 3D an Image called img1 in Flex. I want to rotate it around y axis 180 degree. I can do this by using 3D effect already built in Flex but i want to do a bit more different. I want during rotating, there's another image called img2 appear on back of img1 (in default case, the image appear on the back is img1) and when rotating finish, the image will be img2.

Posted: Oct 24 11 at 4:40

View 2 Replies!   View Related
ActionScript 3.0 :: If I Rotate An Image 10 Deg Then That Moves An Image 10 Deg Clockwise From 0?
I have rotated an image around 0,0 using the code below. I need the new coordinates of the corners of the rotated image.

bitmap.rotation=_angle;

UPDATE: if i rotate an image 10 deg then that moves an image 10 deg clockwise from 0,0

the bottom left corner was 0,20 and so i need to change the point (0,20) 10 deg clockwise using trig?

Posted: April 19th, 2011

View 1 Replies!   View Related
Copyright 2005-08 www.BigResource.com, All rights reserved