Put Delay Before 'return' in Function

When I create function that allow flash to detect object's velocity, a problem happen. I can't put delay before 'return' executed. It's cause result of function is null or 0. There's the script:
function SSvelocity(Target:Object,target_property:String,delay_ms:int=1000):Number
     if ((target_property!="x")&&(target_property!="y")&&(target_property!="z")&&(target_property!="rotation"))
          trace("ShortenScript: err(SSvelocity[1]): SSvelocity("+Target+","+target_property+","+delay_ms+")");
          trace("                                   SSvelocity(the_object,target_property,delay_millisecond)");
          trace("                                   position should filled with \"x\" or \"y\" or \"z\" or \"rotation\"");
          trace("                                   and don\'t forget about quotes(\")");
          DisplayError = true;
          return null;
     var detecta:Timer = new Timer(1000);
     var detectb:Timer = new Timer(1000);
     var resulta:Number;
     var resultb:Number;
     detecta.delay = delay_ms;
     detectb.delay = delay_ms;
     detecta.start();
     detecta.addEventListener(TimerEvent.TIMER, handlera);
     detectb.addEventListener(TimerEvent.TIMER, handlerb);
     function handlera(event:TimerEvent)
          detecta.stop();
          if (target_property == "x")
               resulta = Target.x;
          else if (target_property=="y")
               resulta = Target.y;
          else if (target_property=="z")
               resulta = Target.z;
          else if (target_property=="rotation")
               resulta = Target.rotation;
          detectb.start();
     function handlerb(event:TimerEvent)
          detectb.stop();
          if (target_property == "x")
               resultb = Target.x;
          else if (target_property=="y")
               resultb = Target.y;
          else if (target_property=="z")
               resultb = Target.z;
          else if (target_property=="rotation")
               resultb = Target.rotation;
     // I want put delay before return, because it's resulting NaN and often 0
     return (resultb-resulta);

I agree with Ned that you should rethink your approach. Objects A and B are your Information Experts (GRASP (object-oriented design) - Wikipedia, the free encyclopedia) on the problem at hand, so they should be responsible for storing their own previous positions and calculating velocity.
Let's assume that it's possible for you to apply the same Base Class to both A and B. That Base Class might look something like this:
public class VelocityClip extends MovieClip {
     //each history will contain the past 10 values for that property
     protected var propertiesHistory:Dictionary = new Dictionary();
     //by adding or removing property names to this Array, you can change what properties are being tracked
     protected var trackedProperties:Array = ['x', 'y', 'rotation'];
     //capture values every 100 ms (10 times a sec)
     protected var timer:Timer = new Timer(100);
     public function VelocityClip() {
          super();
          for each (var property:String in trackedProperties) {
               //create a spot to store the history of each tracked property
               propertiesHistory[property] = new Vector.<Number>();
          timer.addEventListener(TimerEvent.TIMER, storeValues);
          timer.start();
     protected function storeValues(e:TimerEvent):void {
          for each (var property:String in properties) {
               var history:Vector.<Number> = propertiesHistory[property] as Vector<Number>;
               if (history.length > 9) {
                    //stay at 10 total indices by removing first item
                    history.shift();
               history.push(Number(this[property]));
     public function getVelocity(property:String):Number {
          var history:Vector.<Number> = propertiesHistory[property] as Vector<Number>;
          if (!history) return NaN;//no history for this property
          if (history.length < 10) return 0; //haven't been moving for a full sec.
          //history[9] was recorded sometime in the last 99 ms, and history[9] and history[0] are 1 sec apart
          //subject to the limitations of the Timer Class
          return history[9] - history[0];

Similar Messages

  • Long delay before returning to menu

    I've made several movies and burned them using iDVD in the past, but I've never had this problem. After the movie is done playing, it takes at least a good minute to two minutes for the main menu to come back up. Any idea what is wrong or how to fix it?

    It sounds like you miight have some extra space at the end of your movie. Sometimes a stray fragment of audio or video left over from editing gets located down the time line from the end of your movie. They can be tiny and hard to see. The movie will then play out with a dark screen until it reaches the "end" at that stray fragment, before returning to the menu. Expand your time line as wide as it will go and do a careful search for any such fragments and delete them.
    Also, if you have music that has been muted but extends out past the end of your movie, the dark screen will play out until the end of the muted song before switching back to the menu.
    Although unlikely, for some reason you may have left an extra long black clip at the end of your movie. (It happened to me once,)
    If none of the above resolves your problem, try using the search function of this forum. I have seen your issue come up a lot.

  • How to create delay before tween or function in AS?

    Hi there
    I have a number of cases where I have a tween happening in ActionScript, but I would like it to happen after a delay from the event that triggers it. At the moment I'm creating this delay by having a tween that does nothing (eg. an "_x" tween for which the start and end points are the same) and then using tween1.onMotionFinished = function(){… to create the one I really want.
    Is there a way to create this delay more neatly? At the moment what I am doing works fine, but it's still a workaround and if there's a better way to do it I'd like to learn. It'll probably help me out in the long term.
    I'm using AS2 in CS3.
    Thanks!

    Try using setInterval

  • Timer before return to the input page

    Summary:
    I have a working page. User inputs their details. Clicks on Submit. Writes to the database table. Goes off to this acknowledgement page.
    I want to pause the page (the acknowledgement page) for awhile before returning to the form again.
    Question:
    At the moment, after the Submit, the acknowledge page display and the session ends there. I need to redirect it back to the user input form. Please advice. How will I achieve this, What code to include? Where to include the piece of code? Thank you.
    Source Code:
    <?php require_once('Connections/dbAttendance.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form")) {
      $insertSQL = sprintf("INSERT INTO attendlist (Windowsid, title, firstname, surname, extension, mobile, jobrole, course, cpg, mgrname, room) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)",
                           GetSQLValueString($_POST['textfield'], "text"),
                           GetSQLValueString($_POST['select'], "text"),
                           GetSQLValueString($_POST['textfield2'], "text"),
                           GetSQLValueString($_POST['textfield3'], "text"),
                           GetSQLValueString($_POST['textfield4'], "text"),
                           GetSQLValueString($_POST['textfield5'], "text"),
                           GetSQLValueString($_POST['select5'], "text"),
                           GetSQLValueString($_POST['select2'], "text"),
                           GetSQLValueString($_POST['select4'], "text"),
                           GetSQLValueString($_POST['textfield7'], "text"),
                           GetSQLValueString($_POST['select3'], "text"));
      mysql_select_db($database_dbAttendance, $dbAttendance);
      $Result1 = mysql_query($insertSQL, $dbAttendance) or die(mysql_error());
      $insertGoTo = "Thankyou.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
        $insertGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $insertGoTo));
    mysql_select_db($database_dbAttendance, $dbAttendance);
    $query_rsAttendance = "SELECT * FROM attendlist";
    $rsAttendance = mysql_query($query_rsAttendance, $dbAttendance) or die(mysql_error());
    $row_rsAttendance = mysql_fetch_assoc($rsAttendance);
    $totalRows_rsAttendance = mysql_num_rows($rsAttendance);
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Delegate Register</title>
    <link href="Registerpage.css" rel="stylesheet" type="text/css" />
    <link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
    <link href="SpryAssets/SpryValidationSelect.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryValidationSelect.js" type="text/javascript"></script>
    </head>
    <?php
    $date = date(“format”, $timestamp);
    ?>
    <body>
    <div class="container">
      <div class="header"><img src="Cerner At Imperial2.jpg" width="960" height="150" alt="" /><!-- end .header --></div>
      <div class="content">
        <h3>Register: <?php echo "Date  - ".date("d/m/Y - H:ia")?></h3>
        <form action="<?php echo $editFormAction; ?>" method="post" name="form">
          <table width="780" border="0">
            <tr>
              <td><div align="right">User ID *</div></td>
              <td><span id="sprytextfield1">
                <input name="textfield" type="text" id="textfield" tabindex="1" size="18" maxlength="10" />
              <span class="textfieldRequiredMsg">A value is required.</span></span></td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">Title *</div></td>
              <td><span id="spryselect1">
                <select name="select" id="select" tabindex="2">
                  <option value="0">Select</option>
                  <option value="1">Ms</option>
                  <option value="2">Mrs</option>
                  <option value="3">Mdm</option>
                  <option value="4">Dr</option>
                  <option value="5">Mr</option>
                  <option value="6">Prof</option>
                </select>
              <span class="selectRequiredMsg">Please select an item.</span></span></td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">First name*</div></td>
              <td><span id="sprytextfield2">
                <input name="textfield2" type="text" id="textfield2" tabindex="3" size="30" maxlength="30" />
              <span class="textfieldRequiredMsg">A value is required.</span></span></td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">Surname *</div></td>
              <td><span id="sprytextfield3">
                <input name="textfield3" type="text" id="textfield3" tabindex="4" size="30" maxlength="30" />
              <span class="textfieldRequiredMsg">A value is required.</span></span></td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">Contact / Bleep *</div></td>
              <td><span id="sprytextfield4">
                <input name="textfield4" type="text" id="textfield4" tabindex="5" size="30" maxlength="30" />
              <span class="textfieldRequiredMsg">A value is required.</span></span></td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">Mobile no: (optional)</div></td>
              <td><input name="textfield5" type="text" id="textfield5" tabindex="6" size="20" maxlength="20" /></td>
              <td> </td>
            </tr>
            <tr>
              <td> </td>
              <td> </td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">Job Role *</div></td>
              <td><span id="spryselect5">
                <select name="select5" id="select5" tabindex="7">
                  <option value="0">Select </option>
                  <option value="1">Doctor</option>
                  <option value="2">Nurse IP</option>
                  <option value="3">Nurse OP</option>
                  <option value="4">Midwife</option>
                  <option value="5">Booking Clerk</option>
                  <option value="6">Medical Secretary</option>
                  <option value="7">OP Receptionist</option>
                  <option value="9">CNS/NP</option>
                  <option value="10">Tester</option>
                </select>
              <span class="selectRequiredMsg">Please select an item.</span></span></td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">Manager's Name *</div></td>
              <td><span id="sprytextfield5">
                <input name="textfield7" type="text" id="textfield7" tabindex="8" size="30" maxlength="30" />
              <span class="textfieldRequiredMsg">A value is required.</span></span></td>
              <td> </td>
            </tr>
            <tr>
              <td> </td>
              <td> </td>
              <td> </td>
            </tr>
            <tr>
              <td> </td>
              <td> </td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">Course *</div></td>
              <td><span id="spryselect2">
                <select name="select2" id="select2" tabindex="9">
                  <option value="0">Select</option>
                  <option value="1">Demo</option>
                  <option value="2">Doctors</option>
                  <option value="9">CNS/NP</option>
                  <option value="3">Nurse IP</option>
                  <option value="4">Nurse OP</option>
                  <option value="5">Midwife</option>
                  <option value="6">Booking Clerk</option>
                  <option value="7">Medical Secretary</option>
                  <option value="8">OP Receptionist</option>
                </select>
              <span class="selectRequiredMsg">Please select an item.</span></span></td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">Location *</div></td>
              <td><span id="spryselect3">
                <select name="select3" id="select3" tabindex="10">
                  <option value="0">Select </option>
                  <option value="1">CHX 12 Floor Rm 1</option>
                  <option value="2">CHX 12 Floor Rm 2</option>
                  <option value="3">CHX 10 West </option>
                  <option value="4">HH N207 </option>
                  <option value="5">HH W12 Conference</option>
                  <option value="6">SMH Rm a</option>
                  <option value="7">SMH Rm b</option>
                  <option value="8">SMH Ming Wing Rm 5</option>
                  <option value="9">SMH Ming Wing Rm 3</option>
                </select>
              <span class="selectRequiredMsg">Please select an item.</span></span></td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">CPG *</div></td>
              <td><span id="spryselect4">
                <select name="select4" id="select4" tabindex="11">
                  <option value="0">Select </option>
                  <option value="1">CPG 1 - Medicine</option>
                  <option value="2">CPG 2 - Surgery and Cancer</option>
                  <option value="3">CPG 3 - Specialist Services </option>
                  <option value="4">CPG 4 - Circulatory Services and Renal Medicine</option>
                  <option value="5">CPG 5 - Womens and Children</option>
                  <option value="6">CPG 6 - Clinical and Investigative Sciences</option>
                  <option value="7">CPG 7 - Private Patients</option>
                  <option value="8">Others</option>
                </select>
              <span class="selectRequiredMsg">Please select an item.</span></span></td>
              <td> </td>
            </tr>
            <tr>
              <td> </td>
              <td><input name="button" type="submit" id="button" value="Submit" /></td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="center">*Mandatory fields </div></td>
              <td> </td>
              <td> </td>
            </tr>
          </table>
          <input type="hidden" name="MM_insert" value="form" />
        </form>
    <!-- end .content --></div>
      <div class="footer">
    <p align="center">
        <a href="http://validator.w3.org/check?uri=referer"><img
          src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a>
          <p align="center"> Cerner@Imperial ICT Training Team </p>
    </p>
      <!-- end .footer --></div>
      <!-- end .container --></div>
    <script type="text/javascript">
    var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1", "none", {validateOn:["blur", "change"]});
    var spryselect1 = new Spry.Widget.ValidationSelect("spryselect1", {validateOn:["change", "blur"]});
    var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2", "none", {validateOn:["blur", "change"]});
    var sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield3", "none", {validateOn:["blur", "change"]});
    var sprytextfield5 = new Spry.Widget.ValidationTextField("sprytextfield5", "none", {validateOn:["blur", "change"]});
    var spryselect2 = new Spry.Widget.ValidationSelect("spryselect2", {validateOn:["change", "blur"]});
    var spryselect3 = new Spry.Widget.ValidationSelect("spryselect3", {validateOn:["change", "blur"]});
    var spryselect4 = new Spry.Widget.ValidationSelect("spryselect4", {validateOn:["change", "blur"]});
    var sprytextfield4 = new Spry.Widget.ValidationTextField("sprytextfield4", "none", {validateOn:["blur", "change"]});
    var spryselect5 = new Spry.Widget.ValidationSelect("spryselect5", {validateOn:["blur", "change"]});
    </script>
    </body>
    </html>
    <?php
    mysql_free_result($rsAttendance);
    ?>

    Eugene
    The forums are displayed in an iframe. Therefore, if you wanted to simply refresh the forums to the exact page that you have navigated to, you should right-click on the content area of SDN (the forums page) and choose the refresh option. This will refresh this window and should keep your place marker. If you refresh the URL in the browser window then this will refresh the entire SDN page and will take you to the entry point of the forums.
    I hope this helps
    D

  • Getting bean's fields null even though before returning fields are not null

    Hi All,
    I have run into this weird problem. I am using sun ri 1.1_01 implementation.
    I having problem getting field values from a bean on the jsp page. From my first page I click on a button and it goes to the action method in the managed bean. In this method I set the values of the fields. before returning the view Id, I print these values and everything is set. but when it goes to the next page, it does not display any values.
    I have other action methods, where I am setting the same values and I am able to get those values.
    The same method was working in a previous version of ear. I don't know what went wrong and it stopped working.
    Here is my code of the method
    this.setUserRequestedInfo(MetaDAOFactory.getDAO()
              .getAccountInfoByUID(uId));
    if (this.getUserRequestedInfo() == null) {
         this.addMSGException("userRequested.not.valid");
         return NavigationResults.FAILURE;
    this.logger.debug("\n\nBEFORE RETURNING FROM DEPART this.getUserRequestedInfo() = "
              + this.getUserRequestedInfo());
    return NavigationResults.SUCCESS;before the return statement, when I log the values of userRequested, it prints the details, but I don't get this value in my jsp...
    Is it some class loader or JSF life cycle problem?

    Put some system.out statements into your bean setters, and see if the framework calls it after your action method.
    Also, using a phase listener to get familiar with JSFs lifecycles (or finding little oddball issues like this) it's good to use a PhaseListener:
    http://jroller.com/page/cschalk?entry=getting_familiar_with_the_jsf
    I'm sorry I cannot give you a more specific solution. There just isn't enough information. Hopefully the above tools will help you gather more detail (and maybe even figure it out on your own!). =)
    CowKing

  • Returned by function MAPIResolveNames

    Hello all.  We have a customer that is trying to export a report and email it.  I will give you the rundown.
    Windows 7
    CR 9 SP 7
    Latest Windows SP
    Outlook 10
    We are getting an error, ERROR 2147500037 RETURNED BY FUNCTION <MAPIRESOLVENAME>
    I read the other threads and didn't seem to be anything in there for CR 9.  Any help would be greatly appreciated.

    Hello,
    Correct. There is no fix for Cr 9 since it's been out of support for 5 years or so.
    Only option is to upgrade to CR 2008 and apply Fix Pack 3.1. Microsoft deprecated simple MAPI API's in Window version 6.1 ( 7 and Server 2008 ) Cr had to update the export dll to use the Extended API set of instructions which is why there is no fix for old versions of CR that had no concept of the Extended set.
    If they can't upgrade then only other option is to ask Microsoft to put the simple MAPI functionality back into all the Products they removed it from. They broke backward compatibility.
    Thank you
    Don

  • Putting $ sign before printing the price

    Hi Experts,
    In my Webdynpro application, the price value is coming from a BAPI. I am diaplaying them in a table
    control in a column. I have one requirement where i need to put a "$" before diaplaying them in table.
    Can anybody please tell me whether we need to do the code changes in Webdynpro Java or
    in ABAP code ?
    Thanks.

    Hi Srini,
    No need to change any thing at ABAP side. You can achieve this by using the calculated attribute.
    Let us suppose the modelAttribute is price.
    1. Create one valueAttribute in the same node where price is there.
    2. Name it as priceCalc.
    3. Change the calculatedAttribute property to true for priceCalc.
    3. Two methods named getXXXPriceCalc() and setXXXPriceCalc() methods will be created automatically in the implementation.
    4. go to the getXXXPriceCalc() method and provide the implementation.
    public String getXXXPriceCalc() (....)
       return "$"+element.getPrice();
    //element represents the current node element. It is one of the  argument in getXXXPriceCalc() method.
    5. In the front end bind PriceCalc(value attribute) instead of price(model attribute) attribute.
    Regards,
    VJR.

  • When I get an alert from my car sat nav the music on my iphone has a long delay before it comes back on and misses a part of the track why does it do this.

    When I get an alert from my car sat nav the music on my iphone has a long delay before it comes back on and misses a part of the track why does it do this.
    It only seems to do this since an iphone download last year.......its driving me mad !

    See:
    Recovering your iTunes library from your iPod or iOS device: Apple Support Communities
    To copy iTunes purchases to the computer you have to log into (authorize) the account that purchased them and them transfer
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer
    When associating a device with an Apple ID see the following regarding the 90 day limit.

  • How to change number of retries and delay before retrying after software install failure

    I deploy a software to client, but the installation is fail, so it will retry. but How to change the number of retries and delay before retrying after software install failure?
    I find "Retry Settings" in "Software Distribution Component Properties". But I think it work for Distribution, not the installation. am I right?

    First, are you referring to packages or applications because the behavior is different.
    Also, why do you want it to retry a failure? It failed for a reason so you need to fix the cause of the failure first. If it failed the first, it will likely fail the next time for the same reason. In general, ConfigMgr will only retry on transient type
    errors.
    Jason | http://blog.configmgrftw.com

  • My iPad air won't charge at all and I don't know if it's the charger or port help!i have had a new port put in before and it worked fine after but it's not working now! I have spent way to much trying to fix this thing one problem after another?

    My iPad air won't change at all, and I don't know if it's the port or charger cable it is charging normally but it just won't charge. I have had a new port put in before after a charger getting stuck in there but it worked fine after and now it's not working at all! I don't know if maybe it's the charger getting old but I have spent far too much money on this iPad then I should have as it's one problem after another witch is causing me lots of stress.

    Try giving your iPad a reset. Hold down the sleep and home keys for about 20 seconds. When you see the silver apple, let go and let it reboot and try again.
    How are you charging it? its's best charged plugged into the wall  not via USB. So if you're trying via USB, try using the supplied power block plugged into the wall.

  • Delay before the Delete option is active after selecting messages

    Previously I could select numerous messages (Command-A) and immediately press the Delete button in the Mail menu bar to delete the selected emails.
    Since the update, there is now a delay from the time the messages are selected until when the Delete icon is active and can be clicked. It stays grayed out for maybe a second or two, like it's still processing the previous select all command. Although not a big deal, it's worth noting there was no delay before the update.

    You ask:
    So, how can I do that please?
    But you have already answered:
    selecting the photos on Album view, then pressing CMND OPTION DELETE, then CNTRL-CLICKING on iPhoto's Trash icon and choosing "Empty Trash".
    Sorry but I really don't understand what you're asking.
    Regards
    TD

  • How to put delay of 5 seconds in form builder

    Hello everbody
    I m using Forms 6i.
    I wants to put delay of 5 seconds in form due to some requirement.
    Is any body have idea how to put delay?
    Thanks in advance.

    Issue this command:
    dbms_lock.sleep(5.00);But I am curious why would want to do that.
    There is probably a better method to solve whatever issue you have.

  • Forgot to erase apple tv before returning it, will apple reset it before reselling?

    i swapped my defective apple tv for a new one but forgot to reset the first one before returning it. will apple reset it before reselling it (if they fix it)? I signed into my itunes account and chose not to ask for password for buying content.

    Seasons Greetings
    Apple will erase all content before refurbishing the unit.

  • Track delays before playing  -  Help please

    DSP - 3 One of my tracks seems to delay before playing and I end up with a black screen before it begins. I went back to Final Cut and can't find any problem with it there. All my other tracks start fine. Help please.
    Thanks.

    Where are you seeing this? On a DVD player or in Simulator? What kind of menu are you using?
    The delay on a disc is usually (but not always) related to where the menu is physically located (usually near the spindle hole) compared to the track (anywhere else moving outwards towards the edge of the disc), and the routing tables which DVDSP creates on your behalf when the disc is built. Not all menu/track relationships will see the same delay and you can perhaps reduce it by adding the asset for the troublesome track into another track and setting it apart with a story. Your menu can then point to the assets within the story and it should make a difference.
    However, the delay you see on your player will almost certainly be different to that seen on another player - without using a spec level authoring package (or trying it in DVDSP4 where you can move menus into specific VTSs) you may well be stuck with it as it is if adding the asset to an existing track doesn't work.

  • Keynote presentations when using wireless libratone zipp speaker there is a 2sec delay before any slide containing video/audio plays - tried connection through apple TV still the same. Any ideas?

    Keynote presentations when using wireless libratone zipp speaker there is a 2sec delay before any slide containing video/audio plays - tried connection through apple TV still the same. Any ideas?

    Thanks Gary, I think I should have mentioned that I have wired my other speakers and it works fine. 
    I just wanted to go wireless when presenting in front of class, simply to avoid trailing wires from the macbook which I position in front of me on a desk next to the projector and the speakers are behind me next to the screen.
    I have struggled to find a solution, and reading through other discussions it is a problem that perhaps only Apple can solve.
    I hope the new 'Yosemite' will resolve the problem.
    Thank you once again for your reply.

Maybe you are looking for

  • ID CS5: How to include additional text into a table of contents and how to hide text from it?

    I have the following problem: 1. I'd like to include additional Information in my table of contents which I don't want to appear in the text I refer to. Example: I do have a picture with a caption saying: picture 1: Blablabla. And I want to have the

  • HELP! Illegal operand error - can't open file

    I have a file that I've done about 40 hours on since last duplicating the file. It's been saved multiple times, and successfully. but after i last closed it, i've defragged my hard drive because it's been sluggish. Ive also deleted a couple of random

  • Hard Drive Broken: Long Generic test fails!

    Hello I just did a SeaGate test to test my hard drive, and the test fails already after 10 seconds! I discover the problem when i get errors with documents in Word and other programs. When i try to save them, the program says that the permission of t

  • Video Ipod showing multiple photo's

    I imported my videos and music fine onto my 30gb video ipod. However when i did the same for my photos, it displayed 3 or 4 of the same photo for every photo. Please Help, It's really annoying!!

  • Adding Payment Terms: 45 days End of Month

    Hi, I am trying to add payment terms to Oracle 11i that are: 45 days then End of Month Can anyone let me know if this is possible? I have been able to add many other terms required, but cannot figure this one out. Thanks