Very quick one...

Can someone please take a very quick look at this section of code and tell me why it's not working:
if (last_action._currentframe > 90) {
advance_mc._visible = true;
else {
advance_mc._visible = false;
I quite literally want the movieclip "advance_mc" (on the root level) to be invisible until the movieclip "last_action" (also on the root level) has progressed beyond its 90th frame.
Presently, "advance_mc" does not appear at all.
Any help would be greatful.
Thanks

If that is the only code you have working to achieve the desired result, you'll be coming up short.  In general, codes either sits waiting to execute (functions) or executes as soon as it comes up and is done (what you show).  What you need is to have that code continuously being called, which you can do using enterframe coding.  Place the following in the _root timeline...
this.onEnterFrame = function(){
     if (last_action._currentframe > 90) {
          advance_mc._visible = true;
     }  else {
          advance_mc._visible = false;
          delete this.onEnterFrame; // remove it unless you'll be moving back to <= 90

Similar Messages

  • When I'm typing and have to hit the back button to correct the preceding letter, my correction becomes a correction of the whole message. It begins erasing very quickly, one letter at a time but doesn't stop. Help!

    I need help with my back button. It goes crazy and instead of erasing one letter, it very quickly starts erasing the whole message...one letter at a time. But very quickly!

    Try resetting your phone: hold the on/off and home buttons simultaneously until you see the Apple logo (ignoring the off slider that appears first), then release.  If the problem persists, try restoring your phone.

  • A very quick one.....

    Hi guys,
    I have seen this operator: <> used in PL/SQL before, but have not been able to get a good description of what it does. <> is treated as an operator by all the search engines!
    an example of use below:
    if emprec.sal <> p_sal then
         check_emp_sal_comm (p_sal, p_comm);
    end if;
    I understand what's going on around it i.e the calling of the procedure based on the condition.
    Cheers,
    Anton

    it is another way of writing != (NOT EQUAL TO)
    Careful about the null values in those variables when comparing!
    if emprec.sal <> /* NOT EQUAL TO */ p_sal thenhttp://download-east.oracle.com/docs/cd/B19306_01/appdev.102/b14261/fundamentals.htm#sthref489
    Message was edited by:
    Kamal Kishore

  • IOS 8.1.3 - Battery draining very quickly

    Since installing iOS 8.1.3 on my iPhone 6 the battery has started to drain very quickly with little to no use. Anybody else having the same problem

    I too was having some serious battery drain on IOS 8.1.3 on my iPhone 5S. The phone kept getting warm (like I was using maps navigation) I think I just fixed it.  On the hunch that it had to be something with location services I went to the following location in my phones settings: Settings->Privacy->Location Services now scroll all the way down and Click System Services. Disable Cell Network Search, Setting Time Zone, and Wifi Networking. You can also try disabling these one at a time. I really don't need these services so I disabled them all.
    Your phone should now cool down and hold a charge like it did before, mine does. Here are what those settings you are disabling do:
    Cell Network Search:This tracks cell tower usage and congestion, and sends the data back to Apple for analysis as to what towers are being used the most, how you move between cell towers, and which ones are overused. It does not help your phone locate a cell tower. Turning this off will not affect your phone’s performance, according to Apple.
    Setting Time Zone:Your time zone will be instantly adjusted according to your geographic location. Ever notice how as soon as you turn on your phone after a long flight, it displays the local time perfectly, even before getting cell signal? It’s this setting. If you turn it off, you’ll lose that functionality.
    Wi-Fi Networking:This particular setting is interesting, and requires some explanation. As you move around a city, your iPhone is constantly picking up WiFi signals. It geotags that data (“XYZ WiFi is at this GPS location”), encrypts it so that it is anonymous and unique (otherwise the data would look like all hotspots are named “linksys”), and stores it as what Apple calls “crowdsourced Wi-Fi Hotspot locations”. Next time someone walks by that exact hotspot, their iPhone will know where they are without using GPS – because you basically already “marked” the area. Shutting this setting off will stop that info from being sent to Apple. It will not affect your phone’s performance.
    * The above was taken from: http://www.clear-coat.com/blog/iphone-privacy-settings/
    -Joe

  • HT4623 I have downloaded the ios 6, three times but it just doesn't install. Right now, it's been 3 hours and my iphone is stuck on around 20% of updating ios. If I restore to ios 5, it happens very quickly but on ios 6 it's not. Kindly point out what am

    I have downloaded the ios 6, three times but it just doesn't install. Right now, it's been 3 hours and my iphone is stuck on around 20% of updating ios. If I restore to ios 5, it happens very quickly but on ios 6 it's not. Kindly point out what am I doing

    Hi Eric Ferguson,
    Thanks for using Apple Support Communities.
    For troubleshooting on this, take a look at this article:
    iTunes: Specific update-and-restore error messages and advanced troubleshooting
    http://support.apple.com/kb/ts3694
    Error 13, 14, 35 and 50 (or -50)
    These errors are typically resolved by performing one or more of the steps listed below:
    Perform USB isolation troubleshooting, including trying a different USB port directly on the computer. See the advanced steps below for USB troubleshooting.
    Put a USB 2.0 hub between the device and the computer.
    Try a different USB 30-pin dock-connector cable.
    Eliminate third-party security software conflicts.
    There may be third-party software installed that modifies your default packet size in Windows by inserting one or more TcpWindowSize entries into your registry. Your default packet size being set incorrectly can cause this error. Contact the manufacturer of the software that installed the packet-size modification for assistance. Or, follow this article by Microsoft: How to reset Internet Protocol (TCP/IP) to reset the packet size back to the default for Windows.
    Connect your computer directly to your Internet source, bypassing any routers, hubs, or switches. You may need to restart your computer and modem to get online.
    Try to restore from another known-good computer and network.
    Best of luck,
    Mario

  • When I try to open a picture it does open but closes very quickly and the screen displays a black border with a white circle and a ! in the middle????? Help!!! GM

    WHEN I OPEN A PICTURE FROM IPHOTO IT CLOSES VERY QUICKLY AND A BLACK BORDER WITH A WHITE CIRCLE WITH AN ! IN THE MIDDLE OF IT. WHEN IT START A SLICE SHOW THE PICTURES ARE NOT THERE. HELP!!!!

    The ! turns up when iPhoto loses the connection between the thumbnail in the iPhoto Window and the file it represents.
    Other than that, what version of iPhoto do you have? Assuming 09 or later try
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD
    P.S. Please don't type in block capitals. They are harder to read and on the forum it looks like you're having a tantrum

  • Battery drains from 10% to 0% very quickly

    I think I'm getting fairly normal battery life but I've noticed on several occasions that when my battery reaches 10%, it drains to 0% very quickly. Far more quickly than normal. Anyone else encountered this? Any ideas as to why? I've let it completely drain and then fully recharged it but that didn't seem to help.

    This is one of the many, many issues with "7", unfortunately.
    It seems that everyone is seeing increased power consumption, (whether they're aware of it or not). I'm guessing (and this is just an educated guess) that the layering and background position sensing and active icons are all adding to the power consumption of each device.
    I'm assuming that Apple, in its infinite wisdom, decided to show off all of these exciting new features, so they enabled everything by default. At least, that's what I would do, if I was a marketing type without technical knowledge...
    Perhaps there will be a way to turn some or all of the "eye candy" features off in future updates, but that's more of an UNeducated guess!
    As to all of the other issues being reported...well, I wouldn't want to be the employees responsible for going through the messages from their feedback pages.
    You're not alone, but that doesn't improve our battery life, I'm afraid.

  • T400s Hard Drive Clicking - Load/unload cycle count SMART Attribute decreasing very quickly

    Hi,
    I get a T400s 2808 CVG. I degrade to XP Pro SP3.
    The Hard-drive is Toshiba MK2529CSG.
    I experience Hardrive clicking (or ticking) when the hard drive is idle. Forcing the drive to be busy silences the ticking sound.
    On the other hand I get the issue that "Load unload cycle count" SMART attribute is  decreasing very quickly. I loose 1 point each 4 or 5 days.
    I also make a little test to check the correlation between the reported number of load unload cycle count and the ticking sound. 
    Postive. Each time I hear the tick, each time the SMART attribute report one more Load/unload cycle count.
    Any one get the same issue?
    Any solution?
    I already see and read http://www.thinkwiki.org/wiki/Problem_with_hard_drive_clicking
    Thanks and regards,
    Patrick

    any harddisk that make any unusual mechanical noises probably means the the harddisk will die soon
    T400s - 2815RW1 + Win7 Ultimate
    Don't pm me for help! That's what the forum is for. Also, Google's nicer than me. Ask him.

  • My battery in iPod touch 4G runs off very quickly.

    I have iPod touch 4G. My battery started to runs out very quickly compare the past. I would appreciate your tips.

    Try:
    - 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                                      
    Apple will exchange your iPod for a refurbished one fwith a new battery for $79. They do not fix yours.
    Apple - iPod Repair price                       
    A third-party place like the following will replace your battery for less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
    Replace the battery yourself if you are up to it. You can purchase a replacement battery for about $10
      iPod Touch Repair – iFixit

  • HT1476 My battery dies very quickly and even when the battery indicates that it is 50% full

    My battery dies very quickly and even when the battery indicates that it is 50% full

    I had similar issue with one of the macbooks in the office. Make sure you've got latest firmware installed (run Software Update). This resolved the issue for us instantly (you may need to reboot mac AFTER firmware upgrade for this to work).

  • Battery Dying Very Quickly

    In the past week my Samsung Galaxy S3 has been dying very rapidly. Before this started my battery would last the entire day. Beginning about a week ago I noticed that after a complete charge my battery will drain to 40% or 50% after just one hour and I am not even using it but for maybe 5 minutes during that hour. The battery continues to drain very quickly so I am constantly having to charge it during the middle of the day. I also noticed that if I am using it while it is charging the battery life will not increase, whereas before it would. Also, when the battery level gets low the message to plug in your charger appears, but when I hit "okay" the message just keeps reappearing over and over. Before it would just appear every few minutes or so. I did a cache wipe a few days ago which seemed to improve it for a day, but all the issues are reappearing.
    Any ideas on what I should do?

    There have been reports of the s3 battery charge not being detected correctly, and it stopping its charge when it thinks its at 100% even if it isn't. (However it was said to be happening with International versions as opposed to US versions). Someone reported that Samsungs website recommend turning off power saving, rebooting the phone, and then charging the phone to get it to report correctly. Don't know if that will work or not, but you could try it. If you haven't already looked up battery issues on the Samgsung website give that a try.
    Samsung
    From the webpage linked pick Cell Phones, and then select your model number in the window that opens.

  • Phone heats up very quickly

    I have bought my IPhone 5 16g Last week and unfortunately I'm thinking of returning it back to apple. I found that when using the 3G function the phone heats up very quickly. But if I use wifi there is no problem.
    The lower life of the battery would be a product of the overheatin I would think.
    I Hope Apple would replace my phone. Can any one guide my how can I replace this?
    Cheers
    Suresh

    The phone heating up is definitely concerning.  Overheating can happen when processor-intensive applications are running. Maps is a good example of this.  While the phone will get fairly warm, it should not be hot to the touch.  Has anyone noticed if the overheating begins when using a specific application?  
    Here are some steps to try:
    1) Note the application that you're using when this happens. (If it's just random, skip #2)
    2) Clear the cache on that application. Settings> Applications> Manage Applications> (May have to choose All at the top)> Select
          App> Clear Cache. 
    3) Touch and hold on a blank spot on a home screen> Motorola Widgets> GPS Toggle. Turn off GPS quickly this way.
    4) If you have a live wallpaper, that may cause the device to overheat as well. 
    5) See if your software is up to date.  Settings> About phone> Android Version 2.3.X. If it's still 2.2, go to system updates at the
          top. 
    6) Last resort: Master Reset (Settings> Privacy> Factory Data Reset).
    If none of this has worked, please reply back with the following information:
    1) Temperature of the battery: Dialer> *#*#4636#*#* > Battery Information> Battery Temperature.
    2) Android Version: See step 5. 
    3) Whether or not you have tried a master reset. 
    4) If you do have Gingerbread, did it only happen after Gingerbread. 
    If something above worked, and your phone has stopped overheating, please reply back with what worked. Perhaps it will help someone else or identify a trend. 
    Thanks a lot for bringing this to our attention. 

  • When I plug my iPad up to charge it says not charging, and my battery drains very quickly what can I do to fix?

    When I plug my iPad up to charge it says not charging, and my battery drains very quickly what can I do to fix?

    There are two different types of adapters by Apple that look similar. One is a 5 Watt adapter used with iPhones and iPods. The other is a 10 Watt adapter used with the iPad. Other than looking at the text on the adapter, which is hard to read, you can tell the different by looking at the socket the pin part plugs into the adapter. The 5 Watt has two notches and the 10 Watt has only one notch.
    Make sure you use the 10 Watt adapter with an iPad.

  • Very quick battery drain on mid 2013 macbook air please help!

    hello, my 13" macbook air is losing battery very quickly and i don't know why or what to do...
    i tried to reset the SMC and deleting all my cache files... i have closed all running applications and the battery save preferences are on default...
    I'm running OS X Mavricks and when i first installed it i did get about 14 hours of battery life with normal use, but now i only get as high as 6 hours.
    what can i do to get things back on track?
    thanks to anyone who helps!

    1. Check the cycle count of the battery against the limit for your model. The battery may be due for replacement. If the power adapter is connected almost all the time, the battery may need replacing even though the cycle count is not too high.
    2. Follow these instructions, or these for OS X 10.9 or later.
    3. In the Energy Saver preference pane, uncheck the box marked
    Enable Power Nap while on battery power
    4. You can also try resetting the SMC.
    5. Make sure your system is up to date in Software Update.
    6. Make a "Genius" appointment at an Apple Store, or go to another authorized service center.

  • I can't open the app store, safari the mail app, youtube app and the maps app. they try to open then close very quickly. what can I do?

    I can't open the app store, safari the mail app, youtube app and the maps app. they try to open then close very quickly. what can I do?

    Try downloading another app - any free app - that seems to reset something and the apps may start working again. Try that first. If that doesnt work, try these steps
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    Close all apps. Go to the home screen first by tapping the home button. Quit/close open apps by double tapping the home button and the task bar will appear with all of you recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner to close the apps. Restart the iPad. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.

Maybe you are looking for