<?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 - fadeOut command not working on some but not all? PLS HLP!</title>
    <link>https://forums.adobe.com/community/edge_animate?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Mon, 19 May 2014 20:59:05 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2014-05-19T20:59:05Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: fadeOut command not working on some but not all? PLS HLP!</title>
      <link>https://forums.adobe.com/message/6392229?tstart=0#6392229</link>
      <description>&lt;!-- [DocumentBodyStart:8abb61e6-8b66-4684-80fd-1e57999ec2c1] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Fantastic thank you&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:8abb61e6-8b66-4684-80fd-1e57999ec2c1] --&gt;&lt;img src='/beacon?t=1415897828289' /&gt;</description>
      <pubDate>Mon, 19 May 2014 20:59:05 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6392229?tstart=0#6392229</guid>
      <dc:date>2014-05-19T20:59:05Z</dc:date>
      <clearspace:dateToText>5 months 4 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: fadeOut command not working on some but not all? PLS HLP!</title>
      <link>https://forums.adobe.com/message/6388966?tstart=0#6388966</link>
      <description>&lt;!-- [DocumentBodyStart:1c0ef8ff-36ed-43c6-bf55-8fdb9adb4f2c] --&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've created an example file that should be helpful to understanding how to do this with an array:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="http://adobe.ly/1gWviOE" rel="nofollow"&gt;http://adobe.ly/1gWviOE&lt;/a&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;It has a function named fadeOthers in the compositionReady handler that contains three things:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;An array of all the country (element) names&lt;/li&gt;&lt;li&gt;A splice operation to remove the calling element from the array&lt;/li&gt;&lt;li&gt;A for loop that loops through the remainder of array and does a fadeOut on all the remaining country elements.&lt;/li&gt;&lt;/ol&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Each country element calls this function with its own element name as an argument, i.e., &lt;em&gt;sym.fadeOthers("USA");&lt;/em&gt; on the USA element.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The function itself is well-commented and there's also a reset button that fades all elements back in, so you can try each one country without reloading the page. &lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;You can then apply the concepts explained in my example to your composition to make other elements fade as you want.&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;hth,&lt;/p&gt;&lt;p&gt;Joe&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:1c0ef8ff-36ed-43c6-bf55-8fdb9adb4f2c] --&gt;</description>
      <pubDate>Sun, 18 May 2014 17:21:48 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6388966?tstart=0#6388966</guid>
      <dc:date>2014-05-18T17:21:48Z</dc:date>
      <clearspace:dateToText>5 months 4 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: fadeOut command not working on some but not all? PLS HLP!</title>
      <link>https://forums.adobe.com/message/6388556?tstart=0#6388556</link>
      <description>&lt;!-- [DocumentBodyStart:6369f7d5-5e21-4db5-b386-5db48c7882a7] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;&lt;span style="color: #222222; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;let me elabaorate:&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&lt;span style="color: #222222; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt; &lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #222222; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;I need to fade toggle a different country png for each country button and fade out the rest of the country images i.e.: when i click the UK button i need to fade toggle the UK png and fade out the other countries&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #222222; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;when i click the USA button i need to fade toggle the USA ing and fade out the other countries and so on&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: #222222; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;sym.getSymbol("Countries").$("UK").fadeToggle();&lt;/span&gt;&lt;span style="color: #222222; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;sym.getSymbol("Countries").$("USA","AUS","Hongkong","Switzerland","Ireland","Indias","Japa n","Netherlands","Spain").fadeOut();&lt;/span&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;span style="color: #222222; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;sym.getSymbol("Countries").$("USA").fadeToggle();&lt;/span&gt;&lt;span style="color: #222222; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;sym.getSymbol("Countries").$("UK","AUS","Hongkong","Switzerland","Ireland","Indias","Japan ","Netherlands","Spain").fadeOut();&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;but it doesn't seem to work how i have it and i have been told to do an array but I'm not sure how?&lt;/p&gt;&lt;p&gt;&lt;span style="color: #222222; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;etc&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #222222; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;can you help?&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:6369f7d5-5e21-4db5-b386-5db48c7882a7] --&gt;</description>
      <pubDate>Sun, 18 May 2014 12:48:43 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6388556?tstart=0#6388556</guid>
      <dc:date>2014-05-18T12:48:43Z</dc:date>
      <clearspace:dateToText>5 months 4 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: fadeOut command not working on some but not all? PLS HLP!</title>
      <link>https://forums.adobe.com/message/6388552?tstart=0#6388552</link>
      <description>&lt;!-- [DocumentBodyStart:bc252594-1060-4995-8e31-057d432b76b9] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Thanks, but I don't really understand how to make an array work?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;if you download my project and have a look you will see that a class won't work as i can't group all the elements into one class as i need to fade toggle a different one for each country and fade out the rest i.e.: when i click the UK button i need to fade toggle the UK png and fade out the other countries&lt;/p&gt;&lt;p&gt;when i click the USA button i need to fade toggle the USA ing and fade out the other countries and so on&lt;/p&gt;&lt;p&gt;can you help?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;ps i have multiple threads because no one has been able to understand my initial question and therefore give me the correct answer!&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:bc252594-1060-4995-8e31-057d432b76b9] --&gt;</description>
      <pubDate>Sun, 18 May 2014 12:38:15 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6388552?tstart=0#6388552</guid>
      <dc:date>2014-05-18T12:38:15Z</dc:date>
      <clearspace:dateToText>5 months 4 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: fadeOut command not working on some but not all? PLS HLP!</title>
      <link>https://forums.adobe.com/message/6387117?tstart=0#6387117</link>
      <description>&lt;!-- [DocumentBodyStart:54adbf88-fa8f-4ac8-afa7-160e663dacbf] --&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;It's not possible to target more than one element as you are trying to do using a single jQuery selector. In other words, this will only ever fade out just the first element ("USA") in the Piecharts symbol:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;sym.getSymbol("Piecharts").$("USA","AUS","Hongkong","Switzerland","Ireland","India","Japan ","Netherlands","Spain").fadeOut();&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Instead, you need to set up an array of the different elements you want to fade out, and loop through them. Or you could assign a class to them, and then fade out all members of the class.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;One other point: please try to stay on a single thread for your question. You already have several threads on the same topic.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Joe&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:54adbf88-fa8f-4ac8-afa7-160e663dacbf] --&gt;</description>
      <pubDate>Sat, 17 May 2014 16:08:37 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6387117?tstart=0#6387117</guid>
      <dc:date>2014-05-17T16:08:37Z</dc:date>
      <clearspace:dateToText>5 months 4 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>fadeOut command not working on some but not all? PLS HLP!</title>
      <link>https://forums.adobe.com/message/6386672?tstart=0#6386672</link>
      <description>&lt;!-- [DocumentBodyStart:f70e0fe5-15c8-4e25-9c7d-fc37c67e913d] --&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;&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;If you see attached, for some reason my fadeOut command for the rest of the countries when each button is clicked fails to fadeOut the rest of the countries and only USA and UK seem to work?&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;This is my code for each button:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;sym.$("UKcountrybutton").fadeOut();&lt;/p&gt;&lt;p&gt;sym.$("UKcountrybutton").fadeIn();&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;sym.getSymbol("Countries").$("UK").fadeToggle();&lt;/p&gt;&lt;p&gt;sym.getSymbol("Countries").$("USA","AUS","Hongkong","Switzerland","Ireland","India","Japan ","Netherlands","Spain").fadeOut();&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;sym.getSymbol("Piecharts").$("UK").slideToggle();&lt;/p&gt;&lt;p&gt;sym.getSymbol("Piecharts").$("USA","AUS","Hongkong","Switzerland","Ireland","India","Japan ","Netherlands","Spain").fadeOut();&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;sym.getSymbol("Textwindows").$("UK").slideToggle();&lt;/p&gt;&lt;p&gt;sym.getSymbol("Textwindows").$("USA","AUS","Hongkong","Switzerland","Ireland","India","Jap an","Netherlands","Spain").fadeOut();&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;sym.$("SB").fadeToggle();&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;See attached:&lt;/span&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;a class="jive-link-external-small" href="https://www.dropbox.com/s/z9jad1pvc1abo1l/Countries.zip" rel="nofollow"&gt;Dropbox - Countries.zip&lt;/a&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;any ideas, it's driving me mad!&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:f70e0fe5-15c8-4e25-9c7d-fc37c67e913d] --&gt;</description>
      <pubDate>Sat, 17 May 2014 08:52:25 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6386672?tstart=0#6386672</guid>
      <dc:date>2014-05-17T08:52:25Z</dc:date>
      <clearspace:dateToText>5 months 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>5</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

