Huge lagging problem

I am loading an external .swf file onto my stage. This is the
script I am using:
createEmptyMovieClip("village_holder", 1);
village_holder.loadMovie(url, 0);
onEnterFrame = function() {
var bytes_loaded = village_holder.getBytesLoaded();
var bytes_total = village_holder.getBytesTotal();
if(bytes_loaded > 0) {
var percent_loaded = bytes_loaded/bytes_total;
if(percent_loaded == 1) {
nextFrame();
It loads everything great, but it lags so bad when it
plays!!! Am I loading everything prperly? The external .swf file is
just under 200 kb, but that should be ok, right? I would appreciate
any help if there is a way to prevent lagging. maybe a way to ask
for more ram from the computer?
I really need any help/input on this problem, thanks.

i'm not sure what's lagging in your swf but you have an
onEnterFrame handler that continues to execute after it's no longer
needed and you have some coding problems. try:

Similar Messages

  • Just installed iOS7 on iPhone 4.  Huge typing lag problem now.  Any fixes?  Apple please fix asap.

    I just installed iOS7 on my new iPhone 4.  Huge typing lag problem now.  Any fixes out there?  How do I uninstall this update.  The phone worked better without it.  Don't even like the new layout and icon design.
    Apple, please fix this now!!!

    Try a Restart. 
    Press and hold the Sleep/Wake button for a few seconds until the red "slide to power off" slider appears, and then slide the slider. Press and hold the Sleep/Wake button until the Apple logo appears.
     Resetting your settings
    You can also try resetting all settings. Settings>General>Reset>Reset All Settings. You will have to enter all of your device settings again.... All of the settings in the settings app will have to be re-entered. You won't lose any data, but it takes time to enter all of the settings again.
    Resetting your device
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears. Apple recommends this only if you are unable to restart it.
    Or if this doesn't work and nobody else on the blog doesn't have a better idea you can contact Apple. 
    Here is a link to their contacts with most of the information below. 
    http://www.apple.com/contact/

  • My iPod touch 4g is having a huge lag.

    Well, I had an iPod touch 4g before, but then it cracked and I got a new one. The new one is a 4th generation,16gb. I have this huge lag that won't go away. Sometimes it does go away. How I make it go away is let it charge for at least an hour, and then it'll work. How I know it doesn't work is it won't make sound. When I have the lag, I can't watch videos, and the keyboard is awfully slow. When you type, you know how when you press a letter the letter gets kind of bigger? Yeah, well, I press the letter, and it gets bigger, but stays bigger, and the iPod is totally frozen!
    I do not want to get a new iPod, because this is the second one I got. :/ And the nearest apple store is 200-300 miles away. I know it's 99 cents to replace, but mo, I can't. I need to make this lag go away as soon as possible. When you hear the shutter sound, when you slide to unlock, and you hear the letters sound, it means the lag is not there. However, the lag comes back quickly! You hear this little sound coming from the charging place, it's really strange. This first happened like 4 moths ago, when I updated the app Instagram. That's how I even got the lag! And then it usually starts to lag when I use kik messanger.
    I really need this problem fixed, it has been bugging me, and making me stressed out..please help! Also, when I try to update it on settings, it says it is already updated!

    Periodically double click the home button and close all the apps in the recently used dock. Then power off and then back on the iPod. This frees up memory. The 4G only has 256 MB of memory.
    Next:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup. See:                                 
    iOS: How to back up                             
    - Restore to factory settings/new iOS device.
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar                       

  • HT204291 Apple TV has huge lag when airplay music from iPhone 5, but video streaming is just fine.

    My new iPhone 5 has trouble with airplay music, however, it did perfectly with video sharing.
    Symptoms: In "Music" app, turn on airplay, tv screen shows the current playing song. But, it has a huge lag, time jumps every 2 second instead of continously roll over. Switch to "Pandora", same issue. But with youtube video, both video and sound appear very normal.
    I tried with my old iPhone 4, no problems at all. I'm pretty sure there's something wrong with the 5. Any idea how to fix this?

    Same here. Streaming from my MBA 2012 to apple tv3 works flawlessly, but any type of streaming with iphone 5 has huge lag. I have 10 mbps of internet dl speed and a cisco N broadband router. 

  • Horrible video skip / lag problem - once per second in all apps!

     I built a new system last month (my first AMD) and I am having a really aggravating problem. In all games and all video playback I get an annoying skip once per second, every second. It affects sound during gameplay but not during movie or mp3 playback. It even happens with the visualization mode in Windows Media Player.
    My system is as follows: MSI K8N Neo4-F, A64 3200+ venice core, MSI 6800GT 256MB PCI-E, two sticks of Corsair valueselect DDR400 512MB each, 500 watt PS, 160GB 7200 SATA HDD. Most recent NVIDIA drivers for everything. WinXP Pro with SP2 and all updates, DX9C. Nothing overclocked, all settings standard.
    I have tried the following solutions:
    1) BIOS upgrades, started with 1.4, installed 1.5, MSI tech support gave me 1.6b2 and I installed that. No luck with any of them.
    2) Memory, installed per MSI directions, but I've tried all legal combinations, including one stick at a time. No change.
    3) full format and reinstall of WinXP. No luck.
    4) Switching between WinXP IDE drivers and NVidia drivers, with and without RAID drivers, No luck.
    5) Removal of 6800GT PCI-E card and replacing with Ancient 8MB PCI Permedia2 video card. Problem still persists.
    6) Disable onboard sound and LAN. No luck.
    7) Running Fedora core 4 on second partition. Installed Nvidia video drivers, tried some games. THIS WORKS! No hitch, no skip, no nothing. Framerates are noticably slower but very stable. In WinXP I saw framerates bounce all over the place, from 230 FPS down to about 70 with one game. That same game on Linux ran smoothly at about 166 FPS with only occasional slight drops. The big FPS drops in Windows usually came right after one of the skips but didn't occure after every skip.
    Right now I'm stumped. Linux uses totally different drivers for sound, LAN and SATA support. Some of those drivers don't fully use the Nforce4 chipset's features, maybe that's part of the difference.

    Thanks TireSmoke:
    I had found that sticky, but I took your advice and went thorugh it in detail last night.  Lots of great info, fixes tweaks and tools, sadly none of them fixed my problem.  The lag problem most people are reporting is not really like the wierd problem I am having.  I have tried the recoommended fixes with ablsolutely no change in my system's behavior.
    I am beginning to suspect a faulty motherboard component.
    Russ_XP:
    I think you are correct about fast writes.  I googled the heck out of that last night and couldn't find any reference to enabling or disabling fast writes on PCI-E.
    The drive is SATA-1.  The Neo4-F is not SATA-2 enabled (there is a hack for it though).  From memory I think it's a Western Digital WD1600-something, 7200 RPM dirve.  I've tried it on both SATA buses and tried disabling the unused bus in BIOS.
    I'm pretty sure I can dig up an old PATA drive somewhere and give that a try.
    Gpalmer:
    True enough, and I don't have these problems under Fedora.  Sadly this is a cross-platform game development box, I need both XP and Fedora working.
    Black_God:
    Nope, this is a clean install.  Although I wonder, could any of the built in XP update and security tools be causing this?  I have disabled Windows firewall and virus protection monitoring.

  • I have huge lag with Safari's Reading List using a rMBP. I have probably 80 articles saved, which is likely the cause of the lag. Is there any way to export that list of articles so as to be able to delete them from Reading List but still have a record?

    I have huge lag with Safari's Reading List using a rMBP. I have probably 80 articles saved, which is likely the cause of the lag. Is there any way to export that list of articles so as to be able to delete them from Reading List but still have a record of the articles I intend to read?

    I'm currently dealing with this issue myself, except that my rMBP has NO articles in the reading list.  It's a brand new rMBP too, purchased just this week, with the 2.6 Ghz Processor & 16GB of RAM.
    Let's see what we can find.  I may just take it back to the Apple Store.

  • Extreamly slow messager app. Takes forever to open and has a huge lag

    Extreamly slow messager app. Takes forever to open and has a huge lag
    Any one else have this issue?

    The stock message app. To be honest my entire phone seems slow.. and it says there is no updates available.. I've updated all of the apps that have available updates and I've even deleted my saved messages... Just not sure why all of a sudden it is running slow.

  • Lag problem with JFileChooser

    I have searched the archives and haven't found any useful information regarding the fact that creating a JFileChooser lags horribly on some systems...namely mine. I have tried running my own program and the FileChooserDemo on java versions 1.4.1_02, 1.4.1_06, 1.4.2_01-b06, and 1.5.0 beta and all of them have the INCREDIBLY slow lagging problem. I am running Win XP pro P3 800 386MB and it takes over 40 seconds to load the chooser. I have disabled all anti-virus software to no avail. I have run my program on a computer at my college which runs Win XP also and there it runs fine...so I am at a complete loss as to what could be wrong. If anyone has any insight into this problem please let me know!
    thanks

    Yeah...they talk a lot about theories of what the problem may be, but only offer a few solutions...none of which have helped me (loading the JFileChooser when app starts, and stopping anti-virus software). Thanks though.

  • I've been considering the Yosemite upgrade but especially after reading some of blue tooth lag problems, I'm wondering how to be able to go back to mountain lion.

    i have been considering upgrading to Yosemite from Mountain Lion but especially after reading about some of the bluetooth lag problems, i would want to be able to return to my current OS, just in case and am unsure what steps to take.

    Drive Partition and Format
    1. Open Disk Utility in your Utilities folder.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Apply button and wait until the process has completed.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Security button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.
    To clone your existing system:
    Clone Yosemite, Mavericks, Lion/Mountain Lion using Restore Option of Disk Utility
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
         1. Select Disk Utility from the main menu then press the Continue
             button.
         2. Select the destination volume from the left side list.
         3. Click on the Restore tab in the DU main window.
         4. Select the destination volume from the left side list and drag it
             to the Destination entry field.
         5. Select the source volume from the left side list and drag it to
             the Source entry field.
         6. Double-check you got it right, then click on the Restore button.
    Destination means the external backup drive. Source means the internal startup drive.

  • Preview lag problem on Premiere Pro CC 2014

    Hi everything!
    I have a big problem on Premiere, when I work on every type of file the Program monitor lag too much.
    I can see one frame every few second!
    But the audio work well...
    It seems that the computer have not enough power to show the video! And I have not modified or applied effect or transition!
    I have got a MacBook Pro Early 2011 with the AMD Radeon HD 6750M (1024 MB) with the OpenCL 1.2 Engine, 2,2 GHz Intel Core i7-2720QM Quad Core (With Multithreading to 8 Core), 16 GB 1666 MHz RAM, with a Magnetic Disc (No SSD). The Machintosh is equipped by OS X Yosemite, reinstalled last week to try to fix the problem.
    Before installing the CC 2014 I used the CS6 for 2 years without problem.
    In Project Settings i have active the Mercury Playback Engine, and the other settings are not changed!
    Someone had the same problem? Or know how to resolve? Because is not easy to use in this condition!
    Thank you very much, Andrea.

    Hi!
    Thank you for the answer!
    My source footage is 1080 50p AVCHD (from Panasonic AC-AG160AEJ), but the problem is on every type of footage, because I tried with a 720 50p from a Canon EOS 6D and the ProRes 422 1080 25p of BlackMagic Production Camera 4K.
    The problem doesn't change with the weight of the footage, with all of the footage type the problem is the same.
    I use the original 7200rpm 750GB hard disk connected with the SATA interface. I think that is SATA 3 at 6 Gbit/s.
    I have tried with all playback resolution possible (Full, 1/4 and 1/8) but the problem doesn't change, even if I change the resolution.
    Unfortunately with the format of last week I lost the CS6...
    I'm writing from Italy and I use the PAL standard!
    I attach a video of the problem and a picture of my graphic card, if they are usefull!
    Video available at this link:
    Lag Problem.mov - Google Drive
    Thank you Ryan!

  • Lag problem in CC and CC 2014

    Hello everyone
    I have been searching for an answere for my lag problem and tried all kinds of stuff but I had now luck. I recorded two movies where you can observe my problem. One from Photoshop CC 2014 and one from Illustrator CC 2014.
    The problem occurs both when using mouse and a cintiq. I disconnected the cintiq and restarted the system using only the mouse but still the same problem.
    I have the system below:
    OS                                          Microsoft Windows 7 Home Premium
    Version                                   6.1.7601 Service Pack 1 build 7601
    Manufacturer                          Sony Corporation
    Model                                     VPCF22S1E
    Type                                       x64-based PC
    Processor                               Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz, 2001 Mhz, 4 kärnor, 8 logiska processorer
    BIOS-version and date          American Megatrends Inc. R1190V3, 2011-09-05
    SMBIOS-version                    2.7
    RAM                                      8,00 GB
    Total RAM                             7,98 GB
    Available RAM                       5,66 GB
    Total virtual memory             16,0 GB
    Avaiable memory                  12,5 GB
    Graphic card:
    Name                                     NVIDIA GeForce GT 540M
    RAM                                      1,00 GB (1 073 741 824 byte)
    Driver                                     nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um
    Driver version version            9.18.13.3788
    Best regards
    Peter

    What zoom level are you brushing at and what kind of brush are you using. I find a lot of lag when the document has a large number of pixels and you zoom out like fit on screen.  Additional lag introduced when wet mixer brush are used a large tip size increase the lag even more.
    Remember Photoshop was designed to be an image editor.  Paint is a nice addition but not Photoshop main gold.  If you want to paint I'm sure a program designed to be a paint program would perform better and have more painters features.  A paint pint program may paint  on the scaled down image and apply the paint to the large document in the background where is look like Photoshop Paint on the large document layer then scale the results down to the zoom out view for there is no lag in Photoshop when you paint at the 100% or higher view.
    Digital Painting Software Review 2014 | Best Painting Software | Paint Programs - TopTenREVIEWS

  • Huge general problem - stability

    Hi all,
    I'm experiencing huge stability problem for the past few weeks.
    Most of my programs (excel, iPhoto, safari...) are crashing without any reasons ... I keep sending reports to apple,... but I thought that if I post something here, someone might have an idea on what's going on ...
    I think it's starting after safari crash (due to java and/or flash)... then, I can't work anymore. I have to reboot my computer and hope for the best.
    I have saved few crash report if that can be of any help.

    You need to follow up your crashes with repairing your disk drive.
    Install OS X to an external drive - so you know it is safe. And then run Disk Utility to repair your drive and permissions. I would not rely solely on DU though to repair drives, I'd invest in Alsoft Disk Warrior.
    Before you install or update your system or add software, always boot from another drive and do repairs, and make sure you have a current working system.
    You may need to update your backups and do a fresh install. Or try using a new test user account.
    At the least use the Reset for Safari to empty and delete the cache files and folders that Safari creates.
    ~/Library/Caches/MetaData
    ~/Library/Caches/Safari
    ~/Library/Safari/ - everything except the bookmarks.plist (might want to move everything to another location temporarily).
    Same for java, flash cache folders.
    Then look into why and what is causing this. Could be bad memory.

  • SAFARI LAGGING PROBLEM SOLVED!!!

    Safari has been driving me crazy with serious lagging. I uninstalled the current version of Flash Player and reinstalled older version 10.1, which is available from Adobe. LAGGING PROBLEM SOLVED!!!

    Welcome to Apple Discussions
    Thanks for posting your fix. I'm sure it will help others having problems with log-ins etc.

  • Lagging Problems

    I've been experiencing these lagging problems when I'm recording to my laptop. It freezes then starts up again and repeats itself. So the results are the same when I play it back.  I’ve been recording from a canon XL2 through a 4pin to 4pin firewire.  Below are my specs to my laptop which I believe should be way more then sufficient to run this program.  Not to mention this is a brand spanking new laptop purchased like a week ago.  The only program that I loaded on this is Premiere Pro CS4 and Onlocation CS4.  And have only used onlocation on it so far. 
    HP HDX18t Premium Series
    Genuine Windows Vista Home Premium with Service Pack 1 (64-bit)
    Intel(R) Core(TM)2 Duo Processor T9900 (3.06 GHz, 6 MB L2 Cache, 1066MHz FSB)
    6GB DDR3 System Memory (2 Dimm) - For 1GB Nvidia GeForce GT 130M
    500GB 7200RPM SATA Hard Drive from
    1GB Nvidia GeForce GT 130M - For DDR3 Memory

    Your laptop specs are fine. Check your cables and connectors and make sure you've run Adobe Updates.
    JP

  • My 9790 just stopped sending emails and BBMs. It does receive them on a huge lag.

    My BB was working fine but stopped sending emails and BBMs and receives them on a huge lag of a day for emails and hours for BBM.   The phone is charged and has signal.   I have pulled the battery out to reboot it but it does not solve it.  Any ideas?
    Solved!
    Go to Solution.

    Service books can be resent either via the bis portal if the telco supports it, or:
    Go the options,
    Device
    Advanced system settings
    Host routing table
    Pressing menu and click register now
    Reboot the device

Maybe you are looking for

  • RE: Cleaning and Compression Environment Repository

    Mark, I'm not sure what I did wrong the first time. I thought I covered all the bases, but just to be certain, I did the whole sequence again and now it works. Before, I did have problems restarting the environment, because the repository was locked.

  • Why are certain sound files not playing correctly in iTunes?

    I have had iTunes for years and have never had prolonged or unsolvable problems with anything playback related until now. I recently acquired some music, and it plays perfectly when I use WMP. When I added it my iTunes library, however, the audio is

  • / Full

    Hello, since recently I cannot do much with my virtual box archlinux guest. It seems that / is full. On the other hand, this is a dynamically growing volume and it currently has only little more than 1 GB in size, which seems ok to me as it is a head

  • Serial Number/Customer Service

    I have a serial number that will not work and I am directed to contact customer service. I chatted with someone on the site and they instructed me to call the phone line which I have, multiple times.  I initially chose a call back in 30 min and after

  • Suggestions to develop lifelog application

     The SmartBand SWR10 does a great job in day activities tracking. However, there are some of my suggestions to the developer. I hope that the application shows the period of time for each light and deep sleep by touching the light blue and dark blue