Image Pan _ Rubber band effect

I am trying to make the black square do the rubber band
effect while the image pans left to right with mouse movement
Each code works seperatly but when i put them together they
do not work
here is layer 1 the code for the image pan
this.onMouseMove = function() {
constrainedMove(bg_mc, 4, 1);
function constrainedMove(target:MovieClip, speed:Number,
dir:Number) {
var mousePercent:Number = _xmouse/Stage.width;
var mSpeed:Number;
if (dir == 1) {
mSpeed = 1-mousePercent;
} else { mSpeed = mousePercent;
target.destX =
Math.round(-((target._width-Stage.width)*mSpeed));
target.onEnterFrame = function() {
if (target._x == target.destX) {
delete target.onEnterFrame;
} else if (target._x>target.destX) {
target._x -=
Math.ceil((target._x-target.destX)*(speed/100));
} else if (target._x<target.destX) {
target._x +=
Math.ceil((target.destX-target._x)*(speed/100));
here is the code for the movieclip on layer 2
MovieClip.prototype.move = function (centerx, centery,
inertia, k) { x = -this._x+centerx;y = -this._y+centery;xp =
xp*inertia+x*k;yp = yp*inertia+y*k;_x += xp;_y += yp;};
now the code for the actual squarebox
onClipEvent (enterFrame) {
this.move(x=247.5, y=300, 0.80, 0.1);
What am i doing wrong????
the link to my fla is here
www.jetsetbrasil.com/imagepan_final.fla
PLEASE HELP!

http://www.jetsetbrasil.com/imagePan_final.fla

Similar Messages

  • How do I get rid of the "bounce" or rubber band effect when scrolling

    How do I get rid of the "bounce" or rubber band effect when scrolling

    Please help Apple recognize that users don't want bouncy scrolling by filing a bug:
    http://www.apple.com/feedback/macosx.html
    If enough people complain, Apple will listen to us.

  • Need rubber band text effect

    I want to make a series of text titles zoom out and then stretch in the middle as they reach full size like a rubber band having over stretched and then pinging back into place in CS4. I have looked through the text animation presets and can't find anything there so looks like I need to build the effect from scratch.
    Need to know what are the basic steps I need to take to manipulate text in this way?
    Thx
    Kevin

    This is fairly easy to do with an expression. Dan Ebbberts has a couple of examples that would work. The first is explained in the "It's a Fact Jack" part of this page. You would apply the expression to the X scale property. Just change the y to an x then write the final line [x, 100]
    If that doesn't do it for you try looking at Dan's Elastic Connection page. You could tie the x scale of the text to a null then animate the null's position to get your elastic effect.
    The most direct option is to just animate the X scale by hand. It may take you a few tries to get the exact look you want.

  • Stuttering image pan

    Hello,
    I have seen and looked over several different threads on this subject, but I have not yet found a solution that works for me, so I thought I would try myself.
    I have created a simple image pan for a project I am editing for somebody. I have tried creating this pan both in Premiere Pro CC 2014, as well as After Effects CC 2014 (both fully updated), and each time I get the same problem - the pan comes back stuttering instead of smooth.
    I have tried adjusting the frame rate, the original image size, I created a camera parented to a null object and panned that layer rather than moving the image itself (in After Effects), I incorporated motion blur, and at this point I am not sure what else to do. It is possible that my problem is in the export specs, and it's even possible that the problem itself is in playback rather than in the file itself (I have watched the file on both PC and Mac, windows media player as well as quicktime and vlc).
    The project for which I am making this animation is a 1920x1080 24p project, but I have tried making this animation at not only 24fps but also 30 and 50 fps, just to test out options.
    I have tried exporting to a quicktime movie with a png video codec, a photo-jpeg codec and a mpeg-4 codec, at about 85% quality, though I have tried other options as well.
    What I want is, I believe, simple - it is a six-second pan from left to right, resulting in smooth movement with clear, legible detail on the map while it's moving. I think maybe I am just over-complicating it. I don't know anymore.
    I have included a link to the after effects project file and the latest export below. I did also try just panning the map using the motion effect in premiere pro (since the larger project that includes the map is, itself, in premiere), but that was no better. Any advice?
    Dropbox - for adobe forum

    Judder is a nasty beast.
    Read up! Avoiding Judder in Motion Graphics

  • Rubber Stamp Effect

    Hey guys,
    I am trying to create a rubber stamp effect over a jpg by using the following steps:
    http://forums.adobe.com/thread/479931?
    When I Live Trace the below image "A" it doesn't look like the original and changes into image "B".
    Also, I cannot seem to extract the white from the picture after I have Live Traced it?
    Can anyone help?
    Image A:
    Image B:
    Below...

    Here it is as a grayscale trace in CS 6's image trace feature
    75 levels of gray
    91 levels of gray

  • Rubber Band Brush Mode?

    I have searched the helpfile and I don't think this is possible but just thought I'd check to make sure.
    I have another paint app where it will do a brush mode that is a rubber-band mode.  So if there is a brush that's 25 pixels wide and you go and click once somewhere and then move the cursor... a straight line rubberband appears connected to your cursor.  When you click again, the brush is painted in a straight line to where you clicked.  It's great when you are trying to quickly paint a straight line to match something in the image.
    Does PS have a brush mode like this?
    (I know that drawing paths can be stroked in straight lines, etc. but I need a brush mode that is quickly switchable to as I am speed painting thousands of images and brushing is fastest for this work).
    Thanks!

    So do you mean you want to be able to draw straight lines that are not paths quickly? If so, select the line tool which would normally make a path, and in the top left of the screen in the tools long menu across the top, select the square shape that has no lines or a pen on it, and this will just create a basic, pixle line. You can set its thinckness up there too. If you want to draw a line that goes from thin-to-thick, if you use the paintbrush with any brush, hold shift key as you paint. It can go in a straight line then, but only in the 4 main directions. If you require different directions, you can duplicate, then rotate the line you created, or you make a brush out of it and set rotation to pen tilt if you have a graphics tablet.

  • Mavericks: disable rubber band scroll bouncing

    Now that I have to use Mavericks every day in the office, the insipid rubber band scroll bouncing is simply maddening.
    It's distracting, annoying, useless and a constant drain on focus.
    Please, for the love of cute puppies, does anyone know how to turn this off?
    Sadly, defaults write -g NSScrollViewRubberBanding -int 0 has no effect in Mavericks, while it did before in previous OSes. 
    Honestly, just a setting to turn off all the sliding, popping, jumping, darting, swooping graphics and cascading NSOutlineViews would make me actually enjoy using the Mac again. 
    I want to get work done, not get distracted by excess motion all over my screen.
    Anyone?  Anyone?  Bueller?

    I have tried multiple terminal commands as well. It worked for Chrome, but my Mail messages are driving me nuts bouncing all over the place! There must be way to turn this off!
    Just tried Tinker Tools which is supposed to remove bounce in all apps (except Safari) and it didn't work for Mail either. It's almost unuseable this way unless I want a headache after reading 5 messages.  Stupid Apple.

  • How can I disable rubber band scrolling?

    How can I disable rubber band scrolling?
    Regards

    hm...
    I'm having an issue with a bouncing or "creeping" effect when I type in TextEdit; after having ugraded to Snow Leopard.
    I'm now cross-posting a bit, I can't find my way around here; doing the best I can:
    While typing in an rtfd new file, as I'm on the first line, the page starts creeping down until it's the very bottom line. When I get to the end of the line and it wraps, the page jumps up to about 5 or 6 lines and each few letters I type on the new line cause it to creep back down so it's the bottom line, until I get to the end of the next line, where I get a 5-6-line jump again, and then the creep again. This has to be one of the most annoying things ever, and makes me want to go get a different text editor. I use TextWrangler, but I've become used to TextEdit for quick things, and for a few specific things, but now I'm not loving it anymore.
    Help please?
    Mitch

  • How to remove the "Image Mask" labels under the effects tab in the Inspector window

    I'm still trying to find my way round Final Cut Pro X after using Final Cut Express for many years. I don't know how I have manage to finish up with two Image Masks being set under the effects tab in the Inspector window. The Image Mask effects are not active (the box adjacent to the label is not blue) How can I remove the Image Mask label from the Effects tab in the Inspector window?
    Thanks JohnH

    JohnHutchinson wrote:
    … How can I remove the Image Mask label from the Effects tab in the Inspector window?
    just click onto the grey bar and…
    … and hit 'delete'/back-space key.-

  • Interactive Image Panning within a Mask

    Hey guys thanks for the help so far. The last piece to the
    puzzle for me is figuring out how to scroll a movie clip within a
    mask. I'm currently working with the script taken from the
    Interactive Image Panning tutorial on kirupa.com as a base. Right
    now the script references the entire Stage area for scrolling the
    image whereas I want this to happen just within a mask. How do I
    set this up. Here is where I have the script right now:
    this.onMouseMove = function() {
    constrainedMove(Work_placeholder, 4, 1);
    function constrainedMove(target:MovieClip, speed:Number,
    dir:Number) {
    var mousePercent:Number = _xmouse/Stage.height;
    var mSpeed:Number;
    if (dir == 1) {
    mSpeed = 1-mousePercent;
    } else {
    mSpeed = mousePercent;
    target.destY =
    Math.round(-((target._height-Stage.height)*mSpeed));
    target.onEnterFrame = function() {
    if (target._y == target.destY) {
    delete target.onEnterFrame;
    } else {
    target._y += Math.ceil((target.destY-target._y)*(speed/100));
    ps. the instance name of my mask is Work_mask (movie
    clip)

    ok note sure if i got what your saying but il give it a try.
    you have a background image and a mask made up of 72 squares
    (1 symbol, 72 instance of that 1)
    if thats right. i just tried it also all i is 1 box working.
    mainly cause there symbols. so how do you do 72 easy make it 1
    symbol but not the easy way your ganna have to make it the long way
    ill try to help...
    go from the stage into the mask symbol so you can see the
    background image. now instead of having 72 instances just copy
    frames and make 72 layers then move them to fill screen. making
    your checked desolve look possible.
    if thats not what your looking for please put more info so
    someone else or i can help thanks..

  • Why am I suddenly getting a strange banding effect when printing.

    I've been using Adobe Photoshop CS5 for the last two years and I've started getting a strange banding effect on my prints.  Photoshop seems to be the only application that is effected.  I print on a large format printer, my drivers are up to date, if I print a smaller size and fit to page (test print) the print is ok.  When I print to full size I start having the problem. 

    However, when something starts acting weird suddenly, that is usually a sign to re-set your Photoshop preferences.
    Preferences files vary by name and location for each version of Photoshop.
    To re-create the preferences files for Photoshop, start the application while holding down Ctrl+Alt+Shift (Windows) or Command+Option+Shift (Mac OS). Then, click Yes to the message, "Delete the Adobe Photoshop Settings file?"
    Mac OS
    Important: Apple made the user library folder hidden by default with the release of Mac OS X 10.7. If you need access to files in the hidden library folder to perform Adobe-related troubleshooting, see How to access hidden user library files.

  • Cannot color image after applying "Graphic Pen" effect.

    I open a .dng file which was in greyscale. Then converted it to RGB. Applied the effect Graphic Pen. Added a new layer, fill it with red, changed mode to Overylay, and when I tried merging down, or saving as a jpeg, it converts the image right back to B&W. I even tried changing my brush to red and Overlay mode, it just won't let me color the image at all. I've tried hue/saturation, and when I try to save the adjustment, it converts right back to B&W. Any help? Here are some screen shots.
    This is after merging down.

    Hue/saturation has the same problem as overlay, but you can colorize the image checking colorize and by moving the saturation and lightness sliders to the right.
    Did you try the different blending modes with a color fill layer?
    It really depends on the effect you want.
    For example you could set the foreground color in the toolbox to Red and the background color to White.
    Then when you use the graphic pen filter the black pixels will be red and the white pixels white.
    The colors for the sketch filters in the filter gallery are dependent on the colors you have set in the toolbox.
    If you planning on using the image for the web, you could reduce the pixel dimensions of the image (Image>Image Size)
    and then the overlay mode would work for colorizing the image if that's the effect you like.
    The reason that works is that resizing introduces a little bit of blurring (for lack of a better word) around the edges.
    Message was edited by: R_Kelly

  • How do i rubber band audio?

    i am tryin to bleep out swear words, and i have applied tone, but need to rubber band the bits of audio to lower them slightly, as i can still clearly hear the words coming through, i dont even know how to see the rubber banding on the timeline

    For your bleeping, though, you might do better by "cutting in" the tone right over the offending word
    Lock down your video track, use In and Out to define the bad word in the audio track and Overwrite the bleep .. that way you are getting rid of the voice endtirely

  • Scrolling in chromium and image panning in geeqie suddenly slow

    I have a laptop with a Sandy Bridge processor (Intel Core i7 2670QM with Intel HD3000 integrated graphics). Before today, scrolling long web pages in chromium by clicking on the scrollbar, holding and moving the mouse was instantaneous, and panning (moving) large photos in GQview was instantaneous as well, albeit with tearing present (which I don't mind in those particular cases, I only care about responsiveness).
    Today it suddenly changed. Fast scrolling in chromium lags significantly (it's elastic, if you know what I mean), same for image panning in GQview, though with no tearing present.
    I haven't the faintest idea as to what could possibly have changed. I then installed Geeqie to see if it would change anything, and it did: panning was again instantaneous, with tearing. Then a bit later, with no modification on the system whatsoever, it started lagging again. So I rebooted, started X and launched Geeqie immediately to make sure that no other software could influence X or anything, but it was still laggy.
    I don't know how to reproduce the change either way. Something is obviously escaping me, but I have no clue what. My system is up to date (pacman -Syu). I'm running Openbox with compositing disabled. Any ideas?
    Last edited by apaige (2012-01-04 14:15:58)

    Some additional details: firefox 9.0.1 (downloaded from Mozilla's FTP, not Arch Linux's package) scrolls instantaneously, and image panning in The GIMP is instantaneous as well.
    GTKPerf results for 1000 iterations:
    GtkPerf 0.40 - Starting testing: Wed Jan  4 16:24:50 2012
    GtkEntry - time:  0.28
    GtkComboBox - time:  4.02
    GtkComboBoxEntry - time:  1.79
    GtkSpinButton - time:  0.32
    GtkProgressBar - time:  0.18
    GtkToggleButton - time:  0.33
    GtkCheckButton - time:  0.31
    GtkRadioButton - time:  0.77
    GtkTextView - Add text - time: 50.30
    GtkTextView - Scroll - time:  1.90
    GtkDrawingArea - Lines - time:  6.58
    GtkDrawingArea - Circles - time:  7.87
    GtkDrawingArea - Text - time:  4.51
    GtkDrawingArea - Pixbufs - time:  0.84
    Total time: 80.00
    Last edited by apaige (2012-01-04 15:28:13)

  • Cannot import images/movies to garage band 9

    Trying to import images/movies into garage band but i keep getting the message saying that i need version 5 to do it. I have Garage Band 9.
    Tried to do this on a nother mac and that worked perfectly. Is there any solutions to this?

    bump.

Maybe you are looking for