An enterFrame event and a timer conflict

I have a hitTest on an enterFrame event that adds a movieClip.
I then want the movie clip to be on a timer that changes it to another movieClip.
As you can imagine, there is a conflict because the hitTest always finds the original Mc an so over-rides the timer.
I know this is a logic problem but I cant seem to figure it out.I am pretty sure I am thinking about this the wrong way.
any suggestions?
here is some of the code:
//this is the hitTest
this.addEventListener(Event.ENTER_FRAME,leftPillarHit);
function leftPillarHit(ev:Event):void {
if (drawer.myCursor.hitTestObject(leftPillarHitTest)) {
rightPillar.visible=false;
leftPillar.visible=true;
if(leftPillar.visible=true){
movieClipTimer.start();
this is the timer:
rightPillar.visible=false;
//swap two movie clips on timer
var movieClipTimer:Timer=new Timer(5000,0);
movieClipTimer.addEventListener(TimerEvent.TIMER, changeImage);
function changeImage(evt:TimerEvent):void {
leftPillar.visible=! leftPillar.visible;
rightPillar.visible=! rightPillar.visible;

I don't know that this will solve the problem (I don't understand the problem), but the following line is not correct:
if(leftPillar.visible=true){
should be either
if(leftPillar.visible==true){
OR
if(leftPillar.visible){

Similar Messages

  • Entourage: "Event and computer time zones do not match."

    Since installing the latest update to the Mac OS (10.4.6) I have a glitch with Entourage (Office 2004 for Mac v. 11.2.3) and I believe it has something to do with the Mac OS. See below for explanation:
    When adding a new calendar event to the calendar, I get an error which reads:
    "Event and computer time zones do not match. In Calendar views, the event time is adjusted to display correctly." This is not true. I've checked the time zones in both my OS and Entourage and that is not the problem.
    It must have to do with how it interacts with the latest update of the Mac OS. I had not updated software on my laptop for a while, and it did not exhibit this error, so as a test, I downloaded and installed the latest version of Office and tested Entourage: no error message. To be sure, I restarted the computer and tried again: no error. Then I downloaded and installed all of the latest updates to the Mac OS using Software Update: I got the error. So, I think the problem is the interaction between the latest update of Office 2004 for Mac and the latest Mac OS or maybe even just something in the Mac OS.
    There are plenty of people complaining about this on the newsgroups at Mactopia. I'm not sure who needs to repair this problem - Apple or Microsoft, but does anyone know if there will be a patch issued by Microsoft to fix the problem? Or maybe my assessment is wrong and you have another solution?
    Thanks very much for your help with this problem.
    Dual G5 2.0 and Powerbook titanium   Mac OS X (10.4.6)  

    I am in Ohio (eastern time) and I am also having this problem. It is not annoying but my problem is I am not able to schedule any meeting on Entourage. (It will not show if the person I am inviting is busy or not). They use the Exchange server in my company, and I read on the microsoft site that public folders and hence the calendar items are not synced. But seems like this page is for Office X and not 2004. Any clues? Is the time error related to me not able to schedule meetings? I am using latest 10.4 and Entourage 2004.
    http://www.microsoft.com/mac/resources/resources.aspx?pid=resourcekits&rk=office x&article=/mac/officex/ork/KnownIssuesEntourage.xml
    MacBook Pro, iMac G4   Mac OS X (10.4.7)   2 GHz, 2G RAM

  • Entourage- Event And Computer time zones do not match. Please Help

    Event and computer time zones do not match. In calendar views,the event time is adjusted to display correctly.
    Whenever I set up a appointment I put it in at one time and it show up as another.
    PleaseHelp

    I am in Ohio (eastern time) and I am also having this problem. It is not annoying but my problem is I am not able to schedule any meeting on Entourage. (It will not show if the person I am inviting is busy or not). They use the Exchange server in my company, and I read on the microsoft site that public folders and hence the calendar items are not synced. But seems like this page is for Office X and not 2004. Any clues? Is the time error related to me not able to schedule meetings? I am using latest 10.4 and Entourage 2004.
    http://www.microsoft.com/mac/resources/resources.aspx?pid=resourcekits&rk=office x&article=/mac/officex/ork/KnownIssuesEntourage.xml
    MacBook Pro, iMac G4   Mac OS X (10.4.7)   2 GHz, 2G RAM

  • Calendar iphone deleting events and changing times

    My iPhone calendar is synced with my google calendar.  I haven't had a problem adding or changing events in either until recently.  Lately events in my calendar have disappeared or changed their times.  (Ex: I know I added an event to my calendar via my phone a week ago for yesterday.  Yesterday I was left in a panic because it had deleted itself from my calendar.  Today my child's parent conference time was changed in my calendar to an hour earlier than I set it for.)
    Any suggestions to fix the issue?

    I had already checked the time zone and it is correct.  The time zone wouldn't delete appointments from the calendar anyway, would it?

  • [iPhone] Touch event and countdown timer

    Hi all,
    in my app I want to have a uilabel in my mainview which displays a countdown from a chosen number of seconds. This shouldnt be too hard. But now comes the clue. I only want the timer to start the countown when there are no touch events at all. So every time the user clicks a button, changes to a different view or does anything else the timer should start counting down from the begining again.
    How would you do this?
    How do I termine if there is a touch event anywhere in the app?
    Do I use NSTimer?
    Thanks for taking your time and making thoughts!

    From what you've said, you are going to decrement a variable every second unless the user does something on the screen, right? If so...
    Create your variable and set it to the starting value, say, 10 seconds.
    Set up your timer to call a given method (@selector:myCountdownMethod) every second.
    The method should decrement the counter every time it is accessed (i.e. every second), then update your UILabel. It should also handle what happens when the counter hits zero.
    Next, your touchesBegan method should simply set the counter value back to its original starting value, i.e. 10. The timer will still trigger every second and decrement the counter, it'll just never hit zero unless the user doesn't do anything for 10 seconds.
    Hope this helps.

  • Scheduler and Report Time Conflict

    Hello,
    We have scheduled some Jobs such as monthly, semi-annually reports using dbms_scheduler. we use 10gR2 software and windows 2003 server. we have a report which supposed to run at 4:00 AM and as soon as the report finishes it sends the report as email to the authorized users. when the scheduler ran the report inside the report it shows as ran at 3:08 AM where they get systimestamp. but when i query the
    select last_stat_time, next_run__date from dba_scheduler_jobs where job_name ='TEST';
    last_start_time next_run_date
    03-DEC-12 04.00.00..223000 AM -04:00 07-JAN-13 04.00.00..200000 AM -04:00
    when I query systimestamp from dual on that database from sqlplus:
    i get the following:
    systimestamp
    04-DEC-12 07.40.16..152000 AM -05:00
    I see the difference of -04.00 and -05.00 from both of the queries. i know the systimestamp from dual is correct. how to I fix the scheduler Job to run at the correct time with daylight savings to take effect?
    Help is much appreciated.
    Thank you.

    789287 wrote:
    Hello,
    We have scheduled some Jobs such as monthly, semi-annually reports using dbms_scheduler. we use 10gR2 software and windows 2003 server. we have a report which supposed to run at 4:00 AM and as soon as the report finishes it sends the report as email to the authorized users. when the scheduler ran the report inside the report it shows as ran at 3:08 AM where they get systimestamp. but when i query the
    select last_stat_time, next_run__date from dba_scheduler_jobs where job_name ='TEST';
    last_start_time next_run_date
    03-DEC-12 04.00.00..223000 AM -04:00 07-JAN-13 04.00.00..200000 AM -04:00
    when I query systimestamp from dual on that database from sqlplus:
    i get the following:
    systimestamp
    04-DEC-12 07.40.16..152000 AM -05:00
    I see the difference of -04.00 and -05.00 from both of the queries. i know the systimestamp from dual is correct. how to I fix the scheduler Job to run at the correct time with daylight savings to take effect?
    Help is much appreciated.
    Thank you.More appropriate for the Scheduler forum (Scheduler but I can tell you that if the job schedule is specified with a time zone expressed as a GMT offset (as yours are) then it is NOT "dst aware". Also comes into play if you are using a pl/sql function vs. the scheduler calendaring expressions for REPEAT_INTERVAL.
    I'd suggest you close this msg and start again in the proper forum. You'll get better and more focused help there.

  • When putting an event on my iPhone calendar and the time, when it goes to iCloud to my laptop or iPad calendar the times are different.  How can I make the time the same?

    When putting an event and the time on my iPhone calendar, when it goes to iCloud to my laptop or iPad calendar the times are different.  How can I make the time the same?

    Welcome to the Apple Community.
    Is the calendar you are adding events to on the phone an iCloud calendar.

  • Delete BOTH an event and To Do at the same time?

    Just getting a handle on the To Do feature - which I've never really used. I looked into some of the other GTD apps but I don't really need anything that in-depth right now, and I can use iCal to easily sync with my Treo. Anyway ...
    I read another post with the tip of dragging an event from the calendar into the To Do list - that way it adds a header above the item (ie. Yesterday, Today).
    But when I delete either the To Do or the event, the other one is still there. I'm guessing ical just copied the event, and doesn't actually link it somehow. Just a bit of a PITA as I have to delete both.
    Has anyone found a soluton for this? TIA.

    Ok let me clarify this, I got a internet connection, I got a router, Im having a problem with windows Vista when I boot up the computer its starting both the local area connection and the wireless connection at the same time, and when that happens it conflicts and cancels my internet connection, all the above suggestions I already have, done.
    Im just wondering how do I setup the network so it won't conflict with the internet wireless connection and still keep the local connection alive on my home computers, or if I have to how do I shut off my local connection so that won't start up when I re-boot the computer or boot it from a cold start. Its not letting me shut down the Local Area connection when I boot with Vista, and giving me network errors!! GRRR!!
    Message Edited by jughead4158 on 10-08-2008 07:28 AM

  • Lion 10.7.2 On both mac book pro and iMac, both with Lion 10.7.2, obtain repeated iCal event notifications from calendar or address book.  Cannot turn these off.  They repeat several times per session and every time computer is used.  How to diagnose this

    Lion 10.7.2 On both mac book pro and iMac, both with Lion 10.7.2, obtain repeated iCal event notifications from calendar or address book.  Cannot turn these off.  They repeat several times per session and every time computer is used.  How to diagnose this?

    First, uninstall "SuperTV" (whatever that is) according to the developer's instructions. It isn't working and it's filling the log with noise.
    If you have more than one user account, these instructions must be carried out as an administrator.
    Launch the Console application.
    Step 1
    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.
    Enter "BOOT_TIME" (without the quotes) in the search box. Note the timestamps of those log messages, which refer to the times when the system was booted. Now clear the search box and scroll back in the log to the last boot time when you had the problem. Post the messages logged before the boot, while the system was unresponsive or was failing to shut down. Please include the BOOT_TIME message at the end of the log extract.
    Post the log text, please, not a screenshot. If there are runs of repeated messages, post only one example of each. Don’t post many repetitions of the same message. When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    PLEASE DO NOT INDISCRIMINATELY DUMP THOUSANDS OF LINES FROM THE LOG INTO A MESSAGE. If you do that, I will not respond.
    Important: Some private information, such as your name, may appear in the log. Edit it out by search-and-replace in a text editor before posting.
    Step 2
    Still in Console, look under System Diagnostic Reports for crash or panic logs, and post the most recent one, if any. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if present (it may not be.) Please don’t post shutdownStall, spin, or hang logs — they're very long and not helpful.

  • Is there a way to enter an event time in Calendar as a reminder for me and NOT have Calendar erase it in the info as it reads it into the event start and end times?

    Calendar can recognize and derive event start and end times from the text description entered.  However, when it seizes on a time (start and/or end) and automatically enters it as the start and/or end time, it also (sigh) deletes the time from the text.  I enter the times as reminders for me, how can one prevent them from being deleted by Calendar??

    I am having the same darn problem. I really dislike this auto feature in Calendar.
    Can anyone help us please?

  • Printing event start and stop times

    In month view, is there any way to have both the start and stop times for an event show when you print the calendar so you can see the duration of an event - thanks.

    You might be able to use this script to reset the start/stop times to zero.  Try with a small selection and see if it works for you.
    http://dougscripts.com/itunes/scripts/ss.php?sp=batchtrimtime

  • Time zone support help: how do I enter an event and have it keep that time regardless of time zone?

    I consistently enter events in one time zone, because that is just easier. I would prefer it KEEP them as entered, not revise them as I travel. IE, I live overseas and constantly travel. It is very difficult to keep track of my schedule if I must always calculate the time zones when entering or viewing events. How do I set it up to leave them as entered, even as I travel, without changing the ipAd clock to stay in one time zone?

    Hi karlsf!
    It sounds like you may need to adjust your time zone support settings. An article about doing this can be found here:
    iOS: How to adjust Time Zone Support for calendars
    http://support.apple.com/kb/ht4576
    Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • I entered a new calendar event at I cloud on my laptop.  The enent showed up on my I Phone  4S but, the start and finish times on the entry in I cloud was different than the times shown on the I phone calendar.  How do I sync the time in my I Phone with

    I entered a new calender event using I cloud on my laptop. The enent transfered to my i Phone 5 S but, the start and finish times shown st i cloud on the laptop are different than the times shown on the i phone.  How do I sync the times on the i Phone with the times shown on the laptop i cloud calender?

    Turn off time zone support on the phone.

  • Hello, starting with today I have a strange problem: all events are correctly shown in the finder but in FCP-X there`s`none and every time I open it creates a new event. What is wrong?

    Hello, starting with today I have a strange problem with Final Cut Pro X: all events are correctly shown in the finder but in FCP-X there`s`none and every time I open it creates a new event. What is wrong?

    Here`s the screenshot.
    But anyway:
    The drive is Makintosh HD from my Macbook and it is shown in the event mediathek and in the projects. Since I`ve recognized this problem I installed FCPX again and consequently the event and project directory created by FCPX is where it should be and it shows all the test events including it`s files.
    So what happens? Opening FCPX you see only one event and that a new empty event. All previous events are not shown there even if you can see them in the finder. So if you import again the clips they are in this new event library. After closing correctly FCPX and reopening there again is nothing than an new and empty event. What it does is that it recognized that i.e. there are events with previous numbers and so it creates an new one with the next available counting number.
    If you want to open one event from the finder it by clicking to the file it opens FCPX but it says it cannot open the clicked file.

  • Events a mess after splitting and adjusting time.(iphoto '11)

    My most recent event is such a mess I don't really know where to start without writing an essay, in the hope that it's been seen before I'll be breif but am willing to expand and provide screenshots etc if it will help.
    Basically, I've duplicated the contents of the event twice and ended up with 3 events called 'original', '16:9' and '4:3' (hopefully no explanation needed).
    So the first thing I notice is when I click on any of these events, all 3 are shown in list view (with the collapsable arrows) but only one of the events will actually display the photos despite the others saying that they have the correct number of photos.
    I'm wondering if this is now how iPhoto 11 works, if it is fair enough, I haven't actually split events like this before in this version) and if it is can I delete the two events that don't show photos without affecting the third event, I haven't tried so far just in case.
    But it gets worse, I've collected together photos other people have taken and adjusted the time so they display in order, now instead of all all my photos being listed in one of the events I have a few in each and no matter what I do I don't seem to be able to regroup them except by highlighting all 3 events and opening them together.
    My issue is compounded because I have a lot of photos in this event(s) and the more I try to move them around the more complicated it is to keep track of them.

    Old Toad wrote:
    How did you duplicate the photos in the original event and then create a new separate event with those duplicates?
    cmd-D to duplicate, select the second photo (I sort by date, so the second photo is the duplicate of the first), split event, (this moves all but the first photo into a new event), manually select all the originals in the new event and drag them into the first event.
    When you open one of the events with no photos do you see any thumbnail windows, although blank?
    No. Unfortunately I've been doing a little more fiddling so can't post a proper screenshot but using the one below as an example:
    Click to enlarge
    You will see the numbers of photos don't add up.
    By way of example:
    Three events (original, 16:9 & 4:3)
    By selecting 'original' from the main event window I get what you see, it's as though I'd selected all three events before double clicking but didn't.
    By selecting '16:9' from the main event window, all 3 events will open again in list view, in this view the 'originals' heading has the other 86 photos/thumbs in, the '16:9' heading has the other 86 photos/thumbs in, and the '4:3' heading has 1 photo/thumb in.
    By selecting '4:3' from the main event window, all 3 events will open again in list view, in this view the 'originals' heading has no photos/thumbs in, the '16:9' heading has has no photos/thumbs in, and the '4:3' heading has 1 photo/thumb in.
    If I do select all 3 events in the main event window and double click, I get all three headings with all the photos/thumbs in.
    That was up until a moment or two ago, now if I repeat the action in coloured text, I don't get headings for events that don't show any photos.

Maybe you are looking for

  • How to update CU1 & CU2 to SCCM 2012 R2

    I Install SCCM 2012 R2 then I install CU1 immediately. After about 2 months, I install CU2 in Primary Site. Now I found some bug, but it should be fixed by CU, then I found this is because I didn't push CU to client. So I have some questions about Up

  • Banner size video - how can I set the canvas to an odd size?

    I'm interested in creating web page ad banners that include some looping video. Is there a way to set the canvas size to 350x250 or some other odd size? If not, do you know if any other video editing software can allow this? Thanks, DAN PowerBook G4

  • Create DVD backup

    It it possible to create a boot disk on CDROM, but this limits the size to 650 MB (roughly). Is it possible to make a boot disk in DVD format, and if so, can it be done by burning all the relevant files on a Win 2k DVD burner? Our rep is suggesting a

  • Garage band results cheesy? Am I expecting too much?

    For eg: more often than not I'll download a midi and it will sound great played through quicktime. When I open it up in Garage band often the file will sound different, some instruments sound different or the temp may be different. A lot of the time

  • Burning Events and pictures to disc

    I am new to Mac. I downloaded all my pictures from my old PC. I organized them into Events. I'd like to save them to disc as Events. They are now well organized. How do I save them just like the Events has them? Thank you for the help. Mike