Please can anyone solve this problem...it's taking over my life!!

Hi, I hope someone can hep me with this as it's driving me crazy!!...I have a magnify glass effect for my main movie and everything is working great, except I need the magnify glass to stay within certain boundaries on the stage...basically when someone moves there mouse away from the flash movie in the centre of the page in a browser, it cuts off the glass and it looks funny (see www.zoeglazebrook.co.uk)...
Kglad has very kindly donated many hours to trying to solve this but it still isn't working unfortunately.
This is the code on the main timeline, and I just need to add in 125, 127, 1095, 775 coordinates in there to make it not go past these points on the stage:
var moveGlass:Number;
magnifyingGlass.onPress = function() {
    moveGlass = setInterval(startGlass,1);
function startGlass() {
    magnifyingGlass._x = _root._xmouse;
    magnifyingGlass._y = _root._ymouse;
magnifyingGlass.onEnterFrame = function(){
     this.largeobject._x = (this._parent.original._x-this._x)*2;
     this.largeobject._y = (this._parent.original._y-this._y)*2;

I'm not sure I understand your question.
I think you are asking about how once you start clicking it doesn't go off? You can add something like this:
magnifyingGlass.onRelease=magnifyingGlass.onReleaseOutside=function(){
delete this.onEnterFrame;
If I'm following you correctly. Or not.
I'm actually more annoyed by also having the pointer still show. So you might add a Mouse.hide() when they press and a Mouse.unhide() when they release. BTW, you need the onReleaseOutside because if you are limiting where the magnifying glass can be dragged then the pointer might not be above the glass when they release. Most people forget the onReleaseOutside and it causes a lot of problems.
Also I'm confused about your confusion of "...whether it's better to have a start drag on there instead."
startDrag() does just that. It takes the item that is referenced and makes it follow the pointer. And it also gives you an easy way to limit the bounds of that dragging to a rectangle. However you can only drag one thing at a time using startDrag and there is no way to do other things as you drag.
In this case you need to also reposition the large view at the same time based upon the position of the pointer. Therefore you need some other kind of loop that says, "every little bit of time make the glass match the mouse coordinates and also align the large image." You could probably make some kind of combined solution that starts the magnifying glass moving with startDrag and uses an onEnterFrame to position the large view, but why make it more complex than it needs to be?

Similar Messages

  • Hi all, I upgraded my MBP to Lion , but on the screen where i need to type my password, click  on my photo and it does not appear the place for me to type my password and it stay stuck there. Can anyone solve this problem for me?

    Hi all, I upgraded my MBP to Lion , but on the screen where i need to type my password, click  on my photo and it does not appear the place for me to type my password and it stay stuck there. Can anyone solve this problem for me?

    Reboot the machine holding Command and r keys down, you'll boot into Lion Recovery Partition
    In there will be Disk Utility, use that to select your Lion OS X Partition and Repair Permissions.
    After that is done reboot the machine and see if you can log in.
    If not repeat the above steps to get into Lion Recovery, get online and reinstall Lion again, it will overwrite the installed version and hopefully after that it wil work.
    Reboot and try again.
    If not follow my steps to create a Snow Leopard Data Recovery drive, then option boot from it and grab a copy of your files off the machine.
    Then reinstall all your programs onto the external drive like setting up a new machine, then use Disk Utility to erase the entire internal boot drive (select the drive media on the far left, not the partiton slightly indented) format Option: GUID , 1 partition OS X Extended and then use Carbon Copy Cloner to clone the external to the newly formatted internal drive. Once that is finished reboot and disconnect the external drive.
    Once you go that, boot into Snow Leopard and update to 10.6.8, use the AppStore and option click on Purchases and download Lion again and install.
    Lots of work, but there is no Lion disks.
    https://discussions.apple.com/message/16276201#16276201

  • I have set a passcode for my iphone and later I forgot it, and I tried it so many times but it was not correct now the iphone is disable it doesn't work in tune, can anyone solve this problem??

    I have set a passcode for my iphone and later I forgot it, and I tried it so many times but it was not correct now the iphone is disable it doesn't work in tune, can anyone solve this problem??

    You can solve this problem. Just follow these instructions:
    http://support.apple.com/kb/ht1212

  • Seriously. Can anyone solve this problem?

    HI, I'm still struggling with this problem.
    I have reinstalled the software, all the CS4 programs work fine and Premiere Pro does too apart from the problem that when I export, it gives me the menu to choose the output format, the location to save to etc etc. I then click export and the media encoder doesnt open.
    I opened the task manager and nothing appeared when I tried to export so...?
    Help this is killing me. I've made an entire film that I cant export

    What do you mean by installing web browsers?
    I didn't say anything about installing web browsers. I said to be sure not to have anything open when you run the CS4 installer--particularly web browsers--as they frequently result in failed installations. Adobe has acknowledged this but done nothing to fix the situation presently. It does not sound like this is the problem, however.
    Is it possible that cleaning the scripts has effected the copy of CS4 MC I had on my hard drive? If I delete the copy and try putting it onto my PC again it will remedy those problems? It doesnt seem to like anything about the copy of CS4 I have now, and before this incident I reinstalled it maybe 4 times for various reasons without any problems?
    I think you're getting confused. We're not talking about "cleaning the scripts"... we're talking about a script provided by Adobe that is supposed to wipe all traces of a previous installation of the CS4 suite, that were not removed during a standard uninstallation routine. If you tried running the Clean Script while you still had CS4 installed, chances are fairly high that you've created more problems for yourself. The Clean Script should only be run after a complete uninstallation, and from the sounds of it, you did not do this. I'm assuming you're running Windows; you need to go to your Control Panel, and use Add/Remove Programs or Uninstall a Program (depending on your Windows version) and uninstall the CS4 suite. If it doesn't show up in the list of installed programs, you've got bigger problems, because now parts of the suite are still present on your system, but there is no way for the uninstaller to remove them. The Clean Script--run properly--might help, but I can't say for sure. At this point, your only recourse might be a complete wipe of the computer, operating system and everything, and start over from scratch. Not good news, I realize, but the CS4 suite is a massive set of programs that sends out tendrils deep into many parts of your hard drive, and it can't simply be deleted like a file.

  • Its about Orkut whenevr i try to upload photos it shows that "it will appear soon" bt i cant if i try with google crome within minute it appear n many problem occuring with same website. can anyone solve this problem?

    m facing problem with photo uploading n search in orkut instead of Firefox Google crome perform better, well m huge fan of Mozilla Fire fox.
    == URL of affected sites ==
    http://www.orkut.in

    I have recently started having this problem in PSE8. The Adobe workaround
    did work, but I don't fancy having to re register each time I use it.
    What I have discovered is that it's nothing to do with the image metadata as it occurs before any image is opened.
    It SEEMS to only occur if you use file/open with to open an image in the editor - IE start PSE with that command.
    If you close elements down, and start it using programs/PSE/Elements (or your desktop shortcut) - the panorama feature magically works.
    Each time I've opened the editor 'automatically' using image/open with, it seems to create the problem.
    Hope this helps

  • My applications disk won't install. Can anyone solve this problem?

    I've recently bought a refurbished MacBook Pro, however upon trying to install the applications using the applications disk, it repeatedly states 'installation failed' and advises me to contact the service provider. I have already installed the OSx Lion without any issues, however the issue with the applications disk remains unresolved. It appears to begin the installation process each time with a loading bar, but then always eventually says 'error installation failed'.
    I really really want to use the iLife applications that come with the MacBook Pro (main reason i bought it), hence why this is really irritating me. I will therefore be incredibly thankful if anyone can offer any solutions without a price tag, as I don't want to download from the app store when I'm meant to install them free and simply using this disk.

    My wife uses my Apple ID and password to download and install all her software because that way we only pay for it once and get essentially a family license. Otherwise we would each have to purchase and pay for our own copy. However, that only applies when we are purchasing software from the App Store or the iTunes store. We each have our own individual iCloud accounts where we store our personal Contact, Calendar, and other data. You can change the Apple ID on your wife's computer by going to System Preferences > Accounts and choosing her account then clicking on Apple ID: Set.
    Now if you want to make things more intertwined you and your wife can share your contacts, calendars etc with one another with read only or read write priveleges.

  • Can anyone solve this problem

    hello everybody,
    i am trying to write a online quize, and for that i used backend access and front end as servlet/jsp with
    tomcat server,
    and my program is working very efficiently on same computer, but when there are more than 15 or 10 to computer to access quize it goes
    to long sleep to access next question (my page is one question in each page).
    what to do for fast access or speed up for next question
    can i used backend as mysql
    or
    anyother problem

    Verify whether you have hardcoded "localhost" in any of your code. Also adding debugging statements helps narrow down the problem.
    Amar.

  • The trashcan is not showing up in the upper right-hand corner of my photos, so I can't delete them. Can anyone address this problem?

    The trashcan is not showing up in the right hand corner of my photos on my iPad. So I can't delete pictures. Can anyone solve this problem?

    Where did the photos come from ? Only photos taken with the iPad, copied onto it via the camera connection kit, or saved from emails/websites etc can be deleted directly on the iPad - photos that were synced from your computer are deleted by moving/removing/de-selecting them from where they were synced from on your computer and then re-syncing.

  • HT5622 my apple id is not working when i sign in from my laptop it works but when i sign in from my iphone4 then its not working it gives the message of "your aapleid or password is incorrect"? how can i solve this problem please help

    my apple id is not working when i sign in from my laptop it works but when i sign in from my iphone4 then its not working it gives the message of "your aapleid or password is incorrect"? how can i solve this problem please help

    Hey nocillado,
    Thanks for using Apple Support Communities.
    It sounds like you have 2 things you want to address. These articles can help you use iCloud with your existing Apple ID.
    Get help activating your iPhone
    http://support.apple.com/kb/ts3424
    Using your Apple ID for Apple services
    http://support.apple.com/kb/ht4895
    Using the same Apple ID for Store purchases and iCloud (recommended)
    Have a nice day,
    Mario

  • TS3899 In my iPad 2 with IO6 today I can not send emails from my gmail account, they go to the outbox directly...why? How can i solve this problem? ..I restarted the IPad but the problem was not solved. Please help.

    In my iPad 2 with IO6 today I can not send emails from my gmail account, they go to the outbox directly...why? How can i solve this problem? ..I restarted the IPad but the problem was not solved. Please help.

    Greetings,
    Questions:
    1. What version of the Mac OS are you running (Apple > About this Mac)?
    2. What version of the iOS are you running (Settings > About)?
    3. Do you use MobileMe/ iCloud or another server based sync solution like Google or Yahoo?
    4. Do other changes to synced information like Address Book content sync successfully back and forth?
    Based on your description it sounds like you have a 1 way sync issue.  Events sync fine between the iOS devices and fine from the computer to the iOS devices but not from the iOS devices to the computer.
    Try:
    Backup your computer and iOS devices before doing anything else:
    http://support.apple.com/kb/HT1427
    http://support.apple.com/kb/ht1766
    Ensure all the devices in use are fully up to date: Apple > Software Update / Settings > General > Software Update
    Make separate backups of critical data:
    Backup your computer Addressbook: http://docs.info.apple.com/article.html?path=AddressBook/4.0/en/ad961.html
    Backup your computer iCal: http://support.apple.com/kb/HT2966
    Reset syncing on your Mac: http://support.apple.com/kb/TS1627
    Reply back if that does not resolve your issue.
    Hope that helps.

  • TS1453 Hi, I bought Apple tv traying to rent a movie but there problem with itunes, and there is on apple tv don't have my country. could you help me please how can I solve this problem?

    Hi, I bought Apple tv traying to rent a movie but there problem with itunes, and there is on apple tv don't have my country. could you help me please how can I solve this problem?

    Whinston,
    I live in Azerbaijan. Recently I bought apple tv in New York. When I come back to my country tried to rent movies from my country but couldn't find my country name on apple tv menu, so there is a problem I don't know how to fix it. is there have another way to take a rent movies?

  • How do I copy files onto a hard drive (device) from Mac 2 7 pc. I'm able to transfer files from device but cannot transfer files to device. Anyone had same problem or can help solve this problem? Help pls

    how do I copy files onto a hard drive (device) from Mac 2 7 pc. I'm able to transfer files from device but cannot transfer files to device. Anyone had same problem or can help solve this problem? Help pls

    Welcome to Apple Support Communities
    When you try to copy data to the external drive, what happens? If you don't see any error, the external drive is formatted in NTFS, and OS X can't write in it.
    To be able to write on this external drive, you have to use an app like Paragon NTFS. Another solution would be to format the external drive in FAT32 or exFAT with Disk Utility > http://pondini.org/OSX/DU1.html Make sure you copied all the files of the external disk to the internal disk before doing it

  • Few days before I brought one iphone 5 by second party and this phone make a unlock but it sometime have a cellular network most of time say no service can u solve this problem please and I put serial number it say this phone is replace can u help me for

    Few days before I brought one iphone 5 by second party and this phone make a unlock but it sometime have a cellular network most of time say no service can u solve this problem please and I put serial number it say this phone is replace can u help me for original serial number....

    If Apple's service database says that your iPhone was replaced, then Apple will no longer provide any service for that phone.
    First, get a new SIM from your cell carrier and see if that corrects the problem. If it does not, try the usual steps for addressing software problems: restart, reset, restore.
    http://support.apple.com/kb/HT1430
    http://support.apple.com/kb/HT1414
    If you try restoring from a backup and that doesn't fix the problem, try restoring to factory settings and, if the problem goes away, then sync back your apps and content. You'll lose the app data and settings, but if the problem is due to a corrupt cache or settings file, restoring to factory settings should cure it.
    If none of that helps, your device may have developed a hardware fault. Again, Apple will provide no service for it, so you will need to pay some independent repair shop to fix your iPhone.
    Regards.

  • HT1349 The nice man Joseph Shen helped me with my google problem on my iPhone and worked for 2 days and now not working again please help me solve this problem were I can retrieve my messages on the I phone when I am not at home  on my wi Fi is the only t

    The nice man Joseph Shen helped me with my google problem on my iPhone and worked for 2 days and now not working again please help me solve this problem were I can retrieve my messages on the I phone when I am not at home  on my wi Fi is the only time it works correct. Bill. [email protected]  708 752  3667 

    http://lifehacker.com/5852948/what-to-do-if-youve-forgotten-your-iphones-passcod e

  • Hi .. my iPad 4 with iso 7.0.3 he is restarting himself ... How can i solve this problem please help me

    Hi .. my iPad 4 with iso 7.0.3 he is restarting himself ... How can i solve this problem please help me

    Standard troubleshooting...
    1. Try a Restart by pressing the sleep/lock button until you see the slider.  Slide to power off.  Restart by pressing the sleep/lock button until you see the Apple logo.
    2. Try a Reset by pressing the home and sleep buttons until you see the Apple logo. Takes about 5-15 secs of button holding and you won't lose any data or settings.
    3. Remove apps from Recently Used list...
    - From any Home Screen, double tap the home button to bring up the Recents List
    - Swipe up on the app preview card to remove it from the list
    - Press the home button when done.
    4. If still a problem restore with your backup.
    5. If still a problem restore as new, i.e. without your backup. See how it runs with nothing synced to it.
    6. If still a problem, it's likely a hardware issue.

Maybe you are looking for