<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Adobe Community: Message List - Wait or hold</title>
    <link>https://forums.adobe.com/community/director/director_basics?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Wed, 15 Oct 2014 00:31:52 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2014-10-15T00:31:52Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: Wait or hold</title>
      <link>https://forums.adobe.com/message/6826523?tstart=0#6826523</link>
      <description>&lt;!-- [DocumentBodyStart:b5f62ce0-b6db-440a-a57b-15af2df527c2] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;You have a couple of options.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The quick-and-dirty (and not recommended) solution is to tie up your processor doing nothing for 2 seconds:&lt;/p&gt;&lt;p&gt;tMillis = the milliseconds + 2000&lt;/p&gt;&lt;p&gt;repeat while the milliseconds &amp;lt; tMillis&lt;/p&gt;&lt;p&gt;&amp;nbsp; nothing&lt;/p&gt;&lt;p&gt;end repeat&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;A better solution is to use a timeout object and a callback handler (I can't tell if the code you posted is in a behavior script attached to a sprite or in a movie script):&lt;/p&gt;&lt;p&gt;-- yadda yadda&lt;/p&gt;&lt;p&gt;t = timeout().new("goNext", 2000, #mNavigate, 0)&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;-- add this new handler to a movie script&lt;/p&gt;&lt;p&gt;on mNavigate padParameter, aTimeout&lt;/p&gt;&lt;p&gt;&amp;nbsp; if ilk(aTimeout, #timeout) then aTimeout.forget()&lt;/p&gt;&lt;p&gt;&amp;nbsp; go next&lt;/p&gt;&lt;p&gt;end&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:b5f62ce0-b6db-440a-a57b-15af2df527c2] --&gt;&lt;img src='/beacon?t=1415949575432' /&gt;</description>
      <pubDate>Wed, 15 Oct 2014 00:31:52 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6826523?tstart=0#6826523</guid>
      <dc:date>2014-10-15T00:31:52Z</dc:date>
      <clearspace:dateToText>1 month 4 hours from now</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Wait or hold</title>
      <link>https://forums.adobe.com/message/6823778?tstart=0#6823778</link>
      <description>&lt;!-- [DocumentBodyStart:d49ecd17-fadf-4912-bcd4-b4584023638a] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi there&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am using this code, and i want the movie to hold for 2 sec before it goes further&lt;/p&gt;&lt;p&gt;who can help me with this?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;tia&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Herman&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-size: 14px; font-family: Monaco; color: #004f00;"&gt;&lt;span style="color: #0328d2;"&gt;on&lt;/span&gt; mouseDown&lt;/p&gt;&lt;p style="font-size: 14px; font-family: Monaco; color: #004f00;"&gt;&amp;nbsp; cursor&lt;span style="color: #515151;"&gt; 4&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size: 14px; font-family: Monaco; color: #004f00;"&gt;&lt;span style="color: #0328d2;"&gt;&amp;nbsp; put&lt;/span&gt; empty&lt;span style="color: #0328d2;"&gt; into&lt;/span&gt; field&lt;span style="color: #515151;"&gt; "FieldCh36"&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size: 14px; font-family: Monaco; color: #515151;"&gt;&lt;span style="color: #0328d2;"&gt;&amp;nbsp; Put&lt;/span&gt;&lt;span style="color: #004f00;"&gt; field&lt;/span&gt; "field 19"&lt;span style="color: #0328d2;"&gt; into&lt;/span&gt;&lt;span style="color: #004f00;"&gt; field&lt;/span&gt; "FieldCh36"&lt;/p&gt;&lt;p style="font-size: 14px; font-family: Monaco; color: #004f00;"&gt;&lt;span style="color: #0328d2;"&gt;&amp;nbsp; Put&lt;/span&gt; empty&lt;span style="color: #0328d2;"&gt; into&lt;/span&gt; field&lt;span style="color: #515151;"&gt; "field 19"&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;/p&gt;&lt;p style="font-size: 14px; font-family: Monaco; color: #004f00;"&gt;&amp;nbsp; cursor&lt;span style="color: #515151;"&gt; 0&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size: 14px; font-family: Monaco; color: #515151;"&gt;&lt;span style="color: #0328d2;"&gt;&amp;nbsp; if&lt;/span&gt;&lt;span style="color: #004f00;"&gt; field&lt;/span&gt; "FieldCh36"&lt;span style="color: #000000;"&gt; =&lt;/span&gt; "vogelnestjestang"&lt;span style="color: #0328d2;"&gt; then&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size: 14px; font-family: Monaco; color: #0328d2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put&lt;span style="color: #004f00;"&gt; empty&lt;/span&gt; into&lt;span style="color: #004f00;"&gt; field&lt;/span&gt;&lt;span style="color: #515151;"&gt; "field 19"&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size: 14px; font-family: Monaco; color: #004f00;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sprite&lt;span style="color: #000000;"&gt;(&lt;/span&gt;&lt;span style="color: #515151;"&gt;20&lt;/span&gt;&lt;span style="color: #000000;"&gt;).&lt;/span&gt;visible&lt;span style="color: #000000;"&gt; =&lt;/span&gt;&lt;span style="color: #0328d2;"&gt; true&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size: 14px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- &lt;span style="color: #ff0000;"&gt;Here i want to wait voor 2 sec how can i do this?&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size: 14px; font-family: Monaco; color: #004f00;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; go next&lt;/p&gt;&lt;p style="font-size: 14px; font-family: Monaco; color: #0328d2;"&gt;&amp;nbsp; end if&lt;/p&gt;&lt;p style="font-size: 14px; font-family: Monaco;"&gt;&amp;nbsp; &lt;/p&gt;&lt;p style="font-size: 14px; font-family: Monaco; color: #515151;"&gt;&lt;span style="color: #0328d2;"&gt;&amp;nbsp; if&lt;/span&gt;&lt;span style="color: #004f00;"&gt; field&lt;/span&gt; "FieldCh36"&lt;span style="color: #000000;"&gt; &amp;lt;&amp;gt;&lt;/span&gt; "vogelnestjestang"&lt;span style="color: #0328d2;"&gt; then&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size: 14px; font-family: Monaco; color: #515151;"&gt;&lt;span style="color: #0328d2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put&lt;/span&gt;&lt;span style="color: #004f00;"&gt; field&lt;/span&gt; "FieldCh36"&lt;span style="color: #0328d2;"&gt; into&lt;/span&gt;&lt;span style="color: #004f00;"&gt; field&lt;/span&gt; "field 19"&lt;/p&gt;&lt;p style="font-size: 14px; font-family: Monaco; color: #004f00;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sprite&lt;span style="color: #000000;"&gt;(&lt;/span&gt;&lt;span style="color: #515151;"&gt;21&lt;/span&gt;&lt;span style="color: #000000;"&gt;).&lt;/span&gt;visible&lt;span style="color: #000000;"&gt; =&lt;/span&gt;&lt;span style="color: #0328d2;"&gt; true&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size: 14px; font-family: Monaco; color: #0328d2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put&lt;span style="color: #004f00;"&gt; empty&lt;/span&gt; into&lt;span style="color: #004f00;"&gt; field&lt;/span&gt;&lt;span style="color: #515151;"&gt; "FieldCh36"&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size: 14px; font-family: Monaco; color: #0328d2;"&gt;&amp;nbsp; end if&lt;/p&gt;&lt;p style="font-size: 14px; font-family: Monaco;"&gt;&amp;nbsp; &lt;/p&gt;&lt;p style="font-size: 14px; font-family: Monaco;"&gt;&amp;nbsp; &lt;/p&gt;&lt;p style="font-size: 14px; font-family: Monaco; color: #0328d2;"&gt;end&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:d49ecd17-fadf-4912-bcd4-b4584023638a] --&gt;</description>
      <pubDate>Tue, 14 Oct 2014 12:19:31 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6823778?tstart=0#6823778</guid>
      <dc:date>2014-10-14T12:19:31Z</dc:date>
      <clearspace:dateToText>1 month 9 hours ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

