<?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 do I create a rollover movieclip button?</title>
    <link>https://forums.adobe.com/community/flash/flash_general?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Fri, 07 Nov 2014 15:07:48 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2014-11-07T15:07:48Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: How do I create a rollover movieclip button?</title>
      <link>https://forums.adobe.com/message/6908980?tstart=0#6908980</link>
      <description>&lt;!-- [DocumentBodyStart:4a274a3a-16d7-4cc7-9a60-1167941cbbef] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;click insert&amp;gt;new symbol&amp;gt;movieclip.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;on the timeline create your movieclip animation.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;add a layer to frame 1 and add the following code:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;stop();&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;open your library and drag your movieclip from the library to the main timeline/stage.&amp;nbsp; in the properties panel assign an instance name, eg mc&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;open the actions panel and add:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;mc.addEventListener(MouseEvent.MOUSE_OVER,overF);&lt;/p&gt;&lt;p&gt;mc.addEventListener(MouseEvent.MOUSE_OUT,outF);&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;function overF(e:MouseEvent):void{&lt;/p&gt;&lt;p&gt;MovieClip(e.currentTarget).play();&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;function outF(e:MouseEvent):void{&lt;br/&gt;MovieClip(e.currentTarget).gotoAndStop(1);&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:4a274a3a-16d7-4cc7-9a60-1167941cbbef] --&gt;&lt;img src='/beacon?t=1415948414399' /&gt;</description>
      <pubDate>Fri, 07 Nov 2014 15:07:48 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6908980?tstart=0#6908980</guid>
      <dc:date>2014-11-07T15:07:48Z</dc:date>
      <clearspace:dateToText>6 days 16 hours ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>How do I create a rollover movieclip button?</title>
      <link>https://forums.adobe.com/message/6906572?tstart=0#6906572</link>
      <description>&lt;!-- [DocumentBodyStart:b6dfef69-f228-4dad-a806-d59e375c7dd5] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I'm very new to Flash and would like to know firstly how I create a movieclip, and then how to make the movieclip into a rollover button (having the animation play when the cursor is over the button, and it pausing/restarting when taken off). Preferably in a step by step guide, thanks for any help!&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:b6dfef69-f228-4dad-a806-d59e375c7dd5] --&gt;</description>
      <pubDate>Thu, 06 Nov 2014 20:15:12 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6906572?tstart=0#6906572</guid>
      <dc:date>2014-11-06T20:15:12Z</dc:date>
      <clearspace:dateToText>1 week 11 hours ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

