I can't get this to work, but i know you can.

I'm trying to modify this image pan tutorial a bit...but it
isn't working.
http://www.kirupa.com/developer/flash8/interactive_image_pan.htm
there are two things that I need to change. The way it
currently is...the function is operating on any mousemove. So in
other words, whenever you move around the mouse, the strip moves
left and right.
I want to have it so that it is constrained to when you are
rolling over a certain MC of thumbnails.
The other issue, which is related is that the code is using
the width of the stage to calculate the move, but because my strip
of thumbnails is an MC that is less than the width of the
stage,.....how can I modify the code to base it's absolute left and
right settings on the thumbnail MC instead of the whole stage.
If you can help me with this, I will be happy.
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 {
target._x += Math.ceil((target.destX-target._x)*(speed/100));
}

can you not just say:
whateverInstanceName_mc.onRollOver = function(){
instead of:
this.onMouseMove = function() {
and use:
whateverInstanceName_mc._width
instead of:
stage.width

Similar Messages

  • Where can I find the plugin to open camera raw files for Nikon D810 for Photoshop CS5.1? I've looked around the site but cannot get this to work.. Thank you.

    Where can I find the plugin to open camera raw files for Nikon D810 for Photoshop CS5.1? I've looked around the site but cannot get this to work.. Thank you.

    See for yourself which version of ACR is needed for that camera’s RAW files
    http://helpx.adobe.com/creative-suite/kb/camera-raw-plug-supported-cameras.html
    then check your version (Photoshop > About Plug-In > Camera Raw).
    Your version of Photoshop does not support that version of ACR.
    You could use the free DNG Converter.

  • I can't get Facetime to work but I know my ID

    I don't know what's going on :(

    iOS: Troubleshooting FaceTime                  
    Unable to make or receive FaceTime calls after April 16, 2014
    Using FaceTime and iMessage behind a firewall
    iOS: Troubleshooting FaceTime and iMessage activation
    iOS: Using FaceTime                               
    FaceTime, Game Center, Messages: Troubleshooting sign in issues

  • Email messages from my icloud account update on all my devices showing if they have been read and if a reply has been sent.  This does not happen with my tinyworld (TalkTalk) email account.  Can I (how can I) get this to work with TinyWorld?

    Email messages from my icloud account update on all my devices showing if they have been read and if a reply has been sent.  This does not happen with my tinyworld (TalkTalk) email account.  Can I (how can I) get this to work with TinyWorld?

    You have to look at the email protocol being used.  the Apple email system uses IMAP, does Tinyworld use IMAP or POP?
    Does the email system permit delivery receipts to be requested?
    Just some of the things one needs to determine from the information provided by the email service provider.

  • HT201257 anyone actually get this to work with a machine with Lion pre installed? (mid iMac 2011)

    I tried getting this to work, but the machine just boots to the regular install.
    The system came with a BT keyboard, I hope Apple didn't overlook this problem.

    I just found out that the article lies about the keys to hold down.
    It's actually OPTION + D, not just D as the article states.
    *Come on* Apple.

  • How do I change my user name in syn? I typed in the wrong email address. And I cancelled syn thinking this may work but no luck.

    How do I change my user name in syn? I typed in the wrong email address. And I cancelled syn thinking this may work but no luck.

    You have to clear saved password for this page:
    # Open you login page (where you have to enter username and password).
    # Right click on page and select '''Page Info''' form context menu.
    # On last tab ('''Security''') there is '''View saved passwords''' button, click it and delete all saved passwords for this page.
    # Also clear all related cookies (just in case) there is button for this next to first one.

  • My iPod Classic is seen by Windows but not by iTunes.  I have reset it, gone to disk mode and it won't show up in iTunes.  There appears to be music on it in a file called MUSICSAVE.  How can I get this to work with iTunes again?

    My iPod Classic is seen by Windows but not by iTunes.  I have reset it, gone to disk mode and it won't show up in iTunes.  There appears to be music on it in a file called MUSICSAVE.  How can I get this to work with iTunes again?

    1. Update iTunes to the latest version. Plug in your iPod. If iTunes still can't recognize it, then in iTunes in the top left corner click help> run diagnostics. On the box that comes up, check the last two things. Click next and it should identify your iPod.
    2. Click on your windows start menu. Type in "services". Click on it and when it pops up, on the bottom of it click on "standard". Now Scroll down to find "Apple Mobile Device" Right click it when you see it and click on "Start". When it has started, close iTunes and replug in your iPod and it should show up.
    3. Check the USB cable
    4 Verify that Apple Mobile Device Support is installed
    5. Restart the Apple Mobile Device Service and verify that the Apple Mobile Device USB Driver is installed.
    6. If you just want to add some photos, songs and movies from computer to your devices, you can use an iTunes alternative to do the job
    7. Check for third-party software conflicts.
    <Link Edited By Host>

  • I am using Numbers on my iPhone5 and cannot get the app to do a simple (SUM) calculation.  It shows the formula correctly in the cell, but all I get for my long list of numbers to add is 0.  How can I get this to work?

    I am using Numbers on my iPhone5 and cannot get the app to do a simple (SUM) calculation.  It shows the formula correctly in the cell, but all I get for my long list of numbers to add is 0.  How can I get this to work?

    Oaky, at least we got that far.  Next step is to determine if all those "numbers" are really numbers.  Changing the format to "number" doesn't necessarily change the string to a number. The string has to be in the form of a number.  Some may appear to you and me as numbers but will not turn into "numbers" when you change the formatting from Text to Number. Unless you've manually formatted the cells to be right justified, one way to tell if it is text or a number is the justification. Text will be justified to the left, numbers will be justified to the right.
    Here are some that will remain as strings:
    +123
    123 with a space after it.
    .123

  • I have a 4s iPhone which I loaded the new Os on last night. Now I can not connect to iTunes. A message comes up saying i need 10.6.3 or later but I am running 10.6.1 as I have an older Mac. Anyone have ideas how to get this to work?

    I have a 4s iPhone which I loaded the new Os on last night. Now I can not connect to iTunes. A message comes up saying i need 10.6.3 or later but I am running 10.6.1 as I have an older Mac. Anyone have ideas how to get this to work?

    Its not telling you to update your iPad, its telling you you need to download a recent version itunes on your computer.
    Go here to download the newest version of iTunes.
    http://www.apple.com/itunes/?cid=OAS-US-DOMAINS-itunes.com

  • I recently updraded the oporating system on my 4S phone and now I can't get my email.  I've rebooted several times to no avail. What should I do to get this thing working again?

    I recently upgraded my phone software to iOS 6 and now my email will not download.  I have tried to reboot the phone to no avail.  Anyone have any suggestions as to how I can get this phone working again?

    You can't merge the backups, you'll have to delete the backup of your old phone.  If it says it's currently in use when you try, that will normally clear up on its own but may take 3-5 days to do so.  Give it a few days and try deleting the old backup again.
    In the meantime, you can create a manual backup of your new phone on your computer by connecting it to your computer, opening iTunes, clicking on the name of your phone in iTuens, going to the Summary tab of your iTunes sync settings and clicking Back Up Now.  Also go to File>Devices>Transfer Purchases.  Then you'll be safe until you can start backup up to iCloud again.

  • A Playlist idiot. Why can't I get this to work?

    In iTunes I have music Playlists set to shuffle (blue double arrow button) and audio books Playlist set no shuffle. I have been unable to get my iPod to follow these settings. A suggested work around is to use the iPod Settings to set the shuffle function to "songs" when playing music and then switching to “off’ for audio books. There has to be a better way. How do I set the Playlists on my iPod to function the same as it does on iTunes?

    LeftyLucy,
    Using your process are you able to set your iPod to shuffle then listen to the audio book without it shuffling the chapters? I have tried your suggestion with the iPod setting set to shuffle and the chapters shuffled. This is the issue from my original post. I want to listen to music with the shuffle function and listen to audio books (no shuffle) without having to change the settings every time I switch.
    Keep in mind that is not a purchased audio nor a imported book.
    Using a tip from the following post:
    Tom Graves, "A Playlist idiot. Why can't I get this to work?" #11, 05:26pm Sep 28, 2005 CDT
    I have attempted to make the audio book file into an authenticate file but that did not help.

  • I have purchased itunes match but the cloud will not load on my ipad 4.the only music that will show up is stuff that i bought from the itunes store.any ideas on how to get this to work?

    i have purchased itunes match but the cloud will not load on my ipad 4.it works on my iphone 5 & it originally worked on my ipad.the only music that will show up is stuff that i bought from the itunes store.any ideas on how to get this to work?

    On the MBP, in iTunes, switch to Song view and enable the iCloud Status column by pulling down View > View options and selecting the option for "iCloud Status." Close the small window. Look for any tracks that have a status of "waiting." If you see several of them disable iTunes Match while holding down the Option key. Quit iTunes, wait a few seconds, then open it again and turn iTM back on. Let it compelete the scan. Wait until all tracks that are "waiting" have a status of either "matched" or "uploaded."
    On the iPad, turn off iTunes Match then launch the Music app and let the contents clear out. Power cycle the iPad for good measure, then re-enable the service once all the tracks in iTunes have been processed.

  • HT1495 My husband and I share an i cloud account but each have our own separate ipads. We were told this would work, but now I can't find a book that I've downloaded on my ipad anymore. Where would I find it?

    My husband and I share an i cloud account but each have our own separate ipads. We were told this would work, but now I can't find a book that I've downloaded on my ipad anymore. Where would I find it?

    You and your husband can share a store account and still have seperate iCloud accounts for your contacts, bookmarks and stuff like that.  Click here for instructions to make an apple account without entering a credit card.  Make sure you use a different email address for each apple account. 
    Set up your iPhone/iPad whatever using the new account for iCloud.  Then go into settings/store and sign in with your purchasing account, you may need to sign out of the other account.  To the best of my knowledge, your household is allowed to share purchased legally, someone please correct me if I'm wrong.
    Once you each have your own devices set to your own accounts you can set them to backup to that account and it will keep all your contacts seperate.

  • I installed Lion 10.7.4.  Went to use Photoshop Cs and got a popup window.  You can't open the application Adobe Photoshop CS because PowerPC applications are no longer supported.    Is there a way of getting this to work or do I have to get the all new!

    I installed Lion 10.7.4.     Went to use Photoshop Cs and got a popup window.  You can't open the application Adobe Photoshop CS because PowerPC applications are no longer supported.    Is there a way of getting this to work or do I have to get newest version of all of my Power PC apps?

    Welcome to Apple Communities
    PowerPC applications are unsupported in newer versions. You can upgrade Photoshop or you can install Snow Leopard in a partition.
    1. Open Disk Utility (Applications > Utilities) and select your drive
    2. Go to Partitions tab, press + button, create a new partition and press Apply
    3. Insert the Snow Leopard install DVD and reboot pressing C key
    4. Install it in the new partition
    5. If you want to change boot, go to System Preferences > Startup Disk and select 10.7

  • I am synching my ipad and iphone with icloud. Events put in calendar go to the iphone, but if i enter an event on the iphone, it does not go to the ipad. What do i do to get this to work both ways?

    I am synching my ipad and iphone with icloud. Events put in calendar on ipad  go to the iphone calendar,, but if i enter an event on the iphone calendar, it does not go to the ipad. What do i do to get this to work both ways?

    OK Vicky, good clues...
    See if this helps...
    Open Keychain Access in Utilities, use Keychain First Aid under the Keychain Menu item, then either check the Password under that item, change it, or delete it and start over. See if there are duplicates, should be one for Incoming & one for Outgoing.
    Resetting your keychain in Mac OS X...
    If Keychain First Aid finds an issue that it cannot repair, or if you do not know your keychain password, you may need to reset your keychain.
    http://support.apple.com/kb/TS1544

Maybe you are looking for

  • ITunes 9, Windows 7, and Bootcamp 3.0

    Just thought I'd post this for anyone who is as frustrated as I've been over the issue of sharing your iTunes library on a single computer with Leopard on one partition and Windows 7 on the other. First (on the advice of various helpful posts on the

  • Disable exchange 2007 mailbox

    Hi all, I got the requirement to not only disable accounts in Active Directory but to disable their mailbox as well. So they should not be able to receive messages while they are unable to access their mailbox. I'm a lucky guy, so I found this entry

  • Lost all previous Word for Mac files

    Does anyone have any contact info for microsoft word (2004) for imac? Recently lost all old word files, however, it has remembered the last 2 docs. In addition, it stopped listing 'Documents' as a option in Applications -where it was previously along

  • Logon message regarding missing module

    Upon logging on we receive the message: "There was a problem starting"  C:\Users\M&M\AppData\Local\Conduit\BackgroundContainer\BackgroundContainer.dll This specified module could not be found. The pc does start as normal.  I found just today I was un

  • My headphones will not fit into my macbook air

    Yesterday they fit perfectly with no problems, I have been using the same or similar pairs since i got the laptop. But today, they just will not go into the jack. It is not the headphones, they work just fine on my iPod and other devices. So it is a