<?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 - Gestures not working</title>
    <link>https://forums.adobe.com/community/director/director_lingo?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Tue, 11 Nov 2014 23:51:25 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2014-11-11T23:51:25Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: Gestures not working</title>
      <link>https://forums.adobe.com/message/6920922?tstart=0#6920922</link>
      <description>&lt;!-- [DocumentBodyStart:14d43c7c-9200-41d4-93f6-151a52190284] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;First, Director (12) is started and the following script is described.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Movie script&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;on startMovie&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; _touches.registerGesture ([#swipeRightGesture:#handleSwipeRight])&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; --It recognizes also by "on prepareMovi" or "on startMovie".&lt;/p&gt;&lt;p&gt;end&lt;/p&gt;&lt;p&gt;on handleSwipeRight&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; member("momo").text = the long time &amp;amp; "start"&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; --code to handle Right Swipe &lt;/p&gt;&lt;p&gt;end&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;"on startMovie" is recommended although recognized also by "on prepareMovie" or "on startMovie". Those with a possibility of stopping moving by "on prepareMovie" when another Handler is put in.&lt;/p&gt;&lt;p&gt;And use a movie script by a property inspector. This is important. Unless it comes out, the Handler written in here does not move.&lt;/p&gt;&lt;p&gt;If it moves by Director in order to move by ios, an error will come out.It is published and used for ios.&lt;/p&gt;&lt;p&gt;detailed my Homepage(Candy's Homepage)&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:14d43c7c-9200-41d4-93f6-151a52190284] --&gt;&lt;img src='/beacon?t=1415896874152' /&gt;</description>
      <pubDate>Tue, 11 Nov 2014 23:51:25 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6920922?tstart=0#6920922</guid>
      <dc:date>2014-11-11T23:51:25Z</dc:date>
      <clearspace:dateToText>1 day 17 hours ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Gestures not working</title>
      <link>https://forums.adobe.com/message/5798781?tstart=0#5798781</link>
      <description>&lt;!-- [DocumentBodyStart:fa173a76-5d2c-4f43-b479-ea8f94b944ee] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I've got the left and right gestures working okay, but becuase the handler is in the movie script and not the frame script I'm having problems changing the destination of the gesture. It's okay if the swipes are alway going to the previous or next marker. But it gets more complex if I want to start having the playhead going to different frames. &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I ended up creating a global varaible to determine which frame is the next destination. The variable is set in the frame script.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Movie Script&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #004f00;"&gt;&lt;span style="color: #0328d2;"&gt;on&lt;/span&gt; startMovie&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #004f00;"&gt;&amp;nbsp; _touches&lt;span style="color: #000000;"&gt;.&lt;/span&gt;registerGesture&lt;span style="color: #000000;"&gt;([&lt;/span&gt;#swipeRightGesture&lt;span style="color: #000000;"&gt;:&lt;/span&gt;#&lt;span style="color: #000000;"&gt;handleSwipeRight]) &lt;/span&gt;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #004f00;"&gt;&amp;nbsp; _touches&lt;span style="color: #000000;"&gt;.&lt;/span&gt;registerGesture&lt;span style="color: #000000;"&gt;([&lt;/span&gt;#swipeLeftGesture&lt;span style="color: #000000;"&gt;:&lt;/span&gt;#&lt;span style="color: #000000;"&gt;handleSwipeLeft]) &lt;/span&gt;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco;"&gt;&lt;span style="color: #0328d2;"&gt;&amp;nbsp; global&lt;/span&gt; gwhatframeLeft&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco;"&gt;&lt;span style="color: #0328d2;"&gt;&amp;nbsp; global&lt;/span&gt; gwhatframeRight&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco;"&gt;&lt;span style="color: #0328d2;"&gt;&amp;nbsp; set&lt;/span&gt; gwhatframeLeft =&lt;span style="color: #515151;"&gt; "2"&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco;"&gt;&lt;span style="color: #0328d2;"&gt;&amp;nbsp; set&lt;/span&gt; gwhatframeRight =&lt;span style="color: #515151;"&gt; "60" --last frame&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #0328d2;"&gt;end&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco;"&gt;&lt;span style="color: #0328d2;"&gt;on&lt;/span&gt; handleSwipeLeft&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco;"&gt;&lt;span style="color: #0328d2;"&gt;&amp;nbsp; global&lt;/span&gt; gwhatframeLeft&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco;"&gt;&lt;span style="color: #004f00;"&gt;&amp;nbsp; go&lt;/span&gt;&lt;span style="color: #0328d2;"&gt; to&lt;/span&gt;&lt;span style="color: #004f00;"&gt; frame&lt;/span&gt; gwhatframeLeft&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #0328d2;"&gt;end&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco;"&gt;&lt;span style="color: #0328d2;"&gt;on&lt;/span&gt; handleSwipeRight&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco;"&gt;&lt;span style="color: #0328d2;"&gt;&amp;nbsp; global&lt;/span&gt; gwhatframeRight&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco;"&gt;&lt;span style="color: #004f00;"&gt;&amp;nbsp; go&lt;/span&gt;&lt;span style="color: #0328d2;"&gt; to&lt;/span&gt;&lt;span style="color: #004f00;"&gt; frame&lt;/span&gt; gwhatframeRight&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #0328d2;"&gt;end&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;Frame Script (Frame "2")&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #004f00;"&gt;&lt;span style="color: #0328d2;"&gt;on&lt;/span&gt; exitFrame&lt;span style="color: #0328d2;"&gt; me&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #004f00;"&gt;&amp;nbsp; go&lt;span style="color: #0328d2;"&gt; to the&lt;/span&gt; frame&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco;"&gt;&lt;span style="color: #0328d2;"&gt;&amp;nbsp; global&lt;/span&gt; gwhatFrameLeft&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco;"&gt;&lt;span style="color: #0328d2;"&gt;&amp;nbsp; set&lt;/span&gt; gwhatFrameLeft =&lt;span style="color: #515151;"&gt; "3" &lt;/span&gt;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco;"&gt;&lt;span style="color: #0328d2;"&gt;&amp;nbsp; global&lt;/span&gt; gwhatFrameRight&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco;"&gt;&lt;span style="color: #0328d2;"&gt;&amp;nbsp; set&lt;/span&gt; gwhatFrameRight =&lt;span style="color: #515151;"&gt; "1" --first frame&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #0328d2;"&gt;end&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This seems like an awkward way to do this (It will make testing a lot more time consuming) - is there a more stright forward way.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:fa173a76-5d2c-4f43-b479-ea8f94b944ee] --&gt;</description>
      <pubDate>Tue, 29 Oct 2013 23:30:57 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5798781?tstart=0#5798781</guid>
      <dc:date>2013-10-29T23:30:57Z</dc:date>
      <clearspace:dateToText>1 year 2 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Gestures not working</title>
      <link>https://forums.adobe.com/message/5769044?tstart=0#5769044</link>
      <description>&lt;!-- [DocumentBodyStart:7cfc3a69-5e3c-4d87-9f0e-94554bd71760] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;The playhead is on the frame correct frame when the gesture is made. It's the first frame of the movie.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #0328d2;"&gt;I added the hanndles to the movie script...&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #004f00;"&gt;&lt;span style="color: #0328d2;"&gt;on&lt;/span&gt; startMovie&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #004f00;"&gt;&amp;nbsp; _touches&lt;span style="color: #000000;"&gt;.&lt;/span&gt;registerGesture&lt;span style="color: #000000;"&gt;([&lt;/span&gt;#swipeRightGesture&lt;span style="color: #000000;"&gt;:&lt;/span&gt;#&lt;span style="color: #000000;"&gt;handleSwipeRight]) &lt;/span&gt;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #004f00;"&gt;&amp;nbsp; _touches&lt;span style="color: #000000;"&gt;.&lt;/span&gt;registerGesture&lt;span style="color: #000000;"&gt;([&lt;/span&gt;#swipeLeftGesture&lt;span style="color: #000000;"&gt;:&lt;/span&gt;#&lt;span style="color: #000000;"&gt;handleSwipeLeft]) &lt;/span&gt;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #0328d2;"&gt;end&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco;"&gt;&lt;span style="color: #0328d2;"&gt;on&lt;/span&gt; handleSwipeRight&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco;"&gt; go previous&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco;"&gt;end&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco;"&gt;&lt;span style="color: #0328d2;"&gt;on&lt;/span&gt; handleSwipeRight&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco;"&gt; go next&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco;"&gt;end&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #0328d2;"&gt;And in the frame script...&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #004f00;"&gt;&lt;span style="color: #0328d2;"&gt;on&lt;/span&gt; exitFrame&lt;span style="color: #0328d2;"&gt; me&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #004f00;"&gt;&amp;nbsp; go&lt;span style="color: #0328d2;"&gt; to the&lt;/span&gt; frame&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #004f00;"&gt;&lt;span style="font-size: 10px;"&gt;&amp;nbsp; handleSwipeRight&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #004f00;"&gt;&lt;span style="font-size: 10px;"&gt;&lt;span style="font-size: 10px;"&gt;&amp;nbsp; handleSwipeLeft&lt;/span&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #0328d2;"&gt;end&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco;"&gt;This sort of worked - but the it flashed back and forwards between frames without the screen being touched.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #0328d2;"&gt;I changed the frame script to the folowing and it worked...&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #004f00;"&gt;&lt;span style="color: #0328d2;"&gt;on&lt;/span&gt; exitFrame&lt;span style="color: #0328d2;"&gt; me&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #004f00;"&gt;&amp;nbsp; go&lt;span style="color: #0328d2;"&gt; to the&lt;/span&gt; frame&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #0328d2;"&gt;end&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco;"&gt;&lt;span style="color: #0328d2;"&gt;on&lt;/span&gt; handleSwipeRight&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #004f00;"&gt;&amp;nbsp; go previous&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #0328d2;"&gt;end&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco;"&gt;&lt;span style="color: #0328d2;"&gt;on&lt;/span&gt; handleSwipeLeft&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #004f00;"&gt;&amp;nbsp; go next&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #0328d2;"&gt;end&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:7cfc3a69-5e3c-4d87-9f0e-94554bd71760] --&gt;</description>
      <pubDate>Fri, 18 Oct 2013 00:21:35 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5769044?tstart=0#5769044</guid>
      <dc:date>2013-10-18T00:21:35Z</dc:date>
      <clearspace:dateToText>1 year 2 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Gestures not working</title>
      <link>https://forums.adobe.com/message/5768540?tstart=0#5768540</link>
      <description>&lt;!-- [DocumentBodyStart:1d4cd5b8-bbac-4eef-8fb3-11dac06beb9f] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Is it possible the frameScript isn't "active" when the gesture is made? That is, that the playhead isn't on the frame in question. Try placing your #handleSwipeRight and #handleSwipeLeft handlers in a movie script&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:1d4cd5b8-bbac-4eef-8fb3-11dac06beb9f] --&gt;</description>
      <pubDate>Thu, 17 Oct 2013 21:28:43 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5768540?tstart=0#5768540</guid>
      <dc:date>2013-10-17T21:28:43Z</dc:date>
      <clearspace:dateToText>1 year 4 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Gestures not working</title>
      <link>https://forums.adobe.com/message/5768322?tstart=0#5768322</link>
      <description>&lt;!-- [DocumentBodyStart:8caf0b1f-9211-4a51-869b-729beac43bb2] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I'm using the following script to enable the swipe gestures on iOS...&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Movie Script&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #004f00;"&gt;&lt;span style="color: #0328d2;"&gt;on&lt;/span&gt; startMovie&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #004f00;"&gt;&amp;nbsp; _touches&lt;span style="color: #000000;"&gt;.&lt;/span&gt;registerGesture&lt;span style="color: #000000;"&gt;([&lt;/span&gt;#swipeRightGesture&lt;span style="color: #000000;"&gt;:&lt;/span&gt;#&lt;span style="color: #000000;"&gt;handleSwipeRight]) &lt;/span&gt;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #004f00;"&gt;&amp;nbsp; _touches&lt;span style="color: #000000;"&gt;.&lt;/span&gt;registerGesture&lt;span style="color: #000000;"&gt;([&lt;/span&gt;#swipeLeftGesture&lt;span style="color: #000000;"&gt;:&lt;/span&gt;#&lt;span style="color: #000000;"&gt;handleSwipeLeft]) &lt;/span&gt;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #d51d00;"&gt;&lt;span style="color: #0328d2; font-family: Monaco;"&gt;end&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #0328d2;"&gt;Frame Script&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #0328d2;"&gt;on&lt;/span&gt;&lt;span style="font-family: Monaco; font-size: 10px;"&gt; handleSwipeRight&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #004f00;"&gt;&amp;nbsp; go next&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #0328d2;"&gt;end&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;However this dosen't work - ie nothing happens when I swipe the screen (on either the iphone iOS7 or ipad iOS6. Is this how the code should be implemented?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:8caf0b1f-9211-4a51-869b-729beac43bb2] --&gt;</description>
      <pubDate>Thu, 17 Oct 2013 20:53:58 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5768322?tstart=0#5768322</guid>
      <dc:date>2013-10-17T20:53:58Z</dc:date>
      <clearspace:dateToText>1 year 4 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

