Crazy thing happening here!!!

I'm building my own scroller and I'm using a variable to
control the height of the middle section of the scoller. I'm
setting a variable with a number such as 113. When I set the height
equal to the variable it changes the number by what appears to be
and extra 1.5% ???
var newScrollerHeight:Number =
Math.floor(scrollbg._height-(contentMain._height-maskedView._height))
// trace = 113;
dragger.middlePart._height = newScrollerHeight; // trace =
115.6
??? This is obviously offsetting all the rest of my alignment
for the dragger. Any ideas of why?

What happens if you just use
dragger.middlePart._height =
Math.floor(scrollbg._height-(contentMain._height-maskedView._height));
im not sure why the variable would change value - do you use
scale or anything like that?

Similar Messages

  • All sorts of crazy things happening in yosemite macbkpro retina late 2013

    dudes,
    I've got major issues, since the update of yosemite i am seeing all types of ******** things. ILL REPEAT ******** THINGS
    1. safari has so many pops ups , its becoming unbearable. i tried to get a popup blocker an adblocker nothings seems to be helping. its always one page in particular mackeeper.com something like that. its *****! and i am a huge apple fan never will change to a pc but dam , come guys i got faith in you get it right , really soon please.
    2. bluetooth - my keyboards , latest apple mouse , and trackpad all fall away and i have to spend 10 to 15 minutes trying to get them connected again. so i get them working again finally and after five minutes bam! they're gone again. tell me whats going , and trust me my devices are in distance of the computerS BLUETOOTH SENSOR , its lying on top of it for crying out loud""
    3. my CURSOR always seems to disappear. i could be going thru app thru app, and bam i can't find my mouse on the screen. have to go to expose and switch to the previous app and they're it is again. sometimes it just vanishes. strange, whats that all about ? playing hide and seek , well no thank you!its productivity time and i have to deal with that!? NOOOOOO thank you
    4.playing movies off of apple tv or from another macs iTunes library on home network or even on all iOS devices his and her iPads and iPhones choppy! extremely choppy! I'm embarrassed when company comes over. we can't do home video night anymore :-|  thats how i  look when everyone is looking at me and asking me whats wrong!!! i can be honest , i hate having to face the audience at my house when this is happening. HELP!
    5.loosing wifi connection on iPads. we never turn them off , they are besides are phones that stay on 24/7. we just close them with our magnet flap cases and use them when we need them. but now , when we open our magnet flap cases and unlock our pads as usual , we go to safari and nothing happens when we begin surfing. we must switch the wifi on and off and even sometimes having to reboot them completely. that never happened before the update. i mean it! my wife is asking me all the time what is going on? i have always proclaimed that the devices just work but now she is proving me wrong. you guys are not helping me out!
    WE NEED A REAL BUG FIXIN UPDATE SOON BLOODS! HELLO FROM HOLLAND

    Hi Ben,
    Another sleep issue and adding to your post... My MacBook Pro (2.7ghz early 2011)
    Leaving apps open and closing the "lid" and then going to bed... several times thru out the night my MacBook will start to wake up.  The optical drive spins up (DVD is in the drive), the hard drive fires up, I think i can see the screen glow ("lid" is still closed).   Then it sets itself back to sleep (must detect the closed lid).
    Did not do this with Mavericks or other earlier OSs. 
    I have not begun to try to figure this out... today is the day!  lol. 

  • Crazy Things Happening

    I've been using the 'old versions' of this software for years
    to create simple web page designs. Plain old HTML pages from
    slices, with a few rollovers. Never any problems.
    Until I upgraded to CS2 with Dreamweaver 8. Now NOTHING works
    properly. Not only does ImageReady make a total mess of slices
    & rollovers, Dreamweaver makes a total mess of everything in my
    web layout - that is, when it isn't crashing every 2 minutes. My
    file structure is simple (html document in root folder, with images
    in subfolder) - after 5 hours trying to create 1 page - it's time
    for drastic measures!
    Maybe it's my configuration? I have CS2 versions of Photoshop
    (9.0.2) and ImageReady (9.0) using with Dreamweaver 8.0.2. My Mac
    OS is 10.3.9. I've patched everything that I am aware of.... any
    ideas what I can do to make this work?
    Thank you anyone --!!

    1) Are you using Exchange ActiveSync? That can happen if you lose the connection before the delete processes on the server. I've seen it happen if I have a poor signal or if the phone switches to/from wifi while I'm deleting a message. I suppose it could happen with IMAP as well.
    2) Also had that happen with Exchange. Try removing and recreating the email account on the phone.
    3) That's pretty much the same thing as a kernel panic on a Mac. I've had it happen once or twice when my phone is plugged into my car stereo via USB. That is the only time it happens, so I suspect the stereo is causing the iOS kernel to freak out and panic. However, it could be a hardware problem if it just randomly happens while using the phone. Apple replaced my 3GS twice due to unexplained hard resets.

  • Crazy thing happened on flight from Philly?!

    While at the airport for 4 hrs I played my iPod for a good majority of that time. I boarded the plane and waited for the permission to turn it on again. I was using the Sony noise cancelling headphones and guess I fell asleep when I woke the iPod had stopped. I looked at the screen and it showed that it was still playing a song tried to stop, pause and forward to next song...nothing. The screen was hot to the touch...finally I got it to shut down by resetting it, but I was flipping because I thought sure it was going to catch fire on the flight! Anybody have this happen before or heard of it??
    Thanks, Ed

    You don't have to worry about this. It's not your fault and you can keep using Verizon's sim.
    You're lucky man!
    If there were any problems the only things you have to do is cut the sim and maybe burn it and keep using your smartphone with a different sim card!

  • Help! Crazy things happening to computer!

    I watched a video file today, and when QuickTime opened up, all the words on the menu were replaced by A's with boxes around them.
    I restarted the computer, then ALL of the words on the desktop and menu bars are replaced by these symbols. The only way items are legible is through list form.
    Now, I can't open certain applications (Preview, Photoshop, AppleWorks) due to various errors. For Preview, it says "You cannot use the application Preview on this version of Mac OS X.
    The other two apps show error messages like this:
    The application "AppleWorks" could not be launched because of a shared library error: "-<AppleWorks><CarbonLib><CFMPriv_CarbonCore>"
    Also, Console says this over and over again "plist parse failed; the data is not proper UTF-8."
    I'm stumped, and I hope it's not a virus of some kind.

    You could try this firs:
    1. Reboot from the install disk, and then go to the menu bar and select Disk Utility and run both Repair functions on your startup drive
    2. When it finishes restart again and hold down the Shift key when you hear the chime
    3. This will boot into Safe Mode, run the Repair Disk function again, and also delete a number of cache file (especially some font ones), because of these activities the boot process will take rather longer than normal
    4. If it then boots into your normal Desktop, and all the menus appear as usual, go to Restart and do a normal boot
    It's not a virus of any kind. You've got disk corruption, and evidently the file or files that are corrupt are critical ones. If you get a message that the disk can't be repaired you could try buying a copy of Disk Warrior. If you have all your data backed up it would probably be just as fast to erase the drive and reinstall.
    Francine
    Francine
    Schwieder

  • Anyone having screen bugs with iOS 5?  it seems the tactile screen goes crazy in Apple iOS software, i tried reinstalling, but the same thing happens. NB iPhone 4

    It seems the tactile screen goes crazy in Apple iOS software, I tried reinstalling iOS 5, but the same thing happens.  When I start typing, for wxample in messaging app, I'll press a letter, and several other letters are typed... and at times, the app just closes....
    My issue is with iPhone 4.
    Thanks

    Issue confirmed.
    I tried dialing in five times with each of the following settings:
    Connecting on LTE (with no confirmation boop-boop tone that I'm on the 3G Extender):  the telecon login worked five out of five times.  This is impractical for me as I have wretched LTE signal where I live and it snaps hard over to 1x signal every 2-5 minutes and drops my call.  That's why I got an extender!
    Connecting on 3G (after a #48 positive confirmation boop-boop tone that I'm on the 3G Extender):  telecon login worked zero out of five times.  I had stellar 3G signal, but the 'overdialing' DTMF problem was consistent and I was unable to connect to the telecon service.
    Thanks for the quick reply.  What do we try next?

  • Lost mail, spooky things happening, and more

    Some very strange things happening with Mail today. First, here is my set up. I have a Yahoo account. I have two computers, and iMac running 10.3.9 and a MBP core duo running 10.4.8. (No I did not update to 10.4.9 yet.) I have Mail set to check for messages every few minutes. As today went on, I got a dozen or so messges. Though, early in the day, I realized that for some reason I was not getting some messages on my iMac. And strange enough as that was, it seemed to be explained by the fact somehow, after downloading messages to my MBP, they were being deleted off of Yahoo, which my computers are NOT set to do. In fact, all 2000 or so messages I had stored on Yahoo are now gone.
    Well, if that wasn't strange enough, I responded to two of the emails I got today using my MBP. Everything went like usual, but there was some evidence that Mail was acting strange. Like, when I opened it up, it took me to some random message in the middle of my 5000 or so saved messages. Like it didn't remember where I was before like it usually does. Not so significant, but certainly strange.
    I quit Mail, and then reopened it. (still on my MBP) Well, now all of my messages from today were GONE. The two emails I responded to were gone and though I always have everything saved to my sent folder, there was no evidence that I ever sent these emails.
    Something stragne is happening to my mail. Anybody have a clue what is going on here? Do I have a ghost? I know I did NOT delete those messages from today. I know for a fact they were on my MBP. I know that my Mail program is NOT set to delete messages off of Yahoo.
    I know, there are a lot of variables, but something is up.
    Thoughts?
    Thank you,
    Adam

    In the Finder, go to ~/Library/Mail/ and check whether the missing messages are still there somewhere, just inaccessible for some reason. Also, have you tried searching for those messages in Spotligth?
    Not sure what the situation is here, but if some of your messages have been deleted for some reason, they’re not on the server and you don’t have a backup, you may want to try to salvage as many deleted *.emlx files as possible with a data recovery tool such as Data Rescue II, TechTool Pro, or FileSalvage. Of these, the only one I know for sure that can currently recover deleted *.emlx files is FileSalvage. Stop using your computer right now if you want to try that, as anything you do with the computer may cause the deleted files to be overwritten.
    That said, if messages are being removed from the server despite you having configured Mail to not do so, either the server is misbehaving or there is some corruption in Mail’s preferences file, which might also explain some of the other strange things you’ve observed.
    Verify/repair the startup disk (not just permissions), as described here:
    The Repair functions of Disk Utility: what's it all about?
    After having fixed all filesystem issues, if any, and making sure that there’s enough space available on the startup disk (a few GB, plus the space needed to make a backup copy of the Mail folder), try this:
    1. If you have a .Mac account and .Mac synchronization of Mail data is enabled either in Mail > Preferences > General or in System Preferences > .Mac, disable it before proceeding.
    2. Quit Mail if it’s running.
    3. Make a backup copy of the ~/Library/Mail folder, just in case something goes wrong while trying to solve the problem. You can do this in the Finder by dragging the folder to the Desktop while holding the Option (Alt) key down, for example. This is where all your mail is locally stored.
    4. In the Finder, go to ~/Library/Preferences/. Locate com.apple.mail.plist and move it to the Desktop (to be deleted if this fixes the problem).
    5. Open Mail. You’ll have to set up your non-.Mac accounts from scratch all over again. If given the option to import existing mailboxes or something like that, don’t. Just enter the account information and Mail will automagically rediscover the data in ~/Library/Mail/ when done.
    6. You’ll have to re-configure most of your settings in Mail > Preferences. For spam-related security reasons, the first thing you should do is go to Preferences > Viewing and disable Display remote images in HTML messages if it’s enabled.
    7. You may also need to re-install or re-enable any Mail plug-ins you have installed for Mail to recognize them.
    8. As a side effect of re-creating com.apple.mail.plist, Mail might rename Outbox (which is where messages waiting to be sent are stored) to Delivered. The name of that mailbox is actually a misnomer, as it would contain messages (if any) that couldn’t be delivered for some reason. You can delete that mailbox if you wish.
    9. If the problem is fixed now and .Mac synchronization of Mail data was enabled at the beginning, enable it again, go to System Preferences > .Mac > Advanced, click Reset Sync Data, and choose the appropriate options to reset the Mail data stored on the .Mac server with the data locally stored on the computer, i.e. sync data must flow from the computer to the .Mac server.
    Note: For those not familiarized with the ~/ notation, it refers to the user’s home folder. You can easily locate any of the folders referred to in this post by copying the folder path here, doing Go > Go to Folder in the Finder, and pasting the folder path there.

  • Very strange thing happening

    I developed a spreadsheet today and had a very strange thing happen while I was working in Numbers.
    Every minute or so Stuffit Expander would open and expand a file and place it on my computer. It started out as a quick flash on the screen and would be gone in an instant. I saw that it was being made by Stuffit so I opened up Stuffit and went into Prefs and told Stuffit to ask before expanding the file. This, then, stopped the process so I could see what was going on.
    A folder was make called "[file name].numbersFolder"
    Inside the folder are two files called: "buildVersionHistory.plist" and "index.xml". Along with these files is a "QuickLook" folder that has a thumbnail of the spreadsheet I am working on inside.
    The xml file is large and has several URL's embedded including the Apple developer site (http://developer.apple.com/namespaces/sfa).
    Can anyone tell me what is going on here.
    Looks fishy to me!

    If I recall, this is StuffIt expanding what it thinks is a ZIP file. It is correct, in a way, but you don't want it to do that. I do not have StuffIt so I do not know what settings it has. Hopefully it has one along the lines of "automatically unzip zip files" and you can turn it off.

  • I traded my iphone in and now have a new one (iPhone 5) with the same SIM.  Since, I have had some iMessages meant for someone else and some strange things happening on my phone (applications opening by themselves, calls disappearing from log). Any ideas?

    I traded my iphone in and now have a new one (iPhone 5) with the same SIM.  Since, I have had some iMessages meant for someone else and some strange things happening on my phone (applications opening by themselves, calls disappearing from log). Any ideas?

    The answer is very simple: You were not the original owner of the phone. Target sold you a phone that had been returned. You can verify the date of the original sale here: Apple - Support - Check Your Service and Support Coverage. I suspect you will find that the warranty expiration date is not one year from the date that you bought it.

  • My ibook keeps shutting down completely with the date to reverting back to 1969.  i restart only after i plug in charger it lets me, then change date and save.  the next time i use same thing happens, safari, iphoto, email are the only ones i have used.

    my ibook keeps shutting down completely with the date to reverting back to 1969.  i restart only after i plug in charger it lets me, then change date and save.  the next time i use same thing happens, safari, iphoto, email are the only ones i have used.
    please help!  i am at a loss here.
    thank you, movie lady
    ibook g4

    The iBook does not have a backup (PRAM) battery. It only has the main battery and a small capacitor which maintains the settings long enough to do a battery swap. If the battery is dead, what you are seeing can happen.
    If the battery is not a problem (or even if it is), you could try resetting the PMU and see if that helps.

  • IPad does crazy things when not touched

    Basically, I'll be going along on an app or on safari or anything and then randomly my iPad will just start doing crazy things, and I can't do anything. So for example, I'll be on safari and then my iPad will scroll up to the top of the page, type in the address bar some random numbers and letters and just keep doing that. And then the only way (sometimes) to stop it is to lock the screen, but sometimes that doesn't even work and I then can't even unlock the iPad for a few seconds. I've tried restoring it but that doesn't do anything. Is there anything else I could try or should I just take it to a genius bar?

    You may need to get it back to Apple, but this is worth a try if you haven't done it already.
    Try a hard reset by pressing and holding down on the sleep button at the top of the iPad while holding down on the home button at the bottom, until the Apple logo appears and the iPad restarts. Launch any app, surf the net, whatever, and see what happens.

  • Crazy thing: No dialtone from a SPA 3102 inside the same network.

    Hi folks: We have a couple of SPA-3102 connected to two POTS Bellsouth lines. Both 3102 are registering fine with our SIP server and also register the phone line.
    The crazy thing is this: If we try to get dialtone calling from an IP phone (SPA922) LOCATED IN THE SAME LOCAL NETWORK (I.E: In the office) to the 3102 number, we get no dialtone.
    If i try co call the same 3102 from a softphone (x-lite) also in the office, we still get no dialtone.
    But if i try to call the spa from other network than the office, (I.e: My home), i´m getting the dialtone!!!  I tried it with both the 922 IP Phone and the x-lite softphone and works fine.
    Also, we tried to call the 3102 from other IP phone in our office in Mexico, and also works fine.
    Our network topology in the office:  Motorola´s Netopia 3347-02 with Bellsouth xDSL internet service. Two Linksys EZXS16W swithes, and a mix of laptops, PCs, servers, IPPhones (SPA922 and 942) and printers connected to these switches
    Any idea ??
    Thanks in advance.
    Martin

    If the in-office X-Lite is accessing the SPA-3102 on its private IP, try the public IP, or vice-versa.
    I'm presuming that the SPA-3102 has a static private address, the Netopia is forwarding some UDP ports to the 3102, and that you are accessing the 3102 directly (not through a server such as Asterisk).  In this case, access from the LAN via the public IP may fail, because many routers don't handle 'hairpinning' correctly.  Access via the private IP may fail, because the client is being confused by the NAT mapping being applied by the 3102.  You can use Wireshark on the machine running X-Lite to see what's happening in each case.
    If your situation is other than the above, please provide the details:  Accessed via server?  If so, is server on LAN or outside?  What software?  Do you have administrative control over it?  Does your router have a SIP ALG?  Is it being used in this path?  What port forwarding or other special setup on router?  What NAT mapping parameters on SPA-3102?  What have you seen with Wireshark?  What remedial actions have you tried, with what results?  Do you have multiple static public IPs?  If so, is there a spare one?
    Message Edited by Stew on 05-05-2008 10:48 AM

  • My iPad free space was shrinking.  Previously I did an iOS upgrade and got more free space so I tried a restore and the same thing happened.  Do I have a setting wrong?

    My iPad free space was shrinking.  Previously I did an iOS upgrade and got more free space so I tried a restore and the same thing happened.  Do I have a setting wrong?  There was a significant change from 4.3 GB to now 10.2 GB.  I still have all the same apps, photos, songs, etc.  So what's up?  Why does my space not recover after I delete things?

    This is what I did to resolve the issue.  First I did a simple Reset (Home and on/off until the Apple logo appears) and it didn't help.  Then I did a Restore with a reload from the backup and that also accomplished nothing.  Then, I did a Restore as new with NO reload from backup and that resolved my issue.
    IF you choose to try the same thing, here are some cautions.  Make absolutely certain that all apps, music, movies, etc. are present in the iTunes library.  Also make absolutely certain that all "regular" data, such as pdf files, Word files, etc. are present and accessible somewhere on the computer's hard drive.  Be aware that you will probably lose all game data (scores, etc.).  I did not investigate a solution for that because I don't play many games and I really don't care about the game history.  Finally, be forewarned that it is a bit tedius recreating all your folders and putting each app where you want it.

  • Hi, yesterday I was a strange thing happened. my iphone was fully discharged and went out, when I turned there were not any messages. This has never happened to anyone?

    hi, yesterday I was a strange thing happened. my iphone was fully discharged and went out, when I turned there were not any messages. This has never happened to anyone?
    Thank you.!

    thanks KiltedTim.....i hope its new...i brought it new so why would i want a refurbished one.
    I think you might be right with them not being out long enough...well here's hoping

  • Things happened in my Mac when I updated to 10.8.5

    I bought my Macbook Pro 13" last year by the end of October. When 10.8.5 went available I immediately updated my laptop. However, I noticed that some things happened since I updated it to 10.8.5? My Guest User account had a password, I didn't do anything and I can't remove it. The time in my laptop changes even the "set date and time automatically" is ticked and is locked. My laptop doesn't connect to the remembered networks automatically unlike before and my laptop became so freaking slow???

    First, back up all data immediately, as your boot drive might be failing.
    Step 1
    This diagnostic procedure will query the system log for messages that may indicate a hardware fault. It changes nothing, and therefore will not, in itself, solve your problem.
    If you have more than one user account, these instructions must be carried out as an administrator. I've tested them only with the Safari web browser. If you use another browser, they may not work as described.
    Triple-click anywhere in the line below on this page to select it:
    syslog -k Sender kernel -k Message CReq 'Channel t|GPU D|I/O|nspace-h|n Cause: -' | tail | open -ef
    Copy the selected text to the Clipboard (command-C).
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V).
    The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear.
    A TextEdit window will open with the output of the command. Normally the command will produce no output, and the window will be empty. If the TextEdit window (not the Terminal window) has anything in it, stop here and post it — the text, please, not a screenshot. The title of the TextEdit window doesn't matter, and you don't need to post that.
    Step 2
    There are a few other possible causes of generalized slow performance that you can rule out easily.
    Reset the System Management Controller.
    If you have a portable computer, check the cycle count of the battery. It may be due for replacement.
    If you have many image or video files on the Desktop with preview icons, move them to another folder.
    If applicable, uncheck all boxes in the iCloud preference pane. See whether there's any change.
    Disconnect all non-essential wired peripherals and remove aftermarket expansion cards, if any.
    Check your keychains in Keychain Access for excessively duplicated items.
    Boot into Recovery mode, launch Disk Utility, and run Repair Disk.
    If you're booting from an aftermarket SSD, see whether there's a firmware update for it.
    If you have a MacBook Pro with dual graphics, disable automatic graphics switching in the Energy Saverpreference pane for better performance at the cost of shorter battery life.
    Step 3
    When you notice the problem, launch the Activity Monitor application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Activity Monitor in the icon grid.
    Select the CPU tab of the Activity Monitor window.
    Select All Processes from the menu in the toolbar, if not already selected.
    Click the heading of the % CPU column in the process table to sort the entries by CPU usage. You may have to click it twice to get the highest value at the top. What is it, and what is the process? Also post the values for % User, % System, and % Idle at the bottom of the window.
    Select the System Memory tab. What values are shown in the bottom part of the window for Page outs and Swap used?
    Next, select the Disk Activity tab. Post the approximate values shown for Reads in/sec and Writes out/sec (not Reads in and Writes out.)
    Step 4
    If you have more than one user account, you must be logged in as an administrator to carry out this step.
    Launch the Console application in the same way you launched Activity Monitor. Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Select the 50 or so most recent entries in the log. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V). You're looking for entries at the end of the log, not at the beginning.
    When posting a log extract, be selective. Don't post more than is requested.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some personal information, such as your name, may appear in the log. Anonymize before posting. That should be easy to do if your extract is not too long.

Maybe you are looking for