<?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 - How to remove a loaded image on the stage from a symbol containing a button?</title>
    <link>https://forums.adobe.com/community/edge_animate?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Mon, 14 Jan 2013 20:29:06 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2013-01-14T20:29:06Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: How to remove a loaded image on the stage from a symbol containing a button?</title>
      <link>https://forums.adobe.com/message/4993245?tstart=0#4993245</link>
      <description>&lt;!-- [DocumentBodyStart:6dd2b8aa-683d-4004-a027-1d2a7cbc3c0c] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I got it. It should be:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;$("#region1").remove();&amp;nbsp;&amp;nbsp; &lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;// # was missing.&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I actually added that to time 0 on the main timeline so when I got back there it removes the image.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;It's not working from the symbol yet but I guess I should eventually get it working from there instead.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks for your time.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:6dd2b8aa-683d-4004-a027-1d2a7cbc3c0c] --&gt;&lt;img src='/beacon?t=1415898945915' /&gt;</description>
      <pubDate>Mon, 14 Jan 2013 20:26:17 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/4993245?tstart=0#4993245</guid>
      <dc:date>2013-01-14T20:26:17Z</dc:date>
      <clearspace:dateToText>1 year 10 months ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: How to remove a loaded image on the stage from a symbol containing a button?</title>
      <link>https://forums.adobe.com/message/4993161?tstart=0#4993161</link>
      <description>&lt;!-- [DocumentBodyStart:e81639a9-e89f-4146-a215-32f9d0a0b8b2] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi Joe,&lt;/p&gt;&lt;p&gt;Here is a simplified version. Can you look at the file?&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="https://www.box.com/s/zjsyiqfn8mahig80jmad" rel="nofollow" target="_blank"&gt;https://www.box.com/s/zjsyiqfn8mahig80jmad&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:e81639a9-e89f-4146-a215-32f9d0a0b8b2] --&gt;</description>
      <pubDate>Mon, 14 Jan 2013 20:15:16 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/4993161?tstart=0#4993161</guid>
      <dc:date>2013-01-14T20:15:16Z</dc:date>
      <clearspace:dateToText>1 year 10 months ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: How to remove a loaded image on the stage from a symbol containing a button?</title>
      <link>https://forums.adobe.com/message/4993093?tstart=0#4993093</link>
      <description>&lt;!-- [DocumentBodyStart:efd1e4bd-d205-425a-9033-68df17d4da87] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;No, I tried that too. It seemed the most logical since the id is region1 but it does not remove the image.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:efd1e4bd-d205-425a-9033-68df17d4da87] --&gt;</description>
      <pubDate>Mon, 14 Jan 2013 20:01:33 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/4993093?tstart=0#4993093</guid>
      <dc:date>2013-01-14T20:01:33Z</dc:date>
      <clearspace:dateToText>1 year 10 months ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: How to remove a loaded image on the stage from a symbol containing a button?</title>
      <link>https://forums.adobe.com/message/4992582?tstart=0#4992582</link>
      <description>&lt;!-- [DocumentBodyStart:236ad190-8e0c-4427-bb70-74689e07c441] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi resdesign,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Just taking a shot in the dark here...instead of:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;sym.getComposition().getStage().getElementById("region1").remove();&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Will this work?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;sym.getComposition().getStage().$("region1").remove();&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:236ad190-8e0c-4427-bb70-74689e07c441] --&gt;</description>
      <pubDate>Mon, 14 Jan 2013 17:44:51 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/4992582?tstart=0#4992582</guid>
      <dc:date>2013-01-14T17:44:51Z</dc:date>
      <clearspace:dateToText>1 year 10 months ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>How to remove a loaded image on the stage from a symbol containing a button?</title>
      <link>https://forums.adobe.com/message/4992184?tstart=0#4992184</link>
      <description>&lt;!-- [DocumentBodyStart:05bfcb3d-601b-4316-96fa-0c88150187c6] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;1st the setup: &lt;/p&gt;&lt;ol&gt;&lt;li&gt;General map is loaded &lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;a href="https://forums.adobe.com/servlet/JiveServlet/showImage/2-4992184-275853/Texas1.png"&gt;&lt;img alt="Texas1.png" class="jive-image jive-image-thumbnail" height="357" onclick="" src="https://forums.adobe.com/servlet/JiveServlet/downloadImage/2-4992184-275853/450-357/Texas1.png" width="450"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;2. On a click event, an larger image of the region is loaded with the following code (thanks to Joel's demo). On mouseover the name of the county appears and on click a popup (symbol) shows some info.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;$('&amp;lt;img id="region1" width="310" height="475" src="images/region1.png" usemap="#region1"&amp;gt;'+'&amp;lt;map name="region1"&amp;gt;'+...&lt;/p&gt;&lt;p&gt;'&amp;lt;area id="Dallam" shape="rect" title="Dallam" coords="29,17,97,58"/&amp;gt;'+.....&lt;/p&gt;&lt;p&gt;&lt;a href="https://forums.adobe.com/servlet/JiveServlet/showImage/2-4992184-275854/texas2.png"&gt;&lt;img alt="texas2.png" class="jive-image" height="450" src="https://forums.adobe.com/servlet/JiveServlet/downloadImage/2-4992184-275854/texas2.png" width="307"/&gt;&lt;/a&gt;&lt;a href="https://forums.adobe.com/servlet/JiveServlet/showImage/2-4992184-275865/texas3.png"&gt;&lt;img alt="texas3.png" class="jive-image" height="264" src="https://forums.adobe.com/servlet/JiveServlet/downloadImage/2-4992184-275865/texas3.png" width="264"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;3. In the popup symbol, I want the large image map to be remove on the click event of the button: "View another region" . I have the following code which does not work (the image is not removed) resulting in what you see below:&lt;/p&gt;&lt;p&gt;sym.playReverse();&lt;/p&gt;&lt;p&gt;sym.getComposition().getStage().stop(0);&lt;/p&gt;&lt;p&gt;sym.getComposition().getStage().getElementById("region1").remove();&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;a href="https://forums.adobe.com/servlet/JiveServlet/showImage/2-4992184-275867/texas4.png"&gt;&lt;img alt="texas4.png" class="jive-image jive-image-thumbnail" height="398" onclick="" src="https://forums.adobe.com/servlet/JiveServlet/downloadImage/2-4992184-275867/450-398/texas4.png" width="450"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So my question is how do I remove the image (large image of the region in purple here loaded as described on 2.)?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:05bfcb3d-601b-4316-96fa-0c88150187c6] --&gt;</description>
      <pubDate>Mon, 14 Jan 2013 15:40:32 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/4992184?tstart=0#4992184</guid>
      <dc:date>2013-01-14T15:40:32Z</dc:date>
      <clearspace:dateToText>1 year 10 months ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

