Keep checking for a var?

I’m looking for a way for my Flash movie to look for a
var sent from my html page and keep looking until it has been
received. Atm I’m using this if statement:
if (var1==undefined) {
prevFrame();
Is there a better way of achieving this? Hopefully without
using two frames?
Thanks!

FlashVars or? Otherwise you might have to rescope that
"_root.var1", anyway, here's a 1frame solution:
stop();
this.onEnterFrame = function() {
if(_root.var1==undefined) return;
delete this.onEnterFrame;
play();
Hope that helps!

Similar Messages

  • My IPhone 5 keeps checking for update

    My iPhone 5 Running iOS 6.1 When I want to update it keeps checking for update, I said maybe it should take a lot of time but it stayed 2 hours Checking for update Please Help???

    Having the same problem with my Sprint iPhone 5.  The service has been dropping on and off for the last month.  Last Saturday it was fine, left it charging over night, woke up the next morning and it said "Searching" in the top left corner of the screen.  Stayed that way for 5 days.  Went the through the routine with Sprint phone support, ##UPDATE#, Erase Network Settings, Restore Phone, no help.
    Took it to the Sprint store on Friday and left it with them for an hour and a half - they replaced the SIM card and got it to re-activate.  Phone was fine yesterday, left it charging last night, and again this morning it is "Searching..." again.
    Called Apple and they are having me go through the same routine restoring the phone.
    Fit to be tied over here.

  • Optical Drive keeps checking for a disk every 5mins

    MBP 15" - My optical drive keeps spinning up as if is checking for or reading a disk. There is not one in there. It doesn't seem to be causing any problems, it's just annoying.

    dseibold wrote:
    MBP 15" - My optical drive keeps spinning up as if is checking for or reading a disk. There is not one in there. It doesn't seem to be causing any problems, it's just annoying.
    I was going to begin my own thread about this but I'm glad you've begun one already.
    I'm having the same issue as you are and it's quite annoying. It's not only annoying but it makes me worry about the longevity of the motor in the optical drive.
    A bit of history -- after my LCD backlight died on my original 2.0GHz MacBook Pro and after 3 repair attempts (all gloriously FAILED) by the Apple Store on Regent Street here in London (flagship store my eye!) it was decided that rather than attempt more repairs Apple would replace the machine. As Apple would only guarantee they'd meet the specs of my previous machine I was given a stock 2.4GHz unibody MBP. I received that machine 4 days ago, Thursday of last week. Out of the box it was exhibiting the phantom disc issues you describe, roughly every 5 minutes. The only time it wasn't making the noise was when I had a disc in the drive.
    Assuming it to be a defective optical drive I booked a Genius appointment and the earliest I could get was earlier today. I took the old machine in and between the issue I described with the new machine and the recent repair debacle they decided to swap the new computer for another new one on the spot (which was good as I would have asked for that to happen had they not brought it up). For interest's sake, that first unibody machine also had 2 dead pixels.
    Fast forward to when I get back to the flat and unpack the second replacement unit today only to find that after I restore from my Time Machine backup the optical drive is doing the SAME THING again. The new unit also has 3 dead pixels. I will be taking this machine straight back to Apple tomorrow to ask *** is going on and get some satisfaction.
    One thing I did find, after some investigation, is that when the optical drive does its phantom ejection, there's a process started. If you watch Activity Monitor (sort by process ID, newest first) you'll see DiskManagementTool kick in when the noise is made. That's a component of Disk Utility however thus far I've not discovered what triggers it or why; however, I wonder if it's anything to do with some component that was on my original MBP that was archived via Time Machine migrated to the new unit. Because I've neither done a clean OS reinstall nor waited past the migration assistant to restore my data, I'm not sure if the drive makes the noise when my backup's not in use but I have this nasty feeling it wouldn't.
    Anyone else having this issue, please launch Activity Monitor and keep an eye on it to see if the same process kicks in when the optical drive makes its noise. I suspect others will see that happen, meaning that's the first step in figuring out a solution. It really seems like it's a software issue so it should be fixable.

  • Msn premium email keeps checking for me

    My msn premium email keeps saying it is checking for messages and will not load new emails in my inbox. I can send messages but nothing is coming through. I have to access my email by logging into hotmail. Does anyone know how to fix this? I emailed verizon support but the email I got back just said they were unable to identify any solutions based on the information I sent to them. After it says it is checking for messages for a while, I get a yellow triangle on the inbox and it has an error code 0X80191002. I like using the msn premium email and just clicking on the mail button rather than having to go to hotmail so I would like to fix it if possible.

    Check out the link below:
    http://www.techsupportforum.com/security-center/ge​neral-computer-security/165401-error-code-0x801910​...
    You should also be able to find help at the following sites:
    http://www.computerhope.com/
    http://www.bleepingcomputer.com/
    Hope this helps.

  • Cannot get in to email, calendar,contacts settings.  Email keeps checking for mail.  Any suggestions?

    Mail, contacts, calendar settings will not open.  My email keeps searching for mail.  Any ideas on how to fix this?

    Have you tried restarting or resetting your iPad?
    Restart: Press the On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after the iPad shuts down, to restart press the On/Off button until the Apple logo appears.
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10-15 seconds).

  • Mail keeps checking for new messages even though there are no new message

    I have a pop account that will not stop checking for new mail. The little circle that acts as the notification that Mail is receiving or sending mail will not go away.
    The folder also has messages that will not go away even after they have been deleted.
    I have logged into my mail server and deleted all mail stored on the server.
    I have trying using the rebuild option.
    I am not sure how to fix this?
    thanks for your help.

    Hello, and welcome to the Discussions.
    What is your current version of OSX and of Mail?
    Was the Rebuild command available, and did you use it on this one Inbox?
    More info, please.
    Ernie

  • Restored phone but now keeps checking for service

    IPhone 4 was in pocket when jumped into pool. Put phone in rice 48 hours. Put on computer. Said to restore phone. Did that but now it keeps looking for service. How do I get iT to make or accept calls?

    Not sure if you can fix a water damaged iphone.  usually you would need to put the phone in a bag of uncook rice for at least a weak, that not even a guarantee that the phone will work.
    You would need to go the Apple store and buy and out of warranty iphone... I think but not sure the price is $99

  • My macbook air 13.3 keeps checking for updates and nothing is happening

    While trying to update the newest bundle from turning on this new computer - I can't get it to stop checking for updates and actually update.

    Just tried that, and it won't let me restart without closing the app store, and it won't let me close the app store until all the updates are completed (and the updates are not completing). It's a vicious cycle. Other ideas?

  • Check for new mail not working on one account

    For a number of months now I have been having trouble getting new mail. I have my Apple Mail 2.1 preferences set to check for new mail every minute and play a New Mail Sound when something arrives. This seems to be working for my earthlink POP account but not my dot.mac e-mail account. The only way to get new dot.mac e-mail on my G5 tower is to alternately click on the left most icons for the different incomming tray icons in my in box, then the InBox icon itself. I dont have to do that for my second e-mail account--an earthlink POP account, or on either account on my laptop. Also, When I do click on the specific in box for my dot mac account, it takes forever to load that new mail, and the activity monitor shows that it is caching every attachment that is already in my in box even though it is already old mail.
    Also, Mail seems to be following Smart Mailboxes arbitrarily. For instance, I have a smart mailbox set up to display any incoming mail from someone in my Family Group from address book, however it seems to ignore about half of these, but display the other half accurately.
    Anyone know whats going on or how to fix it so I dont have to mannually keep checking for new mail? Again, I have my preferences set to check for new mail every minute and to play a new mail sound, and new mail does work fine from my Earthlink POP account.
    Thanks for your help.
    LANNY
    Dual 2GHz G5 Power PC; Titanium PowerBook   Mac OS X (10.4.8)  

    If this happens to your .Mac account only, try rebuilding the mailbox, i.e. select it and do Mailbox > Rebuild.

  • Error with checking for purchases

    i recently purchased many many songs, and i have dial up, so i couldn't finish the downloads all at once. I keep checking for purchases, but this error keeps coming up:
    "Unable to check for purchased music. An unknown error occured (3)."
    i'm not really sure how to get my purchases to download, but any help would be greatly appreciated.

    Yes, that will work.
    A lot easier than using your iPod as a hard drive.
    http://docs.info.apple.com/article.html?artnum=61131

  • Treo keeps checking mail even though set to manual update

    I have my email update set to manual.  But my 800W keeps checking for email.  It's running my battery down.  Short of deleting the email account and starting over, what am I doing wrong?
    Background: When I first got the phone, I stupidly set it to check mail every few minutes until I realized that ran my battery down in about 5 hours.  I set it to 'once per day' and it worked fine.  Then a couple of weeks ago, I temporarily set it to 5 minutes or something like that for a specific situation.  I then tried to change it back to once per day and/or manual.  The value shows 'once per day' on the options page.  But it ignores it now.  Not sure how often it checks.  But i get email notifications almost instantly every time an email arrives.  And my battery is dying again.  I've tried changing it around several times, rebooting, etc. 
    Anybody ever seen this?  Am I missing something obvious?
    Thx
    Post relates to: Treo 800w (Sprint)

    Thanks for the response.  I had long since tried everything you suggested.
    I did quite a bit more testing and googling, and  I think I've resolved it.  But there are definitely some serious problems (My feeling is that these are code defects) in the 800w that caused this.
    1) I created a new email account on my 800w, taking all of the default values
    2) I set the email scheduler refresh rate on the account settings page to 1 day.  But I found later that it made no difference what I set it to.  Same results
    3) I have my own hosting business and host my own email pop server.  So I have easy access to the POP logs.  Here is a snippit from the pop logs with "refresh rate = 1 day":
    12/12/08 21:07:31 INFO  pop3server: Connection for treo.************************.com from 174-149-227-149.pools.spcsdns.net
    12/12/08 21:08:40 INFO  pop3server: Connection for treo.************************.com from 174-149-227-149.pools.spcsdns.net
    12/12/08 21:09:52 INFO  pop3server: Connection for treo.************************.com from 174-149-227-149.pools.spcsdns.net
    12/12/08 21:11:04 INFO  pop3server: Connection for treo.************************.com from 174-149-227-149.pools.spcsdns.net
    12/12/08 21:12:16 INFO  pop3server: Connection for treo.************************.com from 174-149-227-149.pools.spcsdns.net
    12/12/08 21:13:28 INFO  pop3server: Connection for treo.************************.com from 174-149-227-149.pools.spcsdns.net
    12/12/08 21:14:40 INFO  pop3server: Connection for treo.************************.com from 174-149-227-149.pools.spcsdns.net
    12/12/08 21:15:53 INFO  pop3server: Connection for treo.************************.com from 174-149-227-149.pools.spcsdns.net
    4) Note the time between each line.  It's basically exactly 1 minute + 10-13 seconds.  The 10-13 seconds is the processing of the POP call.  When the POP call ends, it waits precisely one minute and checks again.  I want to point out that there isn't even an OPTION on the refresh menu on the 800w to refresh once a minute. But it is indisputable from the log on my mail server that this is indeed what is happening.  (I set up that pop mailbox specifically for my treo, and no other client mail app is accessing it.)
    5) I changed all the values on the refresh time menu, and even turned off 'Send/receive when I send" option.  I wasn't sending anyway.  But I was just grasping at straws.
    6) I then discovered that there are TWO places to set the refresh rate (???? that's a good design????).  If you open the inbox and select Delivery Preferences from the menu, there is ANOTHER checkbox to "Connect and check for messages every...." with an entry field to enter the number of minutes.
    7) Ok.. this is the defect in the code:  That checkbox was OFF, and the entry field was gray.  That obvious has to mean that I don't want to autocheck anything.  (and that is the default way it comes up on a new account, which makes sense).   But it appears the checkbox is being IGNORED in the code.  It was indeed checking.  And I suspect the empty grayed 'minutes' field was probably returning 0 or something like that to the code.  So ignoring the checkbox and having a zero minutes refresh rate, it was probably defaulting to a minimum of 1 minute.  But it should NOT be refreshing at all with that checkbox off.
    8) I turned the checkbox ON and set the value to 15 minutes:
    12/12/08 22:18:34 INFO  pop3server: Connection for treo.*******************.com
    12/12/08 22:34:09 INFO  pop3server: Connection for treo.*******************.com
    12/12/08 22:49:46 INFO  pop3server: Connection for treo.*******************.com
    9) Note that as soon as I checked the checkbox and set the refresh to 15 minutes, that is indeed precisely what I have in my POP log.  Oh, yeah... by the way... the much more obvious "Automatic Send/Receive" setting on the account menu is still set to 1 day... (why is that page and option even there???)
    10) So in summary, you have one scheduler where the user can set a value that is completely ignored.  And you have a buried checkbox that defaults to off and the code apparently doesn't check it and assumes it's always on. 
    I don't need any additional help.  It's working now.  But I think someone in development needs to take a serious look at how this is working based on my scenario and analysis above.
    Thanks.
    Post relates to: Treo 800w (Sprint)
    Post relates to: Treo 800w (Sprint)

  • HT3576 Ok so i have this iPod touch (3rd gen) and i'm trying to update it through iTunes and when i click  check for update it keeps saying this version of iPod software (2.2.1) is your current version. what do i do? how do i update it?

    Ok so i have this iPod touch (3rd gen) and i'm trying to update it through iTunes and when i click  check for update it keeps saying this version of iPod software (2.2.1) is your current version. what do i do? how do i update it?

    You have a 1st generation iPod Touch. It can not be upgraded beyond iOS 3.1.3, it is available at the link below.
    http://support.apple.com/kb/HT2052

  • How do I get out of an iphone restoration loop, itunes keeps saying it has detected an iphone in restore mode and that it must check for software updates and reinstall the ios, it completes this process and then says: detected iphone in restore mode etc.,

    Background: my iphone 3gs was running wonderfully - no issues at all, as normal.
    I let the power run down to critical and got the empty battery screen - plugged it in and when it had enuf juice it displayed the cord-to-itunes-of-death-screen...
    I had just backed up the previous to icloud so no worries... I just plugged in and thought ok this will just take a second...it completed the restore then said with a glazed amnesic font "Itunes has detected an iPhone in recovery mode, and has never seen or restored this iphone ever before, since this is a stranger iphone, itunes does not trust it and must call the ipolice to check for contraban in its orifices and cavities, you must restore"... kidding of course... but
    OMG at home I did the whole restore process no less than 20 times while optimizing and accounting for different variables each time (restoring on a new system with a fresh OS, trying to restore and a mac, restoring then restarting empty cache, restart unistall itunes then restore restart restore, installing an older version of Itunes and restoring. going back to Vista and restoring), and every single time it would complete the check, the update/check, the ios reinstall, and then whatever else and say "complete"... and then no icon menu would appear for the device in itunes so unplug the phone and replug and get the whole "Itunes must render restore aid" message. SO I went to the genuis bar at my local iBoutique thrice - each time the bewildered but very courteous and knowledgable genuis wanted to keep trying ... since I had been on this treadmill for about two weeks I decided each time to respect my fellow appletonians and not suck up genius time... but I really want my old 3gs back... why - I like that it amazes the youth who occaisonal are puzzled by seeing something apple that they don't recognize and in wonder and amazement at its age they learn that even though its no longer invited to iOS family gatherings that it still can call home and ask why Apple waited so long when it was a kid to give it copy-paste ability like all the other kids, then ask for money for the shrink bill.. ... . . ..

    Soooooooo.... You obviously need to restore the device
    It seems that you have tried several options to restore it. What I would do is leave it plugged it and hold down the Home button AND the Power button together till you see the white apple appears. Then let go of the Power button but continue to hold the home button. You should get the message in iTunes again saying that the iPhone needs to be restored. Hit OK then RESTORE.
    Hope this helps!!

  • Is it possible to keep an email account on the iPhone but stop if from checking for new mail?

    I have an email account that has been deleted from the provider (Gmail), but I want to keep the old mails on my phone, while stopping it from checking for new mail.  Is this possible? 
    If I disable the account to stop if from checking for new mail (and producing a bunch of annoying pop-ups every time the mail app is opened), the account becomes invisible and the old mails disappear.  I want to keep them visible to I can read and refer to them, but want to stop the phone from trying to download new ones or check the account.
    Any help appreciated. 

    Thanks for the thought.  In this case, that doesn't really help much, as it requires a bunch of button pushing just to check emails.  Plus, if I'm not mistaken, in addition to switching modes every time I check email, it also prevents the other accounts from downloading the most recent mails as well.  Since it's possible to keep an account on a Mac computer, but take it offline, it's very disappointing if there isn't a way to do the equivalent on an iPhone so that it passively holds the mails but doesn't send constant pop-ups every time the app is accessed.

  • Itunes says that the version of software on my ipod touch 3rd gen is up to date, but IOS 5 is avaliable. I have checked for software updates for days but it keeps saying that 4.2.1 is the current version. Why cant i get IOS 5?

    itunes says that the version of software on my ipod touch 3rd gen is up to date, but IOS 5 is avaliable. I have checked for software updates for days but it keeps saying that 4.2.1 is the current version. Why cant i get IOS 5?

    bradenfromwaikerie wrote:
    itunes says that the version of software on my ipod touch 3rd gen is up to date, but IOS 5 is avaliable. I have checked for software updates for days but it keeps saying that 4.2.1 is the current version. Why cant i get IOS 5?
    because you do not have a 3rd generation device. The OS Version says so , otherwise you would be at 4.3.5 minimum and also Itunes is also always correct in determining if you have the latest OS ( if not it fetches the newest from Apple's Servers ) . And because a 2nd generation iPod stops at 4.2.1 you can't get the newest OS, because your device is old. Buy a new iPod , they have iOS5 preinstalled.

Maybe you are looking for

  • "Table of Contents" web part - How to have expand/collapse buttons? (I can use only CSS/JavaScript/JQuery)

    Hi there, I have a Table of Contents web part which is great. Is there a way so it shows only top level sites and then one can expand or collapse any top level site to see/hide the subsites? As of now it shows HR Parent site - HR sub site 1 - HR sub 

  • C3- equalizer in multimedia player distorts rtsp s...

    Equalizer in multimedia player distorts rtsp stream playback (m.youtube.com...). Playback loses sync when the equalizer is open or if the eq settings are edited. Looks like the processor could not keep up with decoding the stream and processing using

  • How to apply Password Protection On attachment send through mail from SAP

    Hi All,    I want to apply Password Protection on file send as an attachment from SAP on Email. I know how to send email from sap with attachment in it.  A smartform is coverted to a attachment and send on email. But how can i apply password protecti

  • Managing Route-Map based MPLS VPN

    1) How to derive the VPN information of the MPLS VPN configured using route-maps? As I understand, stitching route-maps information to derive VPN is complex as it is difficult to derive & correlate the filters tied to each of the route-maps that are

  • Address restriction for country in smartforms

    Hi, My requirement is like this, I m passing address number (adrnr) to address tag (Standard address node) in smartform and getting the address correctly including all the details. But i want to print the country only if it is not equal to 'GB'. As i