Quick question (why is this happening)

i'm working on a draggable background with boundaries and had
a quick question for you guys that know way more than me about
actionscript... any help will be greatly appreciated.
i have a draggable movie clip and set up boundaries for it,
and they all work except for when you drag the MC to the extreme
left/bottom corner... the left boundary stops working as soon as it
hits that direct corner..
see for yourself:
http://www.liquid-creative.com/testing.php
my code is below... any thoughts?

hm... well I think what you really need to get out of the
dragging step is the vector of the object when the object is
‘released’?
I suppose you could use the actual startDrag()/stopDrag
methods to do the dragging work for you and then add on to it.
Perhaps while the mouse is moving, keep track of (and update) the
values/vector of where the mouse was 1 ‘movement unit’
before (1 frame before I presume), then when stopDrag() is called,
at the same spot, subtract the current vector from the vector
stored and use the result for calculating inertia.
(Note that I don’t have flash in front of me so this
actually coming from my head, -someone may have a better
method)

Similar Messages

  • Reinstalled Itunes and how have 4 to 8 copies of all music (7,500). This has happened before, called apple, sorry you will need to delete each. question why does it happen and can it corrected without one song at a time

    reinstalled itunes and have 4 to 8 copies of each song. This is the third time has happened over last 3 years. Called Apple, they state must delete extra songs manually, is there a quicker way and why does this happen. I have Iphone, can I delete all music and copy from phone?

    Man I hear your pain, same happened to me. I never worked out a way of deleting all the duplicates and I'm guessing it occured as you imported your library more than once.
    However it is possible to delete everything and copy from an ipod using different utilities out there on the net, try googling ipodutil as an expample, although I don't know if this works from an iphone but it worked for me copying everything back from an ipod into itunes.

  • HT3775 everytime i m trying to play any movie be it an AVI file or MPEG file, it says quick time cannot play this file. why is this happening ?

    everytime i m trying to play any movie on Quick Time be it an AVI file or MPEG file, it says quick time cannot play this file. why is this happening ? Abhijit

    Follow the steps to identify the video and audio
    format, then look in the list for a codec.
    http://insanityflows.net/archive/index.php?title=Quick
    Time
    JulieJulieJulie,
    which file do we download? There are five types of file:
    XviDComponent_Srcv0.5.1
    XviDComponent_Binv0.5.1
    XviDAvi_Import_Preview4src
    XviDAvi_Import_Preview4ppc
    XviDAvi_Import_Preview4intel
    Thanks

  • IPad Air with iOS 8.02 freezes and blue screen appears. What should be done ? Why is this happening ?

    IPad Air with iOS 8.02 freezes and blue screen appears. What should be done ? Why is this happening ?

    If nothing else works, you might try this one. It has worked for many others ...
    Use iTunes to do a reset to factory default condition. Always be sure to do your backups before fiddling with your iPad. You might do both the iCloud and the iTunes backup, just to be sure!
    Back up and Restore your iOS Device with iCloud or iTunes
    http://support.apple.com/kb/ht1766
    iTunes: About iOS Backups
    http://support.apple.com/kb/ht4946
    Use iTunes to Restore your iOS Device to Factory Settings
    http://support.apple.com/kb/ht1414
    Various issues from many different users have been solved by this. I've lost count on how many have been helped by this, so far. But, it doesn't mean EVERYONE will be helped, but I've seen a whole lot. You can only try and see ...
    iPad 2 and iOS 8.0.2 Problems
    For all iPad 2 owners, this is an important solution for you! These problems result from long-term use, continuous upgrades, corrupted files and various glitches that happen over this long term use. You just need to get your iPad 2 back to FACTORY FRESH CONDITION to start out clean!
    Here's one person's solution which will help a lot of iPad 2 users!
    keithfrommariettaOct 12, 2014 3:25 PM Re: IPAD2 very slow after IOS 8 upgrade
    Re: IPAD2 very slow after IOS 8 upgradein response to pacoKAS
    SOLVED:  IOS 8 Issues on iPad 2:
    I just returned home from a visit to the Genius Bar. Like you and many others, when I upgraded my iPad 2 to IOS 8, it became practically unusable. It was VERY slow, lagged whenever trying to to do anything. Lots of screen freezes and apps spontaneously crashing. I was convinced that the processor on the iPad 2 just couldn't handle the new IOS and I went in to see about restoring to IOS 7.
    Thankfully, I was hooked up with a very sharp guy at the bar. The problem is not with the OS, it is with it being an *upgraded* OS. He used the analogy of when you had an older Windows computer and how over time (and over upgrades), they just tended to get slower and slower because of all of the garbage that was carried forward in the upgrades. At those times (and if you've ever had a Windows computer, you get this), the only thing that would speed it up would be to wipe the machine and do a fresh install of the current OS and then reload your apps, and the viola, everything would be fast again. Well, it turns out that IOS can suffer the same problems.
    THE FIX:  FIRST, be sure you have a current iCloud backup of your device.  Connect your iPad to a computer that has a clean fresh copy of IOS 8 on iTunes (this is best done with a computer other than the one that you sync your device to because you DO NOT want to restore it from a back up just yet). Ideally, if you do this at an Apple store you'll be assured of the right version there and someone to answer any questions you might have along the way. You then hold the power and home button down to hard-reset the device and continue to hold them down until it reboots into recovery mode. You then follow the instructions on the computer to reinstall the OS on the device (which wipes everything from it and then reinstalls a clean copy of it). Once this is done (which only takes about 15 minutes), your device will reboot and ask you to set it up. Answer the questions about language, location, etc. and continue until it asks you to log into your iTunes account. Once you do that, it will ask if you want to either 1) Set it up as a new device, 2) Restore from iCloud, or 3) Restore from iTunes. Choose (2), restore from iCloud. This will ensure that it brings down "clean" copies of all of your apps and preferences rather than the potentially corrupted ones that might reside in your iTunes backup. That's it! It will take a few hours depending on how much data and apps you have, but I am happy to report that my iPad 2 is now running IOS 8 and it's running as fast as it ever did when it was brand new!
    To sum it up, this process 1) Wipes your device and the garbage causing your problems, 2) Loads a clean and bug-free version of IOS 8 to your device, and 3) restores your apps and data so that it looks just like it did before the wipe, with the exception that it works now!  :-)
    Note also that by following this process you don't have to go through the painful and laborious process of reloading all of your apps, data and/or settings. iCloud takes care of all of that for you.

  • My Boyfriend has lost all of his contacts on his phone after down loading the new iphone soft wear why would this happen and how can he get them back                          how can you get back your contacts after down loading the new iphone soft wear

    My boyfriend has lost all of his contacts on his phone after downloading the new iphone softwear. why would this happen and how can he get it all back

    You don't have to post the same question at one minute intervals.  Somebody will answer it, but perhaps not in 60 seconds.

  • I've downloaded itunes 12.0.1.26 3 times after the update and it still doesnt work! Everytime i start it up it comes up not responding, why is this happening? how can it be fixed? I currently cannot use itunes!!!!!!

    I've downloaded iTunes 12.0.1.26 3 times after the update and it still doesn't work! Every time i start it up it comes up not responding, why is this happening? how can it be fixed? I currently cannot use iTunes!!!!!!

    Hey High Socks,
    Thanks for the question. If I understand correctly, iTunes isn't working when you try to launch it. I would recommend that you read this article, it may be able to help you isolate or resolve the issue.
    iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues - Apple Support
    Thanks for using Apple Support Communities.
    Have a great day,
    Mario

  • Iphone 6 automatically turn on even not connect to charger, why would this happen and how to solve it?

    iphone 6 automatically turn on even not connect to charger, why would this happen and how to solve it?

    I'm not an apple expert or anything, but after hearing this from a coworker (and doing a quick google search) many of the generic chargers do not work in the 5s (especially after the most recent update.) I'm thinking this may be the problem in your case...the charger is not working so the phone just needs a good charge from either an apple certified charger or a generic that will actually work with the phone. I've read some people are able to pull the cable out, turn it around and then plug it back in facing the opposite direction to get it to work. Many have reported, however, that even when this remedies the cable issue, its still won't charge the phone while it is completely dead (which is likely the case since it won't power on at all.) So if you haven't fixed your problem by now, go buy a new charger and see what happens. You might be able to go into and apple store and borrow a charger there for a few minutes to see if this actually IS the problem. That way you don't waste your money before buying.

  • I have a lot of contacts in my phone that are not mine. In addition, my contacts are showing up on peoples devices that I do not associate with. Why is this happening?

    I have a lot of contacts in my phone that are not mine. In addition, my contacts are showing up on peoples devices that I do not associate with. Why is this happening?

    Hey Raffiecat,
    Thanks for the question. If your iPod is setup to manually manage content, you can add content from multiple libraries:
    Managing content manually on iPhone, iPad, and iPod
    http://support.apple.com/kb/ht1535
    When manually managing content, you can add content from multiple libraries to your iPod or iPad. Even when manually managing music, some content may be available from only one library at time. This includes all content on iPhone and video content on iPod and iPad.
    You can also learn which content you can import to your new computer from your iPod:
    iTunes: Transferring media from your iPhone, iPad, iPod touch, or iPod
    http://support.apple.com/kb/HT1209
    Or, if you still have access to the previous computer, you can transfer your iTunes Library:
    iTunes: How to move your music to a new computer
    http://support.apple.com/kb/HT4527
    Thanks,
    Matt M.

  • I recently restored my itunes library and many songs imported from CD  are now marked mpeg audio stream.  I can't play them.  Why did this happen?

    I recently restored my itunes library and many songs imported from CD are now marked mpeg audio stream.  I can't play them.  Other imports are just fine.  Why did this happen?

    If there is a cure you may find the folks over here have more information for you. Repost your question here:
    https://discussions.apple.com/community/itunes/itunes_for_mac?view=discussions

  • TS1702 I'm getting an " application" cannot be downloaded at this time message. With any app I try to download/update. Why is this happening and what can I do about it ?

    I'm getting an " application" cannot be downloaded at this time message. With any app I try to download/update. Why is this happening and what can I do about it ?

    I am fighting the same error. I gifted an album to mydaughter and she got that when she tried to cash it in. iTunes support was quick to respond saying the would refund in 5 to 7 days. That was 13 days ago and they will not respond now. Try to contact support to see if they can help. Also be sure you do not have restrictions enabled in settings. If your parental controls are set to block certian content ratings this will give you an error as well.
      You could also try to purchacs through the iTunes program on Mac or PC. Check your restrictions there too. If your device is company owned your employers may have restrictions enabled preventing certian apps from being installed. Hope that helps.
               E

  • I am having problems sending messages.. Once I send it, it just beeps and says it failed to send and I have perfectly good service. Why is this happening??

    I am having problems sending messages.. Once I send it, it just beeps and says it failed to send and I have perfectly good service. Why is this happening??

        Hello llm007!
    That is quite a strange issue. What make & model phone do you have? When did this begin? Are you able to make & receive calls? You can troubleshoot this issue http://vz.to/12TLCsR on our website to get things working as quickly as possible.
    Thank you,
    MichelleH_VZW
    Follow us on Twitter @VZWSupport

  • When ever i turn cellular data off then back on my mobile internet doesent work why does this happen?, when ever i turn cellular data off then back on my mobile internet doesent work why does this happen?

    when ever i turn cellular data off then back on my mobile internet doesent work why does this happen?, when ever i turn cellular data off then back on my mobile internet doesent work why does this happen?

    You only asked the question 4 times.  You have to repeat it at least 10 times to get an answer here, and then only if you supply useful info about your phone.

  • Starting regular apps like google chrome is taking a lot longer. Why is this happening?

    Starting regular apps like google chrome is taking a lot longer. Why is this happening?

    Hey judybh,
    Thanks for the question. After reviewing your post, it sounds like apps are slow to load or the Mac itself is slow. There are a number of potential causes that you can check by following this article.
    OS X Mavericks: If your Mac runs slowly
    http://support.apple.com/kb/PH13895
    Thanks for using Apple Support Communities.
    Have a nice day,
    Mario

  • My apple password stopped working this morning and I had to reset it.  Why did this happen?

    When I got up this morning my apple password no longer worked and I had to reset it.  Why did this happen?  Do I need to be worried about my account being compromised?

    Only other users here. Apple is not here. Apple does not answer questions here. We have no idea about why the password stopped working.

  • I keep trying to get onto appstore and its says my apple ID is disabled. Why is this happening and how can i fix it?

    keep trying to get onto appstore and its says my apple ID is disabled. Why is this happening and how can i fix it?

    This forum is for questions from those managing sites on iTunes U, Apple's service for colleges and universities to post educational material in the iTunes Store. You'll be most likely to get help with this issue if you ask in the general iTunes forums.
    Regards.

Maybe you are looking for

  • Not able to un lock the pernr after using HR_MAINTAIN_MASTERDATA

    Hi, We using HR_MAINTAIN_MASTERDATA to create new employee.its working fine, we need to create A008 relation then we try to unlock the employee id using HR_EMPLOYEE_DEQUEUE not able to unlock.Ii tried all the other Function modules used for unlock th

  • Weird...please help!

    I dont know if this belongs here or the ipod forum but I believe it belongs here because of itunes. Okay, everytime I plug in my ipod to update it, i get this message saying "Itunes has encountered a problem and needs to close." and when I went to se

  • Oracle 11g on Oracle Unbreakable Linux

    OK, I have installed 11g on a new installation of Oracle Enterprise Linux 5. Everything seemed to go OK except the swap space was set to 2Gb and 11g wanted 3.4Gb. The documentation I found on ONT said that was fine and normal as the default install g

  • BC4J - Generation of complex component

    I have a model like so: 1: Person with a pk 2: Customer with a pk and a fk from person 3: CustomerProject with a pk and two fk one from customer, one from project 4: Project with a pk 5: ProjectTask with a pk and a fk from Project and a fk from Task

  • Blackberry curve 8520 Reload Software:552

    Hello guys I have been looking for this problem and how to fix it, but I found out that they all never helped or don't have many details ..Etc  OK let me start from the problem : It was this morning when I was out sitting and my bbm didn't work so I