<?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 - jquery droppable function child symbol</title>
    <link>https://forums.adobe.com/community/edge_animate?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Thu, 06 Nov 2014 08:44:35 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2014-11-06T08:44:35Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: jquery droppable function child symbol</title>
      <link>https://forums.adobe.com/message/6904554?tstart=0#6904554</link>
      <description>&lt;!-- [DocumentBodyStart:7ea70260-94fc-4775-a9a8-2f3384faa13a] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Thanks for your response.&amp;nbsp; &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;That is the solution I was looking for. Being able to incorporate a for loop with the draggable/droppable functions, where I have elements within a child symbol.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;regards&lt;/p&gt;&lt;p&gt;Andrew&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:7ea70260-94fc-4775-a9a8-2f3384faa13a] --&gt;&lt;img src='/beacon?t=1415895116111' /&gt;</description>
      <pubDate>Thu, 06 Nov 2014 08:44:35 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6904554?tstart=0#6904554</guid>
      <dc:date>2014-11-06T08:44:35Z</dc:date>
      <clearspace:dateToText>1 week 7 hours ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: jquery droppable function child symbol</title>
      <link>https://forums.adobe.com/message/6901583?tstart=0#6901583</link>
      <description>&lt;!-- [DocumentBodyStart:3909eafb-9544-4c11-9e65-1be7ba732c65] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I am not sure I understand the setting itself, but you could use a for loop and you also could use classes (which I did not in this sample). I made symbols with the names you have but of course since I do not know what you have it is hard to guess. I made the child symbol to be the droppable while the elements are the draggables.&lt;/p&gt;&lt;p&gt;See example:&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="https://app.box.com/s/fsuhl23ni64epmerdlid" rel="nofollow"&gt;circle Drag Drop.zip - Box&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:3909eafb-9544-4c11-9e65-1be7ba732c65] --&gt;</description>
      <pubDate>Wed, 05 Nov 2014 14:10:10 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6901583?tstart=0#6901583</guid>
      <dc:date>2014-11-05T14:10:10Z</dc:date>
      <clearspace:dateToText>1 week 1 day ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>jquery droppable function child symbol</title>
      <link>https://forums.adobe.com/message/6900831?tstart=0#6900831</link>
      <description>&lt;!-- [DocumentBodyStart:49e5218d-624c-4881-a9b4-f25d6177953a] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt; &lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;On my EA project I am using the jquery droppable function.&amp;nbsp; Note that the code I have written works correctly, but is what I would call inefficient code, as you will see below.&amp;nbsp; Can you advise of a way that I could write the droppable function(s) more efficiently?&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;There is 1 element on the stage that is draggable.&amp;nbsp; Then I have 5 elements that are droppable.&amp;nbsp; These five droppable elements are nested inside a child symbol .&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;On the stage I have a parent symbol named 'parentSymbol',&amp;nbsp; nested inside that I have a child symbol named &amp;lsquo;childSymbol&amp;#8217;, which contains various elements.&amp;nbsp; &lt;/p&gt;&lt;p&gt;I do not want to make the entire childSymbol droppable, only some of the elements within this child symbol. Namely:&lt;/p&gt;&lt;p&gt;element1&lt;/p&gt;&lt;p&gt;element2&lt;/p&gt;&lt;p&gt;element3&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;In composition ready I have included the following droppable functions, which work correctly.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;//droppable function for element1&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;sym.getSymbol('parentSymbol').getSymbol(&amp;lsquo;childSymbol&amp;#8217;).$(&amp;lsquo;element1&amp;#8217;).droppable({drop: function() {&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;//disable&amp;nbsp; droppable&lt;/p&gt;&lt;p&gt;sym.getSymbol('parentSymbol').getSymbol(childSymbol&amp;#8217;).$(&amp;lsquo;element1&amp;#8217;).droppable( 'disable' );&lt;/p&gt;&lt;p&gt;}&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&gt;&lt;strong&gt;//droppable function for element2&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;sym.getSymbol('parentSymbol').getSymbol(&amp;lsquo;childSymbol&amp;#8217;).$(&amp;lsquo;element2&amp;#8217;).droppable({drop: function() {&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;//disable&amp;nbsp; droppable&lt;/p&gt;&lt;p&gt;sym.getSymbol('parentSymbol').getSymbol(childSymbol&amp;#8217;).$(&amp;lsquo;element2&amp;#8217;).droppable( 'disable' );&lt;/p&gt;&lt;p&gt;}&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;&lt;strong&gt;And again for the third element&amp;hellip;&amp;hellip;&lt;/strong&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:49e5218d-624c-4881-a9b4-f25d6177953a] --&gt;</description>
      <pubDate>Wed, 05 Nov 2014 08:44:49 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6900831?tstart=0#6900831</guid>
      <dc:date>2014-11-05T08:44:49Z</dc:date>
      <clearspace:dateToText>1 week 1 day ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

