Resize one side of sprite and interrupt tween

Hey,
In my Actionscript 3 program I would like to resize a sprite, but only one one side. The bottom position, left side and right side shouldn't change, only the top (stretching). However, I have no idea how to accomplish this.
The second problem that has to do with resizing the sprite, is that I would like to interrupt the resizing with a keyboard event. When the sprite is resizing, a user should be able to press a button. This event should be excecuted before the resizing (tween?) has finished. Is this possible?
Hopefully someone can help me.
Thanks in advance

At the moment a sprite, but I'm not limited to that choice.
And it is indeed created by the drawing api, but this is also open for discussion. Do you have an idea how to accomplish what I desire?

Similar Messages

  • After resizing a photo and viewing in album picture offsets to one side and crashes ios7

    After resizing a photo using the edit function , viewing the photo in camera roll
    Offsets the picture to one side so its not in the middle , zoom into the pic and zoom back out
    The black borders appear at the top and bottom and all looks in centre
    But when i flick back and forward through my pics and get back to my
    First pic i resized it offsets to one side and the camera roll crashes and freezes

    Since you can't drag a photo when viewing in the large mode you can try the following:
    1 - make sure the Info drawer on the right side is displayed.
    2 - click on a photo and hit the Space bar.
    3 - click on the Full Screen button at the lower left.
    Now you're in full screen mode with the Info drawer at the right.
    4 - either set the rating of the photo to one that you can use to group in a smart album (Command-1 for 1 star, Command-2 for 2 starts, etc.) or add a keyword that can also be used to group the photos in a smart album.
    5 - use the right or left arrow keys on the keyboard to move to the next or previous photos.
    6 - when complete go to the smart album and drag the photos into a regular album.

  • How do I add HD space on one side and take away from the other?

    Hi All,
    I'm looking for some help and I have faith some people here can assist.
    I recently used Apple's Boot Camp to put Windows XP on my MacBook Pro. So, I currently have 1 hard drive that is partitioned into two -- one for the mac, and the other for the PC.
    I would like to add more hard drive space on the MAC side of things, and take away from some of the space on the PC side. What is the best way to go about doing this?
    I've been told a program like Partition Magic or something might work...but I'm looking to see what people have done in the past and what the most successful route would be. I'm sure I'm not the only one that has done this.
    Thanks so much,

    Hi,
    WinClone can do this http://twocanoes.com/winclone/
    And in the WinClone FAQs https://www.twocanoes.com/forums/viewtopic.php?t=515 - Section "My current Windows partition is the wrong size, and I want to make it larger. How do I do this?" you find a how-to.
    Some payable apps like iPartition and/or Drive Genius also claim to be able to resize.
    Regards
    Stefan

  • Recently downloaded a whole cd on itunes. However, as it was downloading one of the songs was interrupted and didn't fully download. How do i get the whole song without having to pay again?

    I recently downloaded a whole cd on itunes. However, as it was downloading one of the songs was interrupted and didn't fully download. How do i get the whole song without having to pay again?

    Depending upon what country that you are in (music can't be re-downloaded in all countries) then try deleting the incomplete track from your iTunes library and redownload it via the Purchased link under Quick Links on the right-hand side of the iTunes store home page on your computer's iTunes.
    If you aren't in a country where you can re-download music then you will need to contact iTunes Support - try the 'report a problem' link from your purchase history : log into your account on your computer's iTunes via the Store > View Account menu option and you should then see a Purchase History section with a 'see all' link to the right of it ; click on that and you should see a list of your purchases ; find that song and use the 'Report a Problem' link and fill in details about the problem (iTunes support should reply within, I think, about 24 hours).
    If the 'report a problem' link doesn't work (it's been taking some people to this site on a browser instead of showing a form in iTunes) then you can try contacting iTunes support via this page : http://www.apple.com/support/itunes/contact/- click on Contact iTunes Store Support on the right-hand side of the page.

  • HT204053 What are the pros and cons of 1) choosing to use the SAME Apple ID for iCloud services on one side, and purchases on the iTunes Store, App Store, and iBookstore, on the other side; or 2) to have and use two separate Apple Ids for these "two sides

    All is in the title, so I repeat it below with a better identation.
    What are the pros and cons of
    1) choosing to use the SAME
                                                  Apple ID for iCloud services on one side, and
                                                  purchases on the iTunes Store, App Store, and iBookstore, on the other side; or
    2) to have and use two separate Apple Ids for these "two sides"?
    P.S.
    I have loads and loads of free podcasts in iTunes in my iMac, that are certainly more thant the 5 gigas the iCloud provides for free, so I don't want those to go to the cloud. But this is perhaps a different question...
    Also need to mention that I have itunes on a mac, a pc and an iphone.
    Sorry to look so silly with this question, but I don't get the "big picture".

    You need to create a user account for your wife (or yourself depending on who has the current user account). When syncing, each of you should sign in as a separate user, login to iTunes and then sync. I had this problem when my sister got an iPhone. When we did her initial sync, everything on my iPhone showed up on hers. Apple gave me this solution.

  • My iPad keyboard divided in half with one side on the left side of the tablet, the other on the right side and an equal blank space separating them.  The entire keyboard also became smaller.  How can I get it back to normal?a

    My iPad keyboard (spontaneously?) divided in half with one side on the left side of the tablet, the other on the right side and an equal blank space separating them.  The entire keyboard also became smaller.  How can I get it back to normal?

    You can also turn OFF Split Keyboard
    Settings>General>Keyboard>Split Keyboard>OFF

  • I have an iPod Video. (30GB 5th gen) The headphone jack only works if I push the headphone cable input to one side and hold it t here. If I leave it alone it either doesnt play at all or I hear a crackling sound. Any suggestions? Thanks.

    I have an iPod Video. (30GB 5th gen) The headphone jack only works if I push the headphone cable input to one side and hold it t here. If I leave it alone it either doesnt play at all or I hear a crackling sound. Any suggestions? Thanks.

    There are threads ongoing on similar topics. This is not a suitable topic for this forum.
    I will pass on any comments from the other threads and original post in this one, but I'm closing this topic and any further petitions like this as it will just result in "Creative-bashing" and unproducti've comments.
    Cat

  • On the iphone 4 when you have headphones plugged in and only one works with music and but when you make a call both sides work what can you do

    on the iphone 4 when i plug in my head phones to liston to music i can only hear out of one side and when im on a call with the same headphones i can hear out of both sides

    Submit your feedback to Apple requesting such a feature:
    http://www.apple.com/feedback

  • I recently downloaded a whole cd on itunes. However, as it was downloading one of the songs was interrupted and didn't fully download. How do i get the whole song without having to pay again?

    I recently downloaded a whole cd on itunes. However, as it was downloading one of the songs was interrupted and didn't fully download. How do i get the whole song without having to pay again?

    Go to iTunes Store > Purchased ( in Quick Links on the right) and redownload

  • Earphone/headphones when plugged in, only plays one side/is the jack broken and if so, is this an expensive fix?

    I have tried 6 sets of headphones and the right side of the music doesn't play. I think that the connector is bad. Is this expensive to fix?

    Check the jack recepticle for any debris that might interfere with the connection.
    Also, check the Settings app > General > Accessibility > Hearing to see if Mono is tunred on and the mono balance set to one side of the other.
    Lastly, try a rest: Simultaneously hold down the Home and On buttons until the iPad shuts down. Ignore the off slider if it appears. Once shut down is complete, turn the iPad back on using the On button. In some cases it also helps to double click the Home button and close all apps from the tray before doing the reset.

  • I have a iphone 4s and i can't get the charger to come out of the phone its stuck on one side and will not come out

    I Have a iphone 4s and can't get the charger to come out...it was hard to get out the time before but i thought it was just me so then i charged it last night tryed taking it out and it is stuck on one side and will not come out...any suggestions on how to get it out?

    You will just have to carefully pull harder. Push the other side back in so it is aligned, then pull it straight out.

  • Panoramas in CC 2014 are darkened on one side and too light on the opposite side.

    I have both Photoshop CC and Photoshop CC 2014 on my MacBook Pro.
    When sending images from Lightroom for merge ring to panorama and CC 2014 is open, the final product is different from what happens in the CC version.  The final pano is severely darker on one side and somewhat too light on the opposite side of the panorama.
    I should mention that I used Lightroom to color corrected the images used. I used RAW images from my Canon Rebel xTi and all the images are equally lit (or close to it.)
    If Photoshop CC is open, and I send the images to merge to Panorama from Lightroom, the final pano is fine and consistent in lighting across the panorama.
    Anyone else experiencing this issue?
    Here are my specs:
    Hardware Overview:
      Model Name: MacBook Pro
      Model Identifier: MacBookPro11,3
      Processor Name: Intel Core i7
      Processor Speed: 2.3 GHz
      Number of Processors: 1
      Total Number of Cores: 4
      L2 Cache (per Core): 256 KB
      L3 Cache: 6 MB
      Memory: 16 GB
      Boot ROM Version: MBP112.0138.B02
      SMC Version (system): 2.19f3

    I am having this exact problem and it is driving me crazy. I have to keep switching workspaces to see any, but sometimes they all disappear.
    Restarting AI does not seem to make a difference.
    Any help or tips, other than uninstalling and reinstalling would be appreciated.

  • Count moving object (Inter the ROI from one side and leave ROI from other side)

    Hello All
    I want to design program that can counting moving object that inter ROI from one side and come out from the other side, I want to give each object ID number
    I have design a program that compare between object distances from one frame to the next frame, but the program efficiency is very low
    If any one can give me a sample code that I can use or modify it to suite my application

    Hello,
    you will find the code in the attachment (saved for LV2013). There is a longer delay inside the loop, remove it for efficiency.
    Roughly measuring the time to read an image, the processing takes ~8 ms on my computer (~500x200 image resolution). That is ~125 samples/images per second. Is this not fast enough for you? Considering better image resolution, the time is of course increased.
    My specifications:
    Core i7 3632QM
    6 Gb RAM
    Win 7 x64 (Labview x86 though).
    Best regards,
    K
    https://decibel.ni.com/content/blogs/kl3m3n
    "Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."
    Attachments:
    IDMovingObjects.zip ‏64 KB

  • When panning full left and right in logic pro 9, how can i stop one side from bleeding into the other?

    I'm creating a Click track for live performance. I Have 3 audio tracks panned full left (-64) and a Click track panned full right (63) but when I play the track they bleed into each other. If anyone knows a way around this that'd be great

    Eddie,
    I just ran a test on my G5 Logic system (Logic 9.02) with an internal RME PCI 8in/8out Audio Card and I get perfect separation bouncing to a stereo audio file using standard panning. Click on one side and a couple of crunchy guitars on the other. Each side is completely separate.
    So, it seems to point to your hardware unless you have some other audio routing that we've missed.
    I'm re-doing my setup so I may try a couple of other tests as I go along.
    pancenter-

  • I have an Ipod, and when I plug in my head set only one side play's; unless I play with it. Please Help

    Help please I have a Ipod touch, and when I plug in the head set only one side is playing

    - Try cleaning out/blowing out the headphone jack. Try inserting/removing the plug a dozen times or so.
    Try the following to rule out a software problem
    - Reset the iPod. Nothing will be lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup
    - Restore to factory settings/new iPod.
    - Make an appointment at the Genius Bar of an Apple store. Seems you have a bad headphone jack.
    Apple Retail Store - Genius Bar
    Apple will exchange your iPod for a refurbished one for this price. They do not fix yours.
    Apple - iPod Repair price
    A third-party place like the following will replace the jack for less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
    Replace the jack yourself
    iPod Touch Repair – iFixit

Maybe you are looking for

  • "Downloads" and "Documents" Stacks in the Dock  10.6 Snow Leopard

    Is there a way to get the little blue folder icons that say "Downloads" and "Documents" to appear on the stacks in the dock instead of a thumbnail type icon of the first document or download in the stack? 10.6 Snow Leopard.  The Apple Web page descri

  • How to use shared variables with native c programs

    Hello What is the way to use shared variables with native c programs? I have a c/c++ program that uses the NIDAQmx C-API to perform measurements. Now I want to communicate to a LabVIEW program via shared variables. Is there a C-API for shared variabl

  • How can I add metadata to a MTS-file in Adobe Bridge?

    Hello, I want to add some tags to my Videos. Those are MTS-files. Is this possible in Bridge? How can I do this? Or do I need another programm for this? Thanks for your help!

  • Best Method for converting a 16x9 video to a letterboxed 4x3 DVD

    I'm not quite sure what would be the best method for this.  My client is using a 4x3 screen and SD projector at a large meeting, and they want me to just create a DVD that is letterboxed.  I have one Premiere CS5 project that's 1920x1080, and another

  • IPod touch is fully charged all the time

    Hi! I have a Sony FM/AM Clock Radio (Model ICF-CS10iP) that plays iPod/iPhone, and when I connect the iPod to the radio in order to play it, the battery is recharged very fast, so that my iPod is always fully recharged. In other words, I don't have t