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




How Can I Crop The Top?



My client says my movie sits too low on her 15" monitor. I have a 17" and so it looks just fine to me. Anyway she wants me to remove the whitespace at the top. I already used marginheight=0 and topmargin=0 in the html portion.

When I try to change the height in Flash MX properties it crops from the bottom -> up. But I need it to take off some of the white part at the top, not the bottom. Does this make sense to anybody?

Help, if you can.

Thanks,

Shawn



FlashKit > Flash Help > Flash Newbies
Posted on: 09-02-2002, 05:40 PM


View Complete Forum Thread with Replies

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

How To Crop The Top ?
Im in a serious fix !!! after doing all the designing/animation in my flash movie, exporting it and putting it in my html page, i feel the swf has too much blank space on top. I tried reducing the movie height, but the movie reduces only at the bottom and not on the top. Can someone pls tell me how to reduce space on top, without having to rework on all the frames one by one (moving it up)

How Do You Crop An SWF?
I need help. Im trying to crop a swf file. When I go into modify/doc/ props and resize the files it always takes from the bottom. Is there anyway to reverse this so that it crops the top or even the side? Kinda of like resizing a canvas in photoshop.

Thanks?

Crop The Top Of A *.swf Or *.fla
i want to crop a *.fla file so that the top margin is reduced instead of the bottom. Is this possible?

Crop
sup guys, I need to make my .fla a smaller canvas size but I need to crop the top out, how do I control where the document will be cropped.?
Noir.

Crop Command
Hi folks

i just created an anim lying on top of a layer with an imported screenshot from my photoshop design. now i am looking for a command that is similar to the crop command in photoshop to cut out my animation and save it as swf.

thx

Crop Image
Let's say I have one tile map 200x200 with 100 images(20x20).
I know there are software's where I can crop the images and then import all of them to flash.
Is it possible to have the same feature using flash mx 2004 with the power of the new actionscript 2.0?
Thanks in advance.

Crop To Stage
Hi,

I'm creating some flash documents and sometimes I have extra stuff outside the document (stage) size. When I load this movie into a web page I see the extra stuff that was outside the document size. I've searched and searched but can't seem to find any crop features.

How can I crop the flash document to the document size?

Thanks!

Movie Too Big.... How To Crop?
So..... I'm using MX 6.0 .... First time project. I built my animation (movie) with sound on a document that was 40" by 40" . When finished I only used about 7" x 20" . Now when I launch the swf file, it plays very small in the browser, and I have to zoom in to see it.

I tried to make the document smaller, but because I built it in the center of the 40" height, when I make the document smaller... it crops out all my stuff.

If I move my beginning images closer to the zero,zero point... it only stays for the first keyframe.... then POOF - gone.

Is there a way to get this smaller, so it will be bigger when it plays in the browser?

Sidebar question. The music starts abrubtly (Frame 1 ) . Is there a way to add silence, or space before everthing in the beginning?

Much thanks in advance!

Grabster

Crop Movie Afterwards?
Hey there,

I have a simple question, I hope..

I made my flash movie to big for browsers, and I can't change everything..
So I'm wondering if there is a way with either actionscript or html to crop it to a certain size, but keep it all centered in my crop space? Any help would be awesome. Thanks in advance!

Crop The Stage?
I have a complicated flash movie and I would like to cut off the left 100 pixels of the stage. Is there any way to do this? Perhaps using actionscript (if there is no more straightforward way to accomplish it)?

G

Image Crop
i want to crop an image of 1000pixels wide in to three parts.. using actionscript.. how shall i do it... i heard a merge command in flash 8.. i don't know how to use it.. can any one help me with this along with the code...

or do any one know other ways to crop the image dynamically using actionscript.

How To Crop Photo?
Surely you can crop a photo in Flash 8 Pro, right? if so, I can't figure out how. Please help.

How To Print A Crop Of A Map?
How can I print a crop of a generated map with a headline and footer
stretched to the whole page size?

Lasso Or Crop?
I'm trying to figure out how to crop images smoothly, I know I can use the lasso tool but I don't know how to smooth out the edges, can somebody tell me how?

Flash Crop - Nearly There Just Need A Little AS Help
Hi,

I have a slightly ammended working version of www.sephiroth.it Flash Image cropping tool. However I was wondering if someone could help me figure out how to change part of the flash interface.

http://www.colourjam.com/dev/crop/

Upload a picture then draw a box on the image when it appears. What I would like is to be able to constrain the proportions of the drawn box so I can get a perfect square.

My version of the .fla is here:
http://www.colourjam.com/dev/crop/imageCrop.fla

Thanks for any help.

How To Crop The Stage?
Hi there, I got a swf file called 'NW_site_4_diap.swf' centered in my browser with html. At the moment, anything that sticks out from the stage to the surrounding area get's displayed in the browser. Now I'd like to crop the swf file at its stage size. How do I get flash or html to crop all elements to the exact stage size? Thanks!
Here's the html code I used:


HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Nationale Waarborg</title>
<style type="text/css">
<!--
body {
height: 100%;
width: 100%;
margin: 0;
background-image: url(ONLINE%20070201/pattern_156.gif);
}
-->

</style>
</head>
<body bgcolor="black">
<!--url's used in the movie-->
<!--text used in the movie-->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="100%" height="100%" id="myfile" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="NW_site_4_diap.swf" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<embed src="NW_site_4_diap.swf" quality="high" scale="noscale" bgcolor="black" width="100%" height="100%" name="myfile" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
</object>
</body>
</html>

Crop Movieclip
Okey. the title is not as describing as it should be.
What I want to do now is to "crop" a movieclip that has several moviclips placed inside.. Meaning I want to move all moviclips so that their placed up in the corner of the main movieclip. x=0 , y=0. and I want to do this programaticly. (the movieclips must have the same placements between theme..)
are there a quick and easy way to do this?

http://home.no.net/thor918/cropped_moviclip.fla

If anything is unclear please ask
and thank you all for your help!

Edit,Edit:
Here are some work in progress

finding the x and y that I want to crop from.

finaly something that works. but since I want the change the visabilitys later on some of the movieclips, that it would be best to revert the changes from the crop and then crop again. hmm how do one do that the easiest way? I'm thinking loud here that perhaps I have to loop trough all objects and save the old x,y cordinates before I crop.


ActionScript Code:
public function cropme():void{               import flash.display.DisplayObject ;             var LowestY:Number = this.FindLowestY();            var LowestX:Number = this.FindLowestX();                        var childMovieClip:DisplayObject;            var i:int = this.numChildren;            while(i--) {                childMovieClip = this.getChildAt(i);                if (childMovieClip is MovieClip){                    trace(childMovieClip.name);                    if (childMovieClip.visible){                        childMovieClip.y = childMovieClip.y - LowestY;                        childMovieClip.x = childMovieClip.x - LowestX;                    }                }            }                    }                 public function FindLowestY():Number{               import flash.display.DisplayObject ;             var VFindTopY:Number= 3600;                        var childMovieClip:DisplayObject;            var i:int = this.numChildren;            while(i--) {                childMovieClip = this.getChildAt(i);                if (childMovieClip is MovieClip){                    trace(childMovieClip.name);                    if (childMovieClip.visible){                        if (VFindTopY>childMovieClip.y){                            VFindTopY = childMovieClip.y;                        }                    }                }            }            return VFindTopY;        }         public function FindLowestX():Number{               import flash.display.DisplayObject ;             var VFindLeftx:Number= 3600;                        var childMovieClip:DisplayObject;            var i:int = this.numChildren;            while(i--) {                childMovieClip = this.getChildAt(i);                if (childMovieClip is MovieClip){                    trace(childMovieClip.name);                    if (childMovieClip.visible){                        if (VFindLeftx>childMovieClip.x){                            VFindLeftx = childMovieClip.x;                        }                    }                }            }            return VFindLeftx;        }

PrintJob Crop
yo, can anyone tell me how to crop a print image so it only shows the bounds i want it to?

i have a game where the user creates images on the stage, and sometimes the images run off of the stage, i only want it to print the image section that is viable on the screen.

i havn't done to much with PrintJob so forgive the noob question, and the "ActionScript 3.0 Cookbook" makes no mention of PrintJob.

How To Crop Shapes?
Hello!

I'm wondering if it's possible to crop shapes in Flash? That is, cut off its edges, accurately, by defining its new size, rather than just cutting them off with the mouse. Similar to Canvas size in Photoshop versus Image size.

Thanks,
Peace.

Dynamic Image Crop
Hi,
besicely I am a java game developer and did morethen 25games for http://www.funschool.com , now days I am shifting to flash game programming and looking for some help in flash to crop the image in different size. I want to devide images into 4x4 or 5x5 for different game levels, and also want to display different image for every time games load. It must be very easy for you flash doctors.. so please help me reagarding that as soon as possible. Thanks in advance...
Prashant

Dynamicaly Crop A Movieclip
Hey guys!

Situation. I have a jpg in my movie. I need to create a movieclip from part of this jpg. In other, and maybe even more clumsy words: coordinates are loaded into my movie from the db and dynamicly creates a new movieclip from the jpg image.. this new mc shows a smaller part of the jpg.

(or sort of like the 'crop' function in image applications..)

Please let me know if the question was badly formulated.

Any help is appreciated.

Is There A Way To 'crop' A Flash Movie?
Hi,

somebody made a .fla file for me, but I decided I want only the navigation part of it (10%) and leave the rest plain html.

So, I'd like to 'crop' the movie, but I can't find how to do it. Is it possible at all?

Thanks,

Harrie

Crop Tool Constrain
I built a crop tool, similiar in function to PhotoShop's croptool (see attached resize_crop.fla). I have one problem with its function: when using the tool and going from "resizing" mode (using the resizing handles) to "drag" mode (moving the crop tool itself over the picture movieclip), I can't keep the crop tool constrained to the underlying picture movieclip. If you play with it a bit, my bug will appear. I need for my crop tool to always stay within the boundaries of the picture movieclip (pic_content).

How To Crop A Flash File?
Hey all.

I recently purchased a tempalte with a flash header and I want to remove the top of the flash file and only have the bottom portion. But I cannot seem to find a crop option in flashMX. Am I looking in the wrong area?

Thanks for any help.

Crop Image With Actionscript
i have a large image that i want to load into flash and crop into 16 smaller images. i need to do this using actionscript because the image is dynamic. i know how to use a variable to load a jpeg into an instance of a movie clip, but how do i crop the movie with actionscript?

Un-CROP The SWF File - No Borders
Hello... I need help.

I've created a SWF that has the dimensions 750 x 600 when created in Flash. I created a huge box in the back layer in this SWF to be a special gradated background color and sized it at 1600 x 1200. My idea was that while the main items inside the SWF would be 100%, there would be NO BORDER (750 x 600) and the background gradation would extend as far as the user's browser would let them (that is why the huge box is 1600 x 1200).

But when I brought the SWF into Dreamweaver, I couldn't figure out how to configure it properly in HTML to allow the SWF images outside of the 750 x 600 to show while remaining at 100% (no scale).

Can anyone help?? Please!

Thanks!

Crop A Flash Movie
Is there any way to crop a flash movie once it is created?
After I finished it I realized that there was a little too much space on the top. When I chose to resize the work space it only gave me the option of length and width and by default it takes away from the bottom. Can I remove space from the top?

Crop Swf In Browser And Save?
Hey all,
Kind of a random question, and I'm thinking it's a long-shot, but I wondered if anyone knew of a way to "crop" swfs in the browser and then save them? Basically, I want to have the ability for users to send me swfs they've created, then I want to be able to change the size and crop them within the browser (if possible) and save the newly cropped swf onto the server.

I know, it's a long shot... but I wondered if anyone knew of a method or app? thanks!

[MX04] Web App To Crop Images
Hi all!

I'm using flash mx 2004
I am trying to create a web application to crop jpg images using an .asp web page and a flash application.

So far I have used aspjpeg to upload my jpg image and retrieve its original dimensions. Then I want to send the image to a flash app, the flash resizes to fit the dimensions and displays the picture.

Next the user can drag a rectangle over the image. I want the non selected area to grey out . Then when the user clicks a crop button, the top left coordinate and bottom right coordinate will be stored and sent back to an asp document where i can again use aspjpeg with these coordinates to crop and save the jpg.

I am fine with the asp side of things, and importing the variables into flash, however it is at that point that I get pretty stuck! Some pointers would be MUCH appreciated! So far all I've managed to do is create an empty movie clip which then loads the image...

Thanks! Anne

How To Crop A Flash Movie?
Hi,

How do I crop this flash movie? (Link: http://webdiod.deviantart.com/art/Habitat-11528081). I would like to cut off some of the edges and embed it into my website, but I have yet to find a program that would allow me to do this. I use Dreamweaver MX, but I don't have a strong understanding of HTML code or flash MX.

I'd appreciate any help. Thanks!

Define Crop Area
G'day

Does anyone know how define a crop area whithin the stage.????

thanx

How To Import FLV / Crop And Re-Export As FLV
I've scoured the net trying to find a program or method of importing an existing FLV and scaling it down in quality / dimensions / file size, and have found nothing. Flash Video Exporter will accept many formats, but not its own! Anybody know how to do this?

Crop Bitmaps After Importing?
Hi all,

is there a way to crop a bitmap after importing it in flash 8 (without
to convert it to a flash object (CTRL+B))?

TIA

tony

Crop Image Actionscript
Hi,
I am building a small application to teach students how to Crop their images. I load an image using loadmovie and I would like to apply a mask that would "grey out" everything except the area I selected. Any ideas?

-D

Flash Crop Tool
I'm trying to get this flash crop tool to work:

http://flashrocket.worldoptimizer.co...-released-lgpl

I was hoping someone could help me get it up and running.

I've copied these files to my localhost folder:

process.php
class.cropcanvas.php
test.jpeg
and cropsave.swf

In the cropsave.fla file I changed the address of the process.php from the url to just "process.php";

The test image appears and then once I crop it the php file loads and then nothing - just a blank screen. If I leave the original php file it shows the test image from the croptool website.

Any ideas? Any help would be greatly appreciated as this little tool is exactly what I need.
Alteratively does anyone know of any similar resize and crop tools?

Crop My Flash/.swf File?
so i have this flash file that's the default height/width- but i need to crop it...is that possible? i tried the change the width by modifying the document, but that didn't really work- is there a crop tool ? or a way to do it?

Crop Image Actionscript
Hi,
I am building a small application to teach students how to Crop their images. I load an image using loadmovie and I would like to apply a mask that would "grey out" everything except the area I selected. Any ideas?

-D

Flash Crop Problem
I have a movie i didn't made, i have the fla file. But i have to remove s black border that surounds it . It's not a question of the border per se, but the movie is too wide and too tall with that border, so i need to crop the movie. How can i do that?
Thank you in advance...

Crop Flash Document
Is there a way to crop flash documents and still keeps everything (action scripts and layers) working?

I need to crop the left hand side of the file which make it harder. I tried to reduce the document size but it crops from the right.

If anyone is interested to do this, I'll be happy to pay as well. Send me pm and your quote

Cheers,

Crop An Image In A Movie
hello
I'm trying to find a way to upload an image inside a movie and to cut/trim it and then to save the part as a new image

I'll be very thankful for help

thank you

Avir

How To Crop .mov File And Export As .mov Again?
Last edited by Lisbeth : 2007-06-10 at 05:35.
























Yes, you heard right. I just opened Flash CS3 for the first time. What I am trying to do is to get a 144 mb .mov file under 100 mb .mov and export it again. I usually would have done this in Premiere or another program, but I dont have it installed on this machine.
I want to put my 2005 music video on YouTube, and the file can be max 100 mb.
Sorry for being so stupid, but I have been using Flash MX(6) until today


Ok, I figured out how to import and export. Only problem is, now the files become up to 3 times as big as the original. Even though I resize it down, leave out audio and choose low quality...I think it´s very interesting

Can I Crop My Flash/.swf File?
hey there- and thanks for looking:
i have an animation that is running on the standard square white background- is there any way to crop this default background? without starting over with a defined size??? thnaks!

How Do I Crop The Size Of A Flash File?
I wnat to only select certain portions of the flash file and crop the rest of it out. Its hardt o adjust certain parts in the movie size window..

Crop A Circle Out Of An Image (MX04)
I am trying to make little circle-shaped thumbnail buttons of images that I want the buttons to load. I imported my image the way I want it to look when clicked on and loaded. What I can't figure out is how to crop that same image in Flash MX to make the little button. I don't really want to make the cirlcle button in photoshop and import it since it will add more files and more Kbs to the swf. I just want the imported image to be an image instance and also a circular button instance. Is this possible? Thank you!

Image Upload, Resize And Crop
Hi

I need to make an application where I shud be able to upload an image, resize and crop the image. The image which is cropped shud be sent to the next frame where i will add filters in flash.

Please give references

Crop Bitmapdata To Create New Bitmap
I want to be able to crop an image based on what is viewable through the mask and then saved that cropped image out to a new file. I'm not exactly sure how to do this though. Does anyone have any suggestions?

CS4 Media Encoder - Crop Gives Odd Result?
Hi,
I have a video in quicktime format. Quicktime player says it is 720x480.
When I play it in Quicktime it has black bars top and bottom.
When I look at it in Media encoder it has black bars top and bottom.

To start I selected f4v same as source, default.

I turned on crop in the input window, and adjusted to remove the black bars. 65 pixels from both top and bottom. total 130 off height giving 350 high. In the drop down next to the crop values which has aspect ratio presets I chose "None"

I set output to "change output size" on the output tab. It said output 720x350. makes sense.
Video settings tab, resize video is checked and say 720x350.

When I view the output window in media encoder it appears to have black bars on the sides?
when I load the video into a video player in flash with scalemode set to noScale it now has black bars on the sides, top and bottom black bars are gone!

what's the deal, I just want it the same width with the black bars gone from the top and bottom, why do I have side bars now?? Video should be 720x350 full frame.

If I crop the sides significantly (33 pixels per side) I can get a video with no side bars, that makes no sense to me and I am not sure if I am losing content. Output says 654x350

thanks
mark

[Q] How To Crop A Video In Adobe Premiere Pro 7?
Howdy...

I have captured a TV screen and that's saved in DVD...
I needed rip the DVD and save it into MPEG file format by using a program called DVDx...

What I have is an MPEG file that is 720x480 but the actual video is about 400x300 and it is centered and the border of this video is all black...

Is there any way to crop the black border area leaving only 400x300 area in Premiere Pro???

Thank you very much...

Crop And Scale Images In Browser
hi,

I have a website where a user enter a customize of the graphic they want...
then I show them the picture with a highlight of the size they select

example: customize size: 20 x 20
show them a picture with a 20 x 20 box over the actual images.
but the user now wants to scale the image (while still keeping the 20 x 20
size) wants to

is there a way to do this in Flash.

the website this is on right now is build in PHP.. and I'm wondering if I
can just point out to a flash page that will allow the cropping/scaling and
then go back to PHP with the data?

if someone knows how to do this; I'm will to pay to get it done as well
because I needed it a month ago.

Thanks in advance!

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