Accordian Action: IE8: Bouncing

I am very new to designing with Spry and have been watching training videos for help.They have been very helpful and I have learned a lot of workarounds for certain issues. However, I have a problem I can't resolve.
I have added an accordian widget with nested tabbed panel widegets inside the content panels. So: US Regions (accordion widget)>States (tabbed widget)>Cities (tabbed widget)>Properties (tabbed widget).
It looks great when I select the accordion panels in Firefox and the states and properties tabs work as well.
But when I select either the top accordion panel (Northeast) or the bottom panel (West) in IE8 (but not Midwest and Southern in the middle), the entire frame of the page bounces to the right and then back to the left. It is very annoying. I am not sure why this is happening and I don't have the experience to know how to troubleshoot the code.
I know I am probably pushing the limits by using so many nested Spry elements but since it works in Firefox, can I assume that it should be fixable to work in IE8?
In addition, I seem to have added a dotted border that I don't like and I am not sure which css style this applies to?
Thank you for your help.

I completely started with a new page in order to recreate the issue if possible. This is the code I have at this point. Any * indicates proprietary text that I cannot display. So there is no content other than text at this point. I have not altered any of the accordion or tabbed panels css. Any other attributes are from the css style sheet for the current website. All current live pages work well in any browser I have tested.
I had been using googlemaps inside the tabbed panels content and thought that might be an issue, but none of this page contains the actual map code just text indicating that a map will be placed there, and the issue is still there. This is basically a template to enter content into.
I checked it each step of the way in both Firefox and IE8 to see when the problem would begin to happen. Again, at all steps, as with the original completed document, it works very well in Firefox, even with many nested tabbed panels.
In IE8, once I begin adding nested tabbed panels into the content panels, clicking an accordion panel tab will cause the whole page content to shift to the right and then bounce back to the left. It does not matter whether I am selecting the top, middle or bottom accordian panel tabs, nor does it seem to matter if I work back up from the bottom. Selecting tabbed panels within the nested tabbed panels does not cause any issues.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
<title>***</title>
<link href="../css/styles.css" rel="stylesheet" type="text/css" />
<script src="../*SpryAssets/SpryAccordion.js" type="text/javascript"></script>
<script src="../*SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
<link href="../*SpryAssets/SpryAccordion.css" rel="stylesheet" type="text/css" />
<link href="../*SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="topcontainer"><a href="../index.php"><img src="../img/Logo.png" width="205" height="51" border="0"  style="margin-left: -8px" title="*"/></a>
  <h1 align="right">*</h1>
      <div style="background-color: #cfcfcf; height: auto; height: 174px; border: 1px solid #000; border-collapse: separate;">
    <div id="topMenu">
          <ul>
        <li>&raquo; <a href="../index.php">*</a></li>
        <li>&raquo; <a href="../*/index.php">*</a></li>
        <li>&raquo; <a href="../*/index.php">*</a></li>
        <li>&raquo; <a href="../about/index.php">*</a></li>
        <li>&raquo; <a href="../contact/index.php">Contact Us</a></li>
      </ul>
            </ul>
    <p style="margin-top: 8px; text-align:center; font-weight: bold;"><i><a href="mailto:info@*">info@*.com</a></i></p>
      </div>
    <div id="imageWell"><img src="../img/headers*.jpg" width="665" height="174" />    </div>
</div></div><div id="container">
<div id="navigation">
<?php include ("sidebar.php"); ?>
</div>
<div id="content">
    <div id="breadcrumbs"><a href="../index.php">*</a> &raquo; <a href="*.php">*</a></div>
    <h1>*</h1>
    <div id="rightWell*">
      <h2>For more information:</h2>
      <p><img src="../img/people/*.jpg" alt="*" width="105" height="131" align="left" style="padding-right: 6px;" /><strong>* </strong>,<br />
     * </p>
      <p>*<br />
      [<a href="mailto:*@*.com">E-mail *</a>] </p>
      <p> </p>
    </div>
    <div id="Accordion1" class="Accordion" tabindex="0">
      <div class="AccordionPanel">
        <div class="AccordionPanelTab">Northeast</div>
        <div class="AccordionPanelContent">
          <div id="TabbedPanels1" class="TabbedPanels">
            <ul class="TabbedPanelsTabGroup">
              <li class="TabbedPanelsTab" tabindex="0">New York</li>
              <li class="TabbedPanelsTab" tabindex="0">Pennsylvania</li>
            </ul>
            <div class="TabbedPanelsContentGroup">
              <div class="TabbedPanelsContent">
                <div id="TabbedPanels3" class="TabbedPanels">
                  <ul class="TabbedPanelsTabGroup">
                    <li class="TabbedPanelsTab" tabindex="0">*</li>
</ul>
                  <div class="TabbedPanelsContentGroup">
                    <div class="TabbedPanelsContent">
                      <div id="TabbedPanels4" class="TabbedPanels">
                        <ul class="TabbedPanelsTabGroup">
                          <li class="TabbedPanelsTab" tabindex="0">* 1</li>
                          <li class="TabbedPanelsTab" tabindex="0">*2</li>
                        </ul>
                        <div class="TabbedPanelsContentGroup">
                          <div class="TabbedPanelsContent">Map of *  1</div>
                          <div class="TabbedPanelsContent">Map of * 2</div>
                        </div>
                      </div>
                    </div>
                 </div>
                </div>
              </div>
              <div class="TabbedPanelsContent">
                <div id="TabbedPanels2" class="TabbedPanels">
                  <ul class="TabbedPanelsTabGroup">
<li class="TabbedPanelsTab" tabindex="0">*</li>
                  </ul>
                  <div class="TabbedPanelsContentGroup">
<div class="TabbedPanelsContent">
  <div id="TabbedPanels5" class="TabbedPanels">
    <ul class="TabbedPanelsTabGroup">
      <li class="TabbedPanelsTab" tabindex="0">* 1</li>
      <li class="TabbedPanelsTab" tabindex="0">* 2</li>
    </ul>
    <div class="TabbedPanelsContentGroup">
      <div class="TabbedPanelsContent">*1</div>
      <div class="TabbedPanelsContent">* 2</div>
    </div>
  </div>
</div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div class="AccordionPanel">
        <div class="AccordionPanelTab">Midwest</div>
        <div class="AccordionPanelContent">
          <div id="TabbedPanels6" class="TabbedPanels">
            <ul class="TabbedPanelsTabGroup">
              <li class="TabbedPanelsTab" tabindex="0">Illinois</li>
              <li class="TabbedPanelsTab" tabindex="0">Indiana</li>
              <li class="TabbedPanelsTab" tabindex="0">Ohio</li>
              <li class="TabbedPanelsTab" tabindex="0">Minnesota</li>
            </ul>
            <div class="TabbedPanelsContentGroup">
              <div class="TabbedPanelsContent">
                <div id="TabbedPanels7" class="TabbedPanels">
                  <ul class="TabbedPanelsTabGroup">
                    <li class="TabbedPanelsTab" tabindex="0">*1</li>
</ul>
                  <div class="TabbedPanelsContentGroup">
                    <div class="TabbedPanelsContent">* 1</div>
                  </div>
                </div>
              </div>
              <div class="TabbedPanelsContent">
                <div id="TabbedPanels8" class="TabbedPanels">
                  <ul class="TabbedPanelsTabGroup">
                    <li class="TabbedPanelsTab" tabindex="0"> * 1</li>
                    <li class="TabbedPanelsTab" tabindex="0">*</li>
                  </ul>
                  <div class="TabbedPanelsContentGroup">
                    <div class="TabbedPanelsContent">*1</div>
                    <div class="TabbedPanelsContent">*2</div>
                  </div>
                </div>
              </div>
              <div class="TabbedPanelsContent">
                <div id="TabbedPanels9" class="TabbedPanels">
                  <ul class="TabbedPanelsTabGroup">
                    <li class="TabbedPanelsTab" tabindex="0">*</li>
                    <li class="TabbedPanelsTab" tabindex="0">*</li>
                  </ul>
                  <div class="TabbedPanelsContentGroup">
                    <div class="TabbedPanelsContent">
                      <div id="TabbedPanels10" class="TabbedPanels">
                        <ul class="TabbedPanelsTabGroup">
                          <li class="TabbedPanelsTab" tabindex="0">* 1</li>
                          <li class="TabbedPanelsTab" tabindex="0">* 2</li>
                        </ul>
                        <div class="TabbedPanelsContentGroup">
                          <div class="TabbedPanelsContent">* 1</div>
                          <div class="TabbedPanelsContent">* 2</div>
                        </div>
                      </div>
                    </div>
                    <div class="TabbedPanelsContent">
                      <div id="TabbedPanels11" class="TabbedPanels">
                        <ul class="TabbedPanelsTabGroup">
                          <li class="TabbedPanelsTab" tabindex="0">*1</li>
                        </ul>
                        <div class="TabbedPanelsContentGroup">
                          <div class="TabbedPanelsContent">*1</div>
                          <div class="TabbedPanelsContent">*2</div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
              <div class="TabbedPanelsContent">
                <div id="TabbedPanels12" class="TabbedPanels">
                  <ul class="TabbedPanelsTabGroup">
                    <li class="TabbedPanelsTab" tabindex="0">* </li>
                  </ul>
                  <div class="TabbedPanelsContentGroup">
                    <div class="TabbedPanelsContent">
                      <div id="TabbedPanels13" class="TabbedPanels">
                        <ul class="TabbedPanelsTabGroup">
                          <li class="TabbedPanelsTab" tabindex="0">* 1</li>
                          <li class="TabbedPanelsTab" tabindex="0">*2</li>
                        </ul>
                        <div class="TabbedPanelsContentGroup">
                          <div class="TabbedPanelsContent">* 1</div>
                          <div class="TabbedPanelsContent">* 2</div>
                        </div>
                      </div>
                    </div>
                    <div class="TabbedPanelsContent"></div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div class="AccordionPanel">
        <div class="AccordionPanelTab">Southern</div>
        <div class="AccordionPanelContent">Content 3
          <div id="TabbedPanels14" class="TabbedPanels">
            <ul class="TabbedPanelsTabGroup">
              <li class="TabbedPanelsTab" tabindex="0">Alabama</li>
              <li class="TabbedPanelsTab" tabindex="0">Florida</li>
              <li class="TabbedPanelsTab" tabindex="0">Georgia</li>
              <li class="TabbedPanelsTab" tabindex="0">Kentucky</li>
              <li class="TabbedPanelsTab" tabindex="0">North Carolina</li>
              <li class="TabbedPanelsTab" tabindex="0">Oklahoma</li>
              <li class="TabbedPanelsTab" tabindex="0">Tennessee</li>
              <li class="TabbedPanelsTab" tabindex="0">Texas</li>
              <li class="TabbedPanelsTab" tabindex="0">Virginia</li>
            </ul>
            <div class="TabbedPanelsContentGroup">
              <div class="TabbedPanelsContent">
                <div id="TabbedPanels15" class="TabbedPanels">
                  <ul class="TabbedPanelsTabGroup">
                    <li class="TabbedPanelsTab" tabindex="0">Tab 1 Al City 1</li>
                    <li class="TabbedPanelsTab" tabindex="0">Tab 2 Al City 2</li>
                  </ul>
                  <div class="TabbedPanelsContentGroup">
                    <div class="TabbedPanelsContent">
                      <div id="TabbedPanels18" class="TabbedPanels">
                        <ul class="TabbedPanelsTabGroup">
                          <li class="TabbedPanelsTab" tabindex="0">Tab 1 Al City 1*1</li>
                          <li class="TabbedPanelsTab" tabindex="0">Tab 2 Al City 1 * 2</li>
                        </ul>
                        <div class="TabbedPanelsContentGroup">
                          <div class="TabbedPanelsContent">Content 1 Al City 1* 1 Map</div>
                          <div class="TabbedPanelsContent">Content 2 Al City 1 * 2 Map</div>
                        </div>
                      </div>
                    </div>
                    <div class="TabbedPanelsContent">
                      <div id="TabbedPanels19" class="TabbedPanels">
                        <ul class="TabbedPanelsTabGroup">
                          <li class="TabbedPanelsTab" tabindex="0">Tab 1 Al City 2 * 1</li>
                          <li class="TabbedPanelsTab" tabindex="0">Tab 2 Al City 2 * 2</li>
                        </ul>
                        <div class="TabbedPanelsContentGroup">
                          <div class="TabbedPanelsContent">Content 1 Al City 2 * 1 Map</div>
                          <div class="TabbedPanelsContent">Content 2 Al City 2* 2 Map</div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
              <div class="TabbedPanelsContent">
                <div id="TabbedPanels16" class="TabbedPanels">
                  <ul class="TabbedPanelsTabGroup">
                    <li class="TabbedPanelsTab" tabindex="0">Tab 1 Fla City 1</li>
                    <li class="TabbedPanelsTab" tabindex="0">Tab 2 Fla City 2</li>
                  </ul>
                  <div class="TabbedPanelsContentGroup">
                    <div class="TabbedPanelsContent">
                      <div id="TabbedPanels20" class="TabbedPanels">
                        <ul class="TabbedPanelsTabGroup">
                          <li class="TabbedPanelsTab" tabindex="0">Tab 1 Fla city *p 1</li>
                          <li class="TabbedPanelsTab" tabindex="0">Tab 2 Fla city * 2</li>
                        </ul>
                        <div class="TabbedPanelsContentGroup">
                          <div class="TabbedPanelsContent">Content 1</div>
                          <div class="TabbedPanelsContent">Content 2</div>
                        </div>
                      </div>
                    </div>
                    <div class="TabbedPanelsContent">Content 2 Fla * 2 map</div>
                  </div>
                </div>
              </div>
              <div class="TabbedPanelsContent">
                <div id="TabbedPanels17" class="TabbedPanels">
                  <ul class="TabbedPanelsTabGroup">
                    <li class="TabbedPanelsTab" tabindex="0">Tab 1 GA </li>
                    <li class="TabbedPanelsTab" tabindex="0">Tab 2</li>
                  </ul>
                  <div class="TabbedPanelsContentGroup">
                    <div class="TabbedPanelsContent">Content 1</div>
                    <div class="TabbedPanelsContent">Content 2</div>
                  </div>
                </div>
              </div>
              <div class="TabbedPanelsContent">Content 4 Kentucky city tab panel</div>
              <div class="TabbedPanelsContent">Content 5 NC city tab panel</div>
              <div class="TabbedPanelsContent">Content 6 Okl city tab panel</div>
              <div class="TabbedPanelsContent">Content 7 Tenn city tab panel</div>
              <div class="TabbedPanelsContent">Content 8 texas city tab panel</div>
              <div class="TabbedPanelsContent">Content 9 VA city tab panel</div>
            </div>
          </div>
        </div>
      </div>
      <div class="AccordionPanel">
        <div class="AccordionPanelTab">West</div>
        <div class="AccordionPanelContent">Content 4</div>
      </div>
    </div>
</div>
<div class="end"></div>
</div>
<?php include("../footer.php"); ?>
<script type="text/javascript">
<!--
var Accordion1 = new Spry.Widget.Accordion("Accordion1");
var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
var TabbedPanels2 = new Spry.Widget.TabbedPanels("TabbedPanels2");
var TabbedPanels3 = new Spry.Widget.TabbedPanels("TabbedPanels3");
var TabbedPanels4 = new Spry.Widget.TabbedPanels("TabbedPanels4");
var TabbedPanels5 = new Spry.Widget.TabbedPanels("TabbedPanels5");
var TabbedPanels6 = new Spry.Widget.TabbedPanels("TabbedPanels6");
var TabbedPanels7 = new Spry.Widget.TabbedPanels("TabbedPanels7");
var TabbedPanels8 = new Spry.Widget.TabbedPanels("TabbedPanels8");
var TabbedPanels9 = new Spry.Widget.TabbedPanels("TabbedPanels9");
var TabbedPanels10 = new Spry.Widget.TabbedPanels("TabbedPanels10");
var TabbedPanels11 = new Spry.Widget.TabbedPanels("TabbedPanels11");
var TabbedPanels12 = new Spry.Widget.TabbedPanels("TabbedPanels12");
var TabbedPanels13 = new Spry.Widget.TabbedPanels("TabbedPanels13");
var TabbedPanels14 = new Spry.Widget.TabbedPanels("TabbedPanels14");
var TabbedPanels15 = new Spry.Widget.TabbedPanels("TabbedPanels15");
var TabbedPanels16 = new Spry.Widget.TabbedPanels("TabbedPanels16");
var TabbedPanels17 = new Spry.Widget.TabbedPanels("TabbedPanels17");
var TabbedPanels18 = new Spry.Widget.TabbedPanels("TabbedPanels18");
var TabbedPanels19 = new Spry.Widget.TabbedPanels("TabbedPanels19");
var TabbedPanels20 = new Spry.Widget.TabbedPanels("TabbedPanels20");
//-->
</script>
</body>

Similar Messages

  • Content filtering after quarantine

    Hi,
    does anyone know if it's possible to reapply the content filtering to a mail that has been quarantine by one content filter.
    For example if I setup 10 content filters and the 2nd one quarantine the message because of a particular content, the administrator check the mail and after accept it, the mail need to pass trough the remaining 8 content filters and not been immediately delivered to the recipients.
    Is it possible?
    Thank you.

    A quarantine action on a content filter does not immediately deliver the message to the quarantine as it is a non-final action (unless you have included a deliver() action on the filter) it only flags it for quarantine - the message will pass through the rest of the email pipeline (including any other content filters) - assuming that it does not get any other final actions (drop, bounce, deliver) the email will then be quarantined (and it can be quarantined in multiple quarantines depending on results from other filters). When the message is released it will be rescanned for viruses if you have antivirus scanning enabled before it is delivered but not be subject to any other filters.

  • Exporting to AVI too large

    I'm trying to convert a Flash file to .MOV, then take it into QuickTime Pro and export it as an .AVI file so it will play on a Windows PowerPoint file. The exported .MOV is under 2MB, but when I export the .AVI file it either hoses or grows to 280+MB. I'm not sure what compression option I need to use, but most of them seem to strip the quality a bunch. Are there any resources you can recommend that I can read up on about this? Once the file leaves Flash I'm pretty much clueless .. I need it to be clear and small if possible.

    David's answer is on the mark but a bit more confusing than it has to be.
    Flash files use "objects" or "elements" that are reused during playback. They need only be created once to be used over and over again. The format is also "vector" based which simply means that they also need only be created once and then scale (based on the video playback) to the size the author wishes to use.
    So. A bush or a shrub can be used over and over again in the playback (changing size or shape) without adding to the total file size.
    It is the entire reason for creating using the Flash format. One object, used dozens of times, doesn't make the file any larger in file size. These objects can also be used at different video ratios (for want of a better word) because they are "vector" based. They enlarge or diminish in size based on the authors control of the object. They can also have "actions" (the bounce of a ball, for example).
    When you convert these vector formats to "video" you must convert each stage as a "frame". Each image (at 30 frames per second) adds to the total file size and is now "fixed" as a pixel (dot) in an image.
    So. Your .swf export now becomes a very large file size and is "fixed" (no longer scales to the screen). Ugly and large.
    It's not a fault of the export once you know why (and how) it happens.

  • How to block email attachments only from a specific domain?

    Using C370 CISCO IronPort How do I block email attachments only from a specific domain?

    Hi Daniel,
    In order to achieve this, you have three options:
    1. Using a new Incoming Mail Policy
    - Create a new Incoming Mail Policy and define that domain as sender in policy members.
    - Then create an Incoming Content Filter with a condition to match specific file info (for example: filetype, name, size, mime type, etc.)
    - Define an action (quarantine, bounce, drop, etc.)
    - Enable this filter in newly created Incoming Mail Policy
    2. Using existing Incoming Mail policies
    - Create a new Incoming Content Filter with condition to match sender address containing that domain.
    - Add another condition to match specific file info (for example: filetype, name, size, mime type, etc.)
    - Use "Apply Rule" as "Only if all conditions match"
    - Define an action (quarantine, bounce, drop, etc.)
    - Enable this Content Filter in all Incoming Mail Policies.
    3. Using Message Filters
    - From CLI -> filters add a new message filter like below:
    block_attchment_example_com:
    if (mail-from == "(?i)example.com$")
        if (attachment-filetype == "exe")
            drop();
    - Please replace the mail-from domain with the actual domain.
    If you wish to block all attachments, you can chose attachment size rule in all of above three options with a really smaller attachment size, this will result in matching messages that has an attachment.
    Hope this will help.
    Rehan

  • 2010 - Hide recipient's friendly name in moderated rejection message?

    Hi all,
    Our organization just went through a bit of a virus scare. In response we implemented a policy where any ZIP attachments are moderated in order to prevent any other infections from being sent to anyone in the organization via email. 
    My worry is that the rejection message shows the full display name of the original recipient, which reveals more than I'd like to. The last thing I need is to give someone a higher chance of getting their identity stolen.
    I'm running Exchange 2010. Is there any way to customize the rejection message or even just to not show the recipients or the full display name?
    Thanks in advance.

    Hi,
    According to your description, we can deploy a transport rule with condition: when any attachment file name contains text patterns, then we can catch messages with attachment file types by adding the file extensions to match in this condition. For example
    .EXE , .ZIP. At last set the rule action to bounce the message.
    However that this only inspects the attached file name and not the attached file contents to determine the file type. If your goal is to prevent viruses by filtering out specific attachment types, regardless of how the file is actually named, then you may
    want to employ the attachment filtering agent in Edge server instead. More details about
    Understanding Attachment Filtering, for your reference:
    https://technet.microsoft.com/en-us/library/bb124399(v=exchg.141).aspx
    Note: the system generates a delivery status notification (DSN) failure message to the sender and we can customize your rejection response.
    Best Regards,
    Allen Wang

  • CurrentThreadScheduler vs ImmediateScheduler

    Hi
    ImmediateScheduler's Schedule method is pretty straightforward - it simply invokes the action.
    In contrast, CurrentThreadScheduler seems more involved - it creates something called a trampoline, which in turn iterates over an action queue, sleeping between invocations of items in the queue and so forth
    I've been trying to follow the code with reflector but I'm having a hard time understanding the difference. As far as I can tell,
    CurrentThreadSchedule's schedule method calls Trampoline 's
    Run method, which will end up blocking the current thread until the queued action is performed (on the current thread as well) - apparently just like in the case of
    ImmediateScheduler
    I realize I'm missing something, so an explanation would be really appreciated
    Thanks !
    EDIT - In the meantime I've found a couple of resources that may shed light on the subject, if anyone's interested:
    http://channel9.msdn.com/blogs/j.van.gogh/controlling-concurrency-in-rx
    http://community.bartdesmet.net/blogs/bart/archive/2009/11/08/jumping-the-trampoline-in-c-stack-friendly-recursion.aspx

    Hi,
    The trampoline seems to serve three purposes: 
    Prevents dead-locks from scheduler reentrancy.
    Prevents infinite loops in observables that require recursion through scheduler reentrancy.
    Cooperative single-threaded multitasking; I guess it's similar to the proposed
    async/await feature in C# 5.0.  Calling CurrentThreadScheduler.Schedule
    is sort of like using await when the currently executing code was also scheduled via
    CurrentThreadScheduler.
    In the observable world, calling Subscribe should be an asynchronous operation.  There's a problem if the scheduling of an observable dead-locks or blocks the current thread indefinitely because it attempts to execute immediately
    and never completes.
    Ignore the type of scheduler for a moment and consider a scheduled action that eventually, through some sequence of method calls, uses the same scheduler to schedule another action.
    With the ImmediateScheduler, the inner action is executed immediately.
    If the outer action acquires some resource on which the inner action depends, and the inner action cannot acquire this resource until it's released by the outer action, then these actions dead-lock.
    If the outer action depends upon the inner action, and the inner action depends upon the outer action, then this could result in an infinite loop that never yields control to other actions.
    For example: Observable.Return(1).Repeat().Take(1)
    By default, Return uses the ImmediateScheduler
    to call OnNext(1) then OnCompleted(). 
    Repeat does not introduce any concurrency, so it sees
    OnCompleted immediately and then immediately resubscribes to Return.  Because there's no trampoline in
    Return, this pattern repeats itself, blocking the current thread indefinitely.  Calling
    Subscribe on this observable never returns.  See this discussion for more information.
    With the CurrentThreadScheduler, the inner action is scheduled (queued) for execution when the outer action ends.  Conceptually, inner actions are bounced on the trampoline until the current thread is ready to execute them.
    If the outer action acquires some resource on which the inner action depends, and the inner action cannot acquire this resource until it's released by the outer action, then these actions do not dead-lock because the inner action is not executed until
    the outer action completes.
    If the outer action recurses when the inner action completes, then there won't be an immediately infinite loop because the inner action does not complete until the outer action completes first.
    For example: Observable.Return(1, Scheduler.CurrentThread).Repeat().Take(1)
    Here, Return is using the CurrentTheadScheduler to call
    OnNext(1) then OnCompleted().  Repeat
    does not introduce any concurrency, so it sees OnCompleted
    immediately and then immediately resubscribes to Return; however, this second subscription to
    Return schedules its (inner) actions on the trampoline because it's still executing on the OnCompleted
    callback from the first scheduled (outer) action, thus the repetition does not occur immediately.  This allows
    Repeat to return a disposable to Take, which eventually calls
    OnCompleted, cancels the repetition by disposing Repeat, and ultimately the call from Subscribe returns.
    Keep in mind that the examples with Return and Repeat
    do not introduce any concurrency.  When you call Subscribe, it will not return until the observable completes regardless of which of these schedulers you choose.  With the
    ImmediateScheduler, Take calls OnCompleted
    but it cannot cancel the repetition, so Subscribe blocks indefinitely.  Alternatively, the
    CurrentThreadScheduler allows for cooperative single-threaded multitasking between the
    Return and Repeat operators, thus allowing
    Take to cancel the repetition without having to introduce any concurrency.
    - Dave
    http://davesexton.com/blog

  • How do I make a Mail Rule action bounce a message

    Is there a way to have a Mail Rule action bounce a message?
    Thank you in advance.
    Jeff

    paste the following into Applescript Editor and save it as a script
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #ADD8E6;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    using terms from application "Mail"
    on perform mail action with messages selectedMsgs
    repeat with msg in selectedMsgs
    tell application "Mail"
    bounce msg
    end tell
    end repeat
    end perform mail action with messages
    end using terms from</pre>
    then have your Mail rule execute this script.

  • "This document could not be checked out." SharePoint 2010 checkout action using IE8

    I am setting up a two-server farm, and most everything works, except the checkout action for a document.  This problem occurs in both site collections, one of which requires checkout, and the other does not.
    Here are the options I've tried:
    Snow Leopard, Firefox 3.0.1 - works
    Snow Leopard, Safari - works
    Win 2003, IE 7 - works
    XP, Firefox - works
    XP, IE 8 - "This document could not be checked out.  You may not have permission to check out the document or it is already checked out or locked for editing by another user."
    In IE8, I am able to open a document as read only then use the button presented by Word to check out the document.  I cannot use that as a workaround, as not all users have a version of Office that will allow checkout in that way.
    Checkin works fine.  I need to resolve the checkout error.

    I was having the same problem mentioned here. I noted that this problem only appears when I use the FQDN in the URL ex 'http://hostname.domain.com/default.aspx'. If I access the Sharepoint site using the URL 'http://hostname/default.aspx', then
    I do not have any problems checking files in or out.
    I ran into this same error pattern when trying to do a document edit (library is set to force a check out), or do a direct check out via the ribbon menu or item context menu.  Oddly enough when we would use the 'Edit Properties' ribbon button (which forces
    a check out) we did not get an error and the document's status would change to 'checked out'.  Below are the two messages we would receive when trying to do a check out:
     IE error message - "This document could not be checked out. You may not have permission to check out this document or it is already checked out or locked by another user." - Click OK
     IE Error message - "The document could not be opened for editing. A Microsoft SharePoint Foundation compatible application could not be found to edit the document." - Click OK
    After trying several different suggestions I realized that I wasn't having the problem when I was accessing the site locally via FQDN but only when I was using the Public Site URL (via https).  Turns out we were getting the error because we did not have
    an AAM currectly setup.  Once I changed our AAM for the Internet zone with the Public URL value instead of the FQDN the error went away.
    Hope this helps anyone else trying to track this down.  Oh and this was SP2010 w/SP1 (Patch version 14.0.6106.5001) on Win2008 R2 with clients running both Win7 and WinXP using IE8.

  • Action list not found error when trying to install Flash 11. I have IE8 and windows 32 bit. What can

    action list not found error when trying to install Flash 11. I have IE8 and windows 32 bit. What can I do? Thanks

    Hi, Please try to download the installer from the links provided in the following page: http://helpx.adobe.com/content/help/en/flash-player/kb/installation-problems-flash-player- windows.html#main-pars_header
    Thanks,
    Sunil

  • F keys assigned to Actions "bouncing"

    I have noticed that since the last update of AICS6 (13.0.4), F keys assigned to Actions "bounce".
    Pressing an F key now repeats the Action: once on the initial keypress and once more on the key release. And sometimes, the Action will not even be carried out.
    None of these keys are double assigned to any other keyboard shortcut (another unaddressed issue with this program: assigning F keys does not bring up an "already in use" prompt).
    And a little something extra: Clicking on the Action "Play" button will turn the cursor into a crosshair after the Action is completed. None of this  occurs with AICS5.
    This is on a Mac running 10.6.8.

    You have the only known work-around. I have problems with the Default actions in CS6 not completing. I haven't figured out what to do with that yet.

  • Reader X - Under IE8 - Security Warning - Action unmemorized

    Hi,
    When I click a hyperlink, I have a security warning:
    This document tries to connect to the site .....
    I check the box Remember this action to this site and all PDF document.
    But this action is not stored.
    Have you any idea?
    Cordially
    PS: I do not have that message on a link that points to a page

    I have both the .exe and the .msi files in the same directory. I ran
    the .exe. After maybe 15 seconds of the progress bar running across
    the program window, a dialog box appeared that stated, "This patch
    could not be found. Verify that the patch really
    exists..." After that, the installation aborted. I next tried running
    the .msi directly (that is, without the .exe) by double clicking on
    the msi's  name in PowerDesk (the file manager). That immediately
    brought up the "patch could not be found" dialog and aborted the
    installation. Am I missing a file? Is the .MSI file corrupted or not
    the correct file? If I rename the .MSI, thus removing it from the
    installtion process, will the .exe do the whole job on its own?

  • Build XML for Custom Nested Accordian (like Tree View Structure) for SharePoint List Data

    Expected output in Xml:
    <?xml version="1.0" encoding="utf-8" ?>
    - <TopRoot>
    - <Root id="1" Name="Department">
    - <Type id="2" Name="IT">
    - <SubType id="3" Name="Technology">
      <SubSubType id="4" Name="Sharepoint" />
      <SubSubType id="5" Name="ASP.NET" />
      <SubSubType id="6" Name="HTML 5" />
      </SubType>
      </Type>
    </Root>
    </TopRoot>
    List Details:
    list details for storing category / sub category data and code to build tree structure for the same.
    1.Create Custom List named “CategoryDetails”:
    2.Create Column “Category Name” of type single line of text. Make it as required field and check Yes for Enforce Unique values.
    3.Create column “Parent Category” of type lookup. under Additional Column Settings.
    Get information dropdown, select “CategoryDetails”.
    4.Choice column ["SRTypeName"] 1.Root,2.SRTYPE,3.SubSRTYPE, 4.SUBSUBSRTYPE
    In this column dropdown, select “Category Name”:  
    Referance:
    http://www.codeproject.com/Tips/627580/Build-Tree-View-Structure-for-SharePoint-List-Data    -fine but don't want tree view just generate xml string
    i just follwed above link it work perferfectly fine for building tree view but i don't want server control.
    Expected Result:
    My ultimate goal is to generate xml string like above format without building tree view.
    I want to generate xml using web service and using xml i could convert into nested Tree View Accordian in html.
    I developed some code but its not working to generate xml /string.
    My modified Code:
    public const string DYNAMIC_CAML_QUERY =
            "<Where><IsNull><FieldRef Name='{0}' /></IsNull></Where>";
            public const string DYNAMIC_CAML_QUERY_GET_CHILD_NODE =
            "<Where><Eq><FieldRef Name='{0}' /><Value Type='LookupMulti'>{1}</Value></Eq></Where>";
            protected void Page_Load(object sender, EventArgs e)
                if (!Page.IsPostBack)
                 string TreeViewStr= BuildTree();
                 Literal1.Text = TreeViewStr;
            StringBuilder sbRoot= new StringBuilder();
            protected string BuildTree()
                SPList TasksList;
                SPQuery objSPQuery;
                StringBuilder Query = new StringBuilder();
                SPListItemCollection objItems;
                string DisplayColumn = string.Empty;
                string Title = string.Empty;
                string[] valueArray = null;
                try
                    using (SPSite site = new SPSite(SPContext.Current.Web.Url))
                        using (SPWeb web = site.OpenWeb())
                            TasksList = SPContext.Current.Web.Lists["Service"];
                            if (TasksList != null)
                                objSPQuery = new SPQuery();
                                Query.Append(String.Format(DYNAMIC_CAML_QUERY, "Parent_x0020_Service_x0020_Id"));
                                objSPQuery.Query = Query.ToString();
                                objItems = TasksList.GetItems(objSPQuery);
                                if (objItems != null && objItems.Count > 0)
                                    foreach (SPListItem objItem in objItems)
                                        DisplayColumn = Convert.ToString(objItem["Title"]);
                                        Title = Convert.ToString(objItem["Title"]);
                                        int rootId=objItem["ID"].ToString();
                                        sbRoot.Append("<Root id="+rootId+"
    Name="+Title+">");
                                        string SRAndSUBSRTpe = CreateTree(Title, valueArray,
    null, DisplayColumn, objItem["ID"].ToString());
                                        sbRoot.Append(SRAndSUBSRTpe);
                                        SRType.Clear();//make SRType Empty
                                        strhtml.Clear();
                                    SRType.Append("</Root>");
                catch (Exception ex)
                    throw ex;
                return SRType.ToString();
             StringBuilder strhtml = new StringBuilder();
            private string CreateTree(string RootNode, string[] valueArray,
          List<SPListItem> objNodeCollection, string DisplayValue, string KeyValue)
                try
                    strhtml.Appends(GetSRType(KeyValue, valueArray, objNodeCollection);
                catch (Exception ex)
                    throw ex;
                return strhtml;
            StringBuilder SRType = new StringBuilder();
            private string GetSRType(string RootNode,
            string[] valueArray, List<SPListItem> objListItemColn)
                SPQuery objSPQuery;
                SPListItemCollection objItems = null;
                List<SPListItem> objNodeListItems = new List<SPListItem>();
                objSPQuery = new SPQuery();
                string objNodeTitle = string.Empty;
                string objLookupColumn = string.Empty;
                StringBuilder Query = new StringBuilder();
                SPList objTaskList;
                SPField spField;
                string objKeyColumn;
                string SrTypeCategory;
                try
                    objTaskList = SPContext.Current.Web.Lists["Service"];
                    objLookupColumn = "Parent_x0020_Service_x0020_Id";//objTreeViewControlField.ParentLookup;
                    Query.Append(String.Format
                    (DYNAMIC_CAML_QUERY_GET_CHILD_NODE, objLookupColumn, RootNode));
                    objSPQuery.Query = Query.ToString();
                    objItems = objTaskList.GetItems(objSPQuery);
                    foreach (SPListItem objItem in objItems)
                        objNodeListItems.Add(objItem);
                    if (objNodeListItems != null && objNodeListItems.Count > 0)
                        foreach (SPListItem objItem in objNodeListItems)
                            RootNode = Convert.ToString(objItem["Title"]);
                            objKeyColumn = Convert.ToString(objItem["ID"]);
                            objNodeTitle = Convert.ToString(objItem["Title"]);
                            SrTypeCategory= Convert.ToString(objItem["SRTypeName"]);
                           if(SrTypeCategory =="SRtYpe")
                              SRType.Append("<Type  id="+objKeyColumn+" Name="+RootNode+ ">");
                             if (!String.IsNullOrEmpty(objNodeTitle))
                              SRType.Append(GetSRType(objKeyColumn, valueArray, objListItemColn));
                          if(SrTypeCategory =="SRSubTYpe")
                              SRType.Append("<SRSubType  id="+objKeyColumn+" Name="+RootNode+
    ">");  
                             if (!String.IsNullOrEmpty(objNodeTitle))
                              SRType.Append(GetSRType(objKeyColumn, valueArray, objListItemColn));
                          if(SrTypeCategory =="SubSubTYpe")
                              SRType.Append("<SubSubType  id="+objKeyColumn+" Name="+RootNode +"
    ></SubSubType");  
                        SRType.Append("</SubType>");
                        SRType.Append("</Type>");
                catch (Exception ex)
                    throw ex;
                return SRType.ToString();
                // Call method again (recursion) to get the child items

    Hi,
    According to your post, my understanding is that you want to custom action for context menu in "Site Content and Structure" in SharePoint 2010.
    In "SiteManager.aspx", SharePoint use MenuItemTemplate class which represent a control that creates an item in a drop-down menu.
    For example, to create or delete the ECB menu for a list item in
    "Site Content and Structure", we can follow the steps below:
    To add the “My Like” menu, we can add the code below:      
    <SharePoint:MenuItemTemplate
    UseShortId=false
    id="OLListItemLike"
    runat="server"
    Text="My Like"
    ImageUrl="/_layouts/images/DelItem.gif"
    ClientOnClickNavigateUrl="https://www.google.com.hk/"
    />
    To remove the “Delete” menu, we can comment the code below:
    <SharePoint:MenuItemTemplate
    UseShortId=false
    id="OLListItemDelete"
    runat="server"
    Text="<%$Resources:cms,SmtDelete%>"
    ImageUrl="/_layouts/images/DelItem.gif"
    ClientOnClickScript="%SmtObjectDeleteScript%"
    />            
    The result is as below:
    More information:
    MenuItemTemplate Class (Microsoft.SharePoint.WebControls)
    MenuItemTemplate.ClientOnClickScript property (Microsoft.SharePoint.WebControls)
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Help with my Bouncing ball?

    Hey guys,
    I really have the basis of my program working and everything however i just had one question. My Animation works by using the Alarm which uses the take notice method. The takeNotice then calls a move method that updates my ball coordinates. I am having trouble slowing down the animation. My question is how could I slow down the animation for the viewer without altering the velocity. My set period is at 25 milliseconds that makes the ball animation very smooth however when I increase the milliseconds the animation becomes sloppy and choppy. Does anyone have any ideas of how I could fix this problem???
    Thanks guys
    The BingBong class which sets up my environment...
         BingBong.java
        This class defines and implements the demo itself.
         It also implements all the methods required to implement a "MouseListener".
    import java.awt.*;                                   
    import java.awt.event.*;               
    import java.awt.geom.*;
    public class BingBong extends Frame
                             implements     MouseListener, AlarmListener
    //     The instance variables
        private Abutton resetButton,        // My  Buttons
                             throwButton,
                             slowButton,
                             fastButton;          
         private WindowClose myWindow =               //     A handle on the window
                                       new WindowClose();
         private int lastX, lastY;          //     To keep the mouse location
         private Alarm alarm;               //     We use an alarm to wake us up
         private Ball ball;                    // Creating my one ball
    //     Constructor
    //     ===========
    //     The constructor defines a new frame to accommodate the drawing window.
    //     It also sets the scene with the visualization of the element
    //     and the buttons to manipulate the value of the element.
         public BingBong()
              setTitle("Bing Bong");     //     We set the characteristics of our
              setLocation(50, 50);          //          drawing window
              setSize(420, 450);
              setBackground(Color.pink);
              setVisible(true);                         
              addWindowListener(myWindow);          //     To check on the window
              addMouseListener(this);                    //          and on the mouse
              int x = 53;      // Setting the start points for the button coordiates
              int y = 25;
              resetButton = new Abutton("Reset", Color.red, x, y);
              x += Abutton.BUTTON_WIDTH + 5;
              throwButton = new Abutton("Throw", Color.gray, x, y);
              x += Abutton.BUTTON_WIDTH + 5;
              slowButton = new Abutton("Slower", Color.yellow, x, y);
              x += Abutton.BUTTON_WIDTH + 5;
              fastButton = new Abutton("Faster", Color.green, x, y);
              alarm = new Alarm("Beep", this);     //     We "create" an alarm
              alarm.start();                              //          and we get it started
              alarm.setPeriod(25);                    // The alarm will go off every 35 milliseconds
         public void action()
              System.out.println("\nClick on one of the buttons!\n");
              repaint();   // When the program is launched we will notify the user to click via the console
    //     The next method checks where the mouse is been clicked.
    //     Each button is associated with its own action.
         private void check()
                   if (resetButton.isInside(lastX, lastY)) {
                        ball = null;  // If the reset button is hit the ball will go away
                   else if (throwButton.isInside(lastX, lastY)) {
                        double randomX = 380*Math.random();    // Creating a random starting spot for the ball
                        double randomY = 420*Math.random();
                        double randomSpeedX = (9*Math.random()) + 1; //Giving the ball a random speed
                        double randomSpeedY = (7*Math.random()) + 1; // By adding at the end I protect          
                                                                               // in case the random creates a zero
                        ball = new Ball(randomX, randomY, -randomSpeedX, -randomSpeedY);
                        // Calling the Ball constuctor to create a new ball
                   else if (slowButton.isInside(lastX, lastY)) {
                        double currentSpeedX = ball.getSpeedX();  // Getting the current ball's speed
                        double currentSpeedY = ball.getSpeedY();
                        double newSpeedX = currentSpeedX - (currentSpeedX/4); // Taking 1/4 of the current speed and
                        double newSpeedY = currentSpeedY - (currentSpeedY/4); // and subtracting it from the current speed
                        ball.setSpeed(newSpeedX, newSpeedY); // Calling the set speed method
                   else if (fastButton.isInside(lastX, lastY)) {
                        double currentSpeedX = ball.getSpeedX(); // Getting the current ball's speed
                        double currentSpeedY = ball.getSpeedY();
                        double newSpeedX = (currentSpeedX/4) + currentSpeedX; // Taking 1/4 of the current speed and
                        double newSpeedY = (currentSpeedY/4) + currentSpeedY; // and adding it to the current speed
                        ball.setSpeed(newSpeedX, newSpeedY); // Calling the set speed method
                   else  {
                        System.out.println("What?"); // I did not understand the action
                   repaint();
    //     In order to use an alarm, we need to provide a takeNotice method.
    //     It will be invoked each time the alarm goes off.
         public void takeNotice()
              if (ball != null){ // If the ball exists everytime the alarm goes off move the ball
                   ball.move();
              repaint();          //     Finally, we force a redrawing
    //     The only "graphical" method of the class is the paint method.
         public void paint(Graphics pane)
              if (throwButton != null)               //     When instantiated,
                   throwButton.paint(pane);          //     we display all the buttons
              if (slowButton != null)                    
                   slowButton.paint(pane);
              if (fastButton != null)
                   fastButton.paint(pane);
              if (resetButton != null)                    
                   resetButton.paint(pane);
              if (ball != null)                         // Drawing the ball
                   ball.paint(pane);
              pane.drawLine(10, 60, 10, 440);     // Using pixel coord. to draw the lines of our "box"
              pane.drawLine(10, 440, 410, 440);
              pane.drawLine(410, 440, 410, 60);
              pane.drawLine(10, 60, 70, 60);
              pane.drawLine(410, 60, 350, 60);
         public void mouseClicked(MouseEvent event)
              check();                                   //     Handle the mouse click
         public void mousePressed(MouseEvent event)
              lastX = event.getX();                    //     Update the mouse location
              lastY = event.getY();
              flipWhenInside();                         //     Flip any button hit by the mouse
         public void mouseReleased(MouseEvent event)
              flipWhenInside();
         public void mouseEntered(MouseEvent event) {}
         public void mouseExited(MouseEvent event) {}
         private void flipWhenInside()
              if (resetButton.isInside(lastX, lastY))  // Flips the buttons to emulate
                   resetButton.flip();                  // a push down effect when clicked.
              else if (throwButton.isInside(lastX, lastY))
                   throwButton.flip();
              else if (slowButton.isInside(lastX, lastY))
                   slowButton.flip();
              else if (fastButton.isInside(lastX, lastY))
                   fastButton.flip();
              repaint();
    }     // end BingBongMy Ball Class holds its own unique characteristics.....
         Ball.java
         Programmer: Jason Martins
         7/2/08
    import java.awt.*;
    import java.awt.event.*;
    public class Ball
         // My private variables:
         private double x = 0;    // The location of the ball.
         private double y = 0;  
         private Color color = Color.BLUE;
         private double speedX, speedY;  // The speed of my ball.
         private double gravity = 0.098; // The gravity effect (9.8 m per s).
         private double bounceFactor  = 0.97; // The bouncy ness of my ball.
         private final
                   double
                        DIAMETER = 21,      // The size of my ball.
                        LEFT_SIDE = 10,
                        RIGHT_SIDE = 410,
                        BOTTOM_BOX = 440;
         // The default constructor for the Ball.
         public Ball(){
         // The Ball constructor will create an
         // ball due its own unique x and y coordinate as well as its speed.
         public Ball(double x, double y, double speedX, double speedY){
              this.x = x;                    // When a new ball is created,
              this.y = y;                    // it will have 4 critical
              this.speedX = speedX;     // doubles. The x and y coordinate and its speed
              this.speedY = speedY;   // horizontally and vertically.
         //     Drawing a ball
         public void paint(Graphics pane)
              pane.fillOval((int) x, (int)y, (int) DIAMETER, (int) DIAMETER);
              // The fillOval method will start from the specfied x and y and draw a oval based on size and height.
         // Will set the color of the given ball, by the specific color passed.
         public void setColor(Color color){
              this.color = color;                    // Sets the color of the ball.
         // Returns the x coordinate the ball is current at.
         public double getX(){
              return x;
         // Returns the y coordinate the ball is current at.
         public double getY(){
              return y;
         // Returns the horizontal velocity of the ball.
         public double getSpeedX(){
              return speedX;
         // Returns the vertical velocity of the ball.
         public double getSpeedY(){
              return speedY;
         // Sets the speed of the ball by the horizontal and vertical velocity passed.
         public void setSpeed(double newSpeedX, double newSpeedY){
              speedX = newSpeedX;
              speedY = newSpeedY;
         // Will move the ball inside the frame depending on numerous factors.
         public void move(){
              x += speedX; // Add horizontal speed to the x location and update the location.
              y += speedY; // Add vertical speed to the y location and update the location.
              speedY += gravity; // Add gravity to the vertical speed and update the vertical speed.
              if(x <= LEFT_SIDE){ // If my x coordinate is equal to the boundry on the left.
                   x = LEFT_SIDE;  // The ball bounces reversing the horizontal velocity.
                   speedX = -speedX; 
              if(x + DIAMETER >= RIGHT_SIDE){ // If my x coordinate is equal to the boundry on the right.
                   x = RIGHT_SIDE - DIAMETER; // The ball bounces reversing the horizontal velocity.
                   speedX = -speedX;
              /*if(y <= 60 && x <= 70){
                   y = 60;
                   x = 70;
                   speedY = -speedY;
              if(y <= 60 && x >= 350){
                   y = 60;
                   x = 350 - DIAMETER;
                   speedY = -speedY;
              if(y + DIAMETER >= BOTTOM_BOX){  // If my y coordinate is equal to the boundry on the bottom.
                   y = BOTTOM_BOX - DIAMETER;   // The ball bounces reversing the vertical velocity times
                   speedY = -speedY *  bounceFactor; // the bouncyness of the ball.
    }My Alarm Class.... given to us by our professor
         Alarm.java
                                                 A l a r m
                                                 =========
         This class defines a basic timer, which "beeps" after a resetable delay.
         On each "beep," the alarm will notify the object registered when the timer
              is instantiated..
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.Applet;
    public class Alarm
                        extends Thread
         private AlarmListener whoWantsToKnow;     //     The object to notify
                                                           //          in case of emergency
         private int delay = 0;                         //     The first beep will occur
                                                           //          without any delay
    //     C o n s t r u c t o r s
         public Alarm()
              super("Alarm");                              //     With the default constructor,
              whoWantsToKnow = null;                    //          nobody will be notified
         public Alarm(AlarmListener someBody)
              super("Alarm");                              //     In general,  we expect to know who
              whoWantsToKnow = someBody;               //          (i.e., which object) to notify
         public Alarm(String name, AlarmListener someBody)
              super(name);                              //     We can also give a name to the alarm
              whoWantsToKnow = someBody;
    //     The setPeriod method will set or reset the period by which beeps will occur.
    //     Note that the new period will be used after reception of the following beep.
         public void setPeriod(int someDelay)
         {                                                  //     Note:  The period should be expressed
              delay = someDelay;                         //                    in milliseconds
    //     The setPeriodicBeep method will keep on notifying the "object in charge"
    //          at set time intervals.
    //     Note that the time interval can be changed at any time through setPeriod.
         private void setPeriodicBeep(int someDelay)
              delay = someDelay;
              try {
                   while (true){                              //     For as long as we have energy,
                        Thread.sleep(delay);               //          first we wait
                        if (whoWantsToKnow != null)          //          then we notify the
                             whoWantsToKnow.takeNotice();//          responsible party
                   }                                             //          (if anybody wants to hear)
              catch(InterruptedException e) {
                   System.err.println("Oh, oh ... " + e.getMessage());
    //     The alarm is a Thread, and the run method gets the thread started, and running.
         public void run()
              System.out.println("The alarm is now running.");
              setPeriodicBeep(delay);
    }     //     end of class AlarmThanks guys again

    One slightly confusing thing is that what you are calling speedX and speedY are not, in fact, the speed of your ball in the X and Y directions. They are the location-change-in-pixels-per-frame values.
    The "best" refresh rate has more to do with
    (1) the responsiveness of your application: how often it can redraw the screen. This sets an upper limit on the refresh rate. If you try a refresh rate that is too high (ie a delay that is too small) your application won't be able to keep up.
    (2) how sensitive the user is to detecting "jerkiness". This sets a lower limit on the refresh rate. If you try a refresh rate that is too low (a delay value that is too big) then the user will at some point complain that the animation is "choppy".
    It's a matter of trial and error, but I would start at 20 frames per decond (delay == 50) and see what happens. (The code I posted did that - I haven't run it.) If it appears choppy you can print the time inside your paint() method. This will let you check that you really are repainting every 50ms. If not, then you have exceeded the limit mentioned in (1). That is, your application can't "keep up" and you will need to improve the effeciency of paint().
    Say my velocity was 5, if i set my period too 1000 * 5 / (my preferred delay say 50) == 100I'm not completely sure I understand this - if your delay is 50, then the refresh rate must be 1000/50=20 frames per second. You can't change that. If you wanted the ball to move at 5 pixels per second (in the X direction) and your delay was 50 (ie 20fps) then you would find the appropriate speedX value by solving the equation:
    5 = 1000 * speedX / 50
    speedX = 0.25(Note: 5 pixels per second is not very fast)

  • Spinning Cursor of Death on all actions and apps

    I now have the spinning cursor of death on all apps all finder actions in snow leopard
    over last 3 months, OS periodically dumped bluetooth, resetting the Sys management controller fixed this, also zapped the pram twice in this time.   in the last 10 days had to do this every 5 days.
    All actions are extremely slow, spinning ball cursor on all apps and icons bouncing in dock for long time,  all apps slow in operation, the command F  is also very slow, if backing up to usb drive doing any other tasks is almost impossible
    1. booted from external HD (Backup'd with Chronosync) drive and ran disk utility to repair permissions 3 times.   Although it states the permissions are repaired on the 3rd time it was a repeat of the first.  So it appears it is not repairing the permissions at all
    2. reset system management controller
    3. zapped pram
    account - admin ( only used for installing apps).  My user ac and a 2nd user account set up for family visitors. This ac hadn't been opened for 9 months and I found couldn't log in - froze twice forced restart - also to log out and login to any other ac took 3 min, normal 15 secs.   Deleted the family ac and login returned to normal on other ac's
    4.  booted from installer disk and ran disk repair, aok,  and then permissions repair twice.
    5. booted from installer disk 2 and ran apple hardware test  aok
    Been thru the apps folder and deleted any app no longer required and deleted prefs from the prefs folder as well as well an any other orphan files.
    appeared to be working ok until boot next day same problems, re-booted in safe mode and tried using firefox and then opening excel, same problem, deleted firefox and all accompanying files.  Rebooted and problem worse than ever. OS is unusable. Currently working from chronosync bootable HD from last bootable backup 12 days ago. ( files backed up daily)
    I would like to avoid erasing the HD and clean instal if possible I have 400 GB of data -  The latest updates are installed on everything
    Any help as to what to do next would be appreciated
    Lhadis

    lahdis wrote:
    I now have the spinning cursor of death on all apps all finder actions in snow leopard
    over last 3 months, OS periodically dumped bluetooth, resetting the Sys management controller fixed this, also zapped the pram twice in this time.   in the last 10 days had to do this every 5 days.
    All actions are extremely slow, spinning ball cursor on all apps and icons bouncing in dock for long time,  all apps slow in operation, the command F  is also very slow, if backing up to usb drive doing any other tasks is almost impossible
    Sounds like malware, boot drive failing, bad sectors or OS x is messed up.
    Although it states the permissions are repaired on the 3rd time it was a repeat of the first.  So it appears it is not repairing the permissions at all
    Apple changed some things under the hood, so it's going to show certain Disk Uitlity permisisons fixes over and over, that you can ignore.
    2. reset system management controller
    3. zapped pram
    not applicable in your case, but it doesn't hurt.
    I would like to avoid erasing the HD and clean instal if possible I have 400 GB of data -  The latest updates are installed on everything
    Well copy that 400GB of User Data to another drive, as to fix your issue may require a erase and install to fix the bad sectors issue.
    Run through this list of fixes, wipe and install is last and if that still gives you problems then it's a bad drive.
    ..Step by Step to fix your Mac
    This will fix the bad sector issue if you just want to jump and do that.
    Erase, formatting, OS X installs on Mac's
    I also suspect because your using Chronosych, that it's not doing something right and/or OS X is getting confused with the two boot drives.
    Once your fixed up, use Carbon Copy Cloner instead and make sure to name the clone something differnet.
    Most commonly used backup methods
    Read this to max your Snow Leopards performacne, you may juat want to do that then CCC clone it and be sweet and fast again.
    For Snow Leopard Speed Freaks

  • Email bounces that didn't happen in different system

    This month, we switched our newsletter from Constant Contact to Business Catalyst. In analyzing the results of the first issue, I noted about 18 emails that had hard bounces, even though they always went through under the old system. In most cases, I am inclined to say 'no big loss' because the history showed no action. But three of them were in the habit of opening the newsletter, and one has even clicked through to our website or other links.
    The most common message in the report was "Bad destination mailbox address," not "Address does not exist." What does that mean?

    Yes this needs to be fixed.
    I've been having the same issues and have logged a couple support cases recently. Adobe can you guys have someone look into Email deliverability.
    Recently I logged the same support ticket, we could email people fine. But we couldn't blast to them through BC email marketing. We sent through a list of people (a lot) and it never got anywhere except some email responses.
    But now this needs to be looked at.
    Recently I've spoken to other partners that are noticing the same issues.
    Let me know if you need any more information
    Brett Stockley

Maybe you are looking for

  • Problem in long text in SAP script editor

    Hi , i am maintaining long text in SAP script editor , when i am trying to change the long text in SAP script that changes are not reflected in print preview ,for example when i am giving tabs in the script then in print preview of the PO these tabs

  • Cant delete something? Help!

    Basically I tried installing an app, but something happened, I don't really know, and now, I can't delete it. If press and hold it, there wont appear any X's on the installing app, and I cant think of anything else that would allow me to delete it. T

  • External firwire hard disk gone down

    Hi, I have been using a Glyph GT050 external firewire drive with 2 different iBooks without any problems till yesterday, when I daisy chained it with a MOTU Traveller audio interface. Using the Traveller as the first item in the chain, neither the Gl

  • No Audio File in Premiere Pro CS6

    I have a Sony NX30. I use the sony media importer to get the files on my computer and then use the files in Premiere Pro CS6. Everything works fine. I have a new desktop computer. Same windows OS. I installed the exact same sony media importer and th

  • How do I go back to Photoshop CC ? After 2014 downloaded, and the panals were gone, I want to go back to the CC version.. All of my extensions are on CC..

    Please tell me how to revert to the previous version of Photoshop and the programs that went with it ?? The default in Windows Explorer is the 2014 version , with no option for CC at all. I can't even change it on the default extension on windows. I