<?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 - Clear canvas path</title>
    <link>https://forums.adobe.com/community/edge_animate?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Tue, 30 Oct 2012 19:16:32 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2012-10-30T19:16:32Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: Clear canvas path</title>
      <link>https://forums.adobe.com/message/4811501?tstart=0#4811501</link>
      <description>&lt;!-- [DocumentBodyStart:39a3ead5-e791-45f8-bffd-21dc0548249a] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I am giving up for now. I will use several buttons. I have other projects that need to be done and at this point I think it will be OK. I might look into it later.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:39a3ead5-e791-45f8-bffd-21dc0548249a] --&gt;&lt;img src='/beacon?t=1415898800018' /&gt;</description>
      <pubDate>Tue, 30 Oct 2012 19:16:32 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/4811501?tstart=0#4811501</guid>
      <dc:date>2012-10-30T19:16:32Z</dc:date>
      <clearspace:dateToText>2 years 2 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Clear canvas path</title>
      <link>https://forums.adobe.com/message/4811252?tstart=0#4811252</link>
      <description>&lt;!-- [DocumentBodyStart:3083f830-828a-4718-a875-64fcb3de1ead] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi there,&lt;/p&gt;&lt;p&gt;Well, I have it to work with different buttons but I want to use only one button and I cannot make it work.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Here is a sample file if you are interested to look at it.&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="https://www.box.com/s/ag95kkaziqxn84avkrt6" rel="nofollow" target="_blank"&gt;https://www.box.com/s/ag95kkaziqxn84avkrt6&lt;/a&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Note that the paths clear only if they are finished.&lt;/p&gt;&lt;p&gt;Also the path are not accurate right now. This is just a trial.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:3083f830-828a-4718-a875-64fcb3de1ead] --&gt;</description>
      <pubDate>Tue, 30 Oct 2012 17:42:59 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/4811252?tstart=0#4811252</guid>
      <dc:date>2012-10-30T17:42:59Z</dc:date>
      <clearspace:dateToText>2 years 2 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Clear canvas path</title>
      <link>https://forums.adobe.com/message/4811131?tstart=0#4811131</link>
      <description>&lt;!-- [DocumentBodyStart:920238bb-2ff3-41e3-a98f-6ed8b323589f] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;It can be before these lines, it can be browser.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:920238bb-2ff3-41e3-a98f-6ed8b323589f] --&gt;</description>
      <pubDate>Tue, 30 Oct 2012 17:00:08 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/4811131?tstart=0#4811131</guid>
      <dc:date>2012-10-30T17:00:08Z</dc:date>
      <clearspace:dateToText>2 years 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Clear canvas path</title>
      <link>https://forums.adobe.com/message/4808561?tstart=0#4808561</link>
      <description>&lt;!-- [DocumentBodyStart:f4013098-327f-49a6-a193-c9ef74edb5ce] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I have been trying to clear paths made with canvas on a map. The map has 10 paths that are started on the click event. I want to be able to reset the map with no path when all the path have been seen.&lt;/p&gt;&lt;p&gt;&lt;a href="https://forums.adobe.com/servlet/JiveServlet/showImage/2-4808561-249137/path1.jpg"&gt;&lt;img alt="path1.jpg" class="jive-image jive-image-thumbnail" height="273" onclick="" src="https://forums.adobe.com/servlet/JiveServlet/downloadImage/2-4808561-249137/450-273/path1.jpg" width="450"/&gt;&lt;/a&gt;&lt;a href="https://forums.adobe.com/servlet/JiveServlet/showImage/2-4808561-249138/path2.jpg"&gt;&lt;img alt="path2.jpg" class="jive-image jive-image-thumbnail" height="269" onclick="" src="https://forums.adobe.com/servlet/JiveServlet/downloadImage/2-4808561-249138/450-269/path2.jpg" width="450"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt; I tried: &lt;/p&gt;&lt;p&gt;var myCanvas = $('&amp;lt;canvas /&amp;gt;'); &lt;/p&gt;&lt;p&gt;myCanvas.attr("width", 780);&lt;/p&gt;&lt;p&gt;myCanvas.attr("height", 470);&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;btn = sym.$("btn");&lt;/p&gt;&lt;p&gt;index = -1;&lt;/p&gt;&lt;p&gt;btn.click(function(){&lt;/p&gt;&lt;p&gt;&amp;nbsp; index++;&lt;/p&gt;&lt;p&gt;&amp;nbsp; sym.play("p" + index);&lt;/p&gt;&lt;p&gt;&amp;nbsp; if (index&amp;gt;=7){&lt;/p&gt;&lt;p&gt;&amp;nbsp; index=-1;&lt;/p&gt;&lt;p&gt;&amp;nbsp; ctx0.clearRect(0,0,myCanvas[0].width,myCanvas[0].height);&lt;/p&gt;&lt;p&gt;&amp;nbsp; ctx1.clearRect(0,0,myCanvas[0].width,myCanvas[0].height);&lt;/p&gt;&lt;p&gt;&amp;nbsp; ctx6.clearRect(0,0,myCanvas[0].width,myCanvas[0].height);&lt;/p&gt;&lt;p&gt;&amp;nbsp; ctx2.clearRect(0,0,myCanvas[0].width,myCanvas[0].height);&lt;/p&gt;&lt;p&gt;&amp;nbsp; ctx3.clearRect(0,0,myCanvas[0].width,myCanvas[0].height);&lt;/p&gt;&lt;p&gt;&amp;nbsp; ctx4.clearRect(0,0,myCanvas[0].width,myCanvas[0].height);&lt;/p&gt;&lt;p&gt;&amp;nbsp; ctx5.clearRect(0,0,myCanvas[0].width,myCanvas[0].height);&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp; }&lt;/p&gt;&lt;p&gt;});&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;but it does not clear anything.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:f4013098-327f-49a6-a193-c9ef74edb5ce] --&gt;</description>
      <pubDate>Mon, 29 Oct 2012 18:11:11 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/4808561?tstart=0#4808561</guid>
      <dc:date>2012-10-29T18:11:11Z</dc:date>
      <clearspace:dateToText>2 years 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

