<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-6365126613137680130.post3390053515247451777..comments</id><updated>2009-12-07T10:20:04.208-08:00</updated><title type='text'>Comments on Biochimistu's Corner: ActionScript 3 button that stay in the down state....</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://biochimistu.blogspot.com/feeds/3390053515247451777/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default'/><link rel='alternate' type='text/html' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default?start-index=26&amp;max-results=25'/><author><name>Biochimistu</name><uri>http://www.blogger.com/profile/09135002905210428963</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>66</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6365126613137680130.post-40842591993112496</id><published>2009-11-03T02:02:49.075-08:00</published><updated>2009-11-03T02:02:49.075-08:00</updated><title type='text'>Thanks for sharing this, it helped me tremendously...</title><summary type='text'>Thanks for sharing this, it helped me tremendously.</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/40842591993112496'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/40842591993112496'/><link rel='alternate' type='text/html' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html?showComment=1257242569075#c40842591993112496' title=''/><author><name>moony</name><uri>http://www.blogger.com/profile/11691666757992055911</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html' ref='tag:blogger.com,1999:blog-6365126613137680130.post-3390053515247451777' source='http://www.blogger.com/feeds/6365126613137680130/posts/default/3390053515247451777' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-6365126613137680130.post-2428024076545342186</id><published>2009-10-28T10:10:59.479-07:00</published><updated>2009-10-28T10:10:59.479-07:00</updated><title type='text'>You should pass a variable from html file that con...</title><summary type='text'>You should pass a variable from html file that contains the swf to the swf. You can find more about this subject here: &lt;a href="http://www.flepstudio.org/forum/tutorials/657-passing-variables-html-flash-cs3.html" rel="nofollow"&gt;Passing variables from HTML to Flash CS3.&lt;/a&gt;</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/2428024076545342186'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/2428024076545342186'/><link rel='alternate' type='text/html' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html?showComment=1256749859479#c2428024076545342186' title=''/><author><name>Biochimistu</name><uri>http://www.blogger.com/profile/09135002905210428963</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02048211111174380234'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html' ref='tag:blogger.com,1999:blog-6365126613137680130.post-3390053515247451777' source='http://www.blogger.com/feeds/6365126613137680130/posts/default/3390053515247451777' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-6365126613137680130.post-252086566200985784</id><published>2009-10-27T02:32:57.659-07:00</published><updated>2009-10-27T02:32:57.659-07:00</updated><title type='text'>Hi,

Your tutorial was fantastic and has worked a ...</title><summary type='text'>Hi,&lt;br /&gt;&lt;br /&gt;Your tutorial was fantastic and has worked a treat when developing sites totally in Flash.&lt;br /&gt;&lt;br /&gt;I have one problem... a site I&amp;#39;m working on at the moment has a flash header &amp;amp; menu system.&lt;br /&gt;&lt;br /&gt;When the user clicks on a button the HTML page changes reloading the SWF file (and unfortunately resetting the menu).&lt;br /&gt;&lt;br /&gt;How do I tell the SWF file what my current</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/252086566200985784'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/252086566200985784'/><link rel='alternate' type='text/html' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html?showComment=1256635977659#c252086566200985784' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html' ref='tag:blogger.com,1999:blog-6365126613137680130.post-3390053515247451777' source='http://www.blogger.com/feeds/6365126613137680130/posts/default/3390053515247451777' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-6365126613137680130.post-3500331696838515426</id><published>2009-10-26T11:53:39.819-07:00</published><updated>2009-10-26T11:53:39.819-07:00</updated><title type='text'>Hi Sitchwd
Sounds interesting, post the whole code...</title><summary type='text'>Hi Sitchwd&lt;br /&gt;Sounds interesting, post the whole code if you can. A working example will be great.&lt;br /&gt;&lt;br /&gt;All the best!</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/3500331696838515426'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/3500331696838515426'/><link rel='alternate' type='text/html' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html?showComment=1256583219819#c3500331696838515426' title=''/><author><name>Biochimistu</name><uri>http://www.blogger.com/profile/09135002905210428963</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02048211111174380234'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html' ref='tag:blogger.com,1999:blog-6365126613137680130.post-3390053515247451777' source='http://www.blogger.com/feeds/6365126613137680130/posts/default/3390053515247451777' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-6365126613137680130.post-6312056908619715027</id><published>2009-10-26T01:04:52.888-07:00</published><updated>2009-10-26T01:04:52.888-07:00</updated><title type='text'>Hello Biochimistu,

You are MOST kind to post this...</title><summary type='text'>Hello Biochimistu,&lt;br /&gt;&lt;br /&gt;You are MOST kind to post this very helpful code. =)&lt;br /&gt;&lt;br /&gt;I am attempting to use what you have posted and I would like to add one more bit of functionality. I am using these buttons as a kind of interactive slide show and I would like the setSelectedBtn function to choose a random button (and hence, a random MC) upon pageload.&lt;br /&gt;&lt;br /&gt;Here is the end of my </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/6312056908619715027'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/6312056908619715027'/><link rel='alternate' type='text/html' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html?showComment=1256544292888#c6312056908619715027' title=''/><author><name>Sitchwd</name><uri>http://www.blogger.com/profile/05851765663076399858</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html' ref='tag:blogger.com,1999:blog-6365126613137680130.post-3390053515247451777' source='http://www.blogger.com/feeds/6365126613137680130/posts/default/3390053515247451777' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-6365126613137680130.post-4798293663467149021</id><published>2009-08-13T06:46:31.732-07:00</published><updated>2009-08-13T06:46:31.732-07:00</updated><title type='text'>DUDE!

Just wanted to say thanks for the tutorial....</title><summary type='text'>DUDE!&lt;br /&gt;&lt;br /&gt;Just wanted to say thanks for the tutorial. Not only did I get it working but I increased my understanding of Actionscript by a big margin.&lt;br /&gt;&lt;br /&gt;Quality coding!</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/4798293663467149021'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/4798293663467149021'/><link rel='alternate' type='text/html' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html?showComment=1250171191732#c4798293663467149021' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html' ref='tag:blogger.com,1999:blog-6365126613137680130.post-3390053515247451777' source='http://www.blogger.com/feeds/6365126613137680130/posts/default/3390053515247451777' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-6365126613137680130.post-5933872640198119735</id><published>2009-07-22T05:59:16.479-07:00</published><updated>2009-07-22T05:59:16.479-07:00</updated><title type='text'>Thank you so much for this tutorial. I am complete...</title><summary type='text'>Thank you so much for this tutorial. I am completely new to action script and it helped a lot! Exactly what I needed.&lt;br /&gt; Thanks!</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/5933872640198119735'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/5933872640198119735'/><link rel='alternate' type='text/html' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html?showComment=1248267556479#c5933872640198119735' title=''/><author><name>Christine</name><uri>http://www.blogger.com/profile/11373250900778839957</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html' ref='tag:blogger.com,1999:blog-6365126613137680130.post-3390053515247451777' source='http://www.blogger.com/feeds/6365126613137680130/posts/default/3390053515247451777' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-6365126613137680130.post-581417636783872213</id><published>2009-07-01T07:35:17.811-07:00</published><updated>2009-07-01T07:35:17.811-07:00</updated><title type='text'>Hi Angela,
For short you want to play as sound whe...</title><summary type='text'>Hi Angela,&lt;br /&gt;For short you want to play as sound when a button is clicked. First make a new movie clip and embed the sounds and next if you look at one of my comment you will see a switch statement you can rework that and instruct to play your sounds. For example if your movie clip (let’s call it soundHolder) has a sound in frame 10 and one in frame 20&lt;br /&gt;The switch statement will look like </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/581417636783872213'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/581417636783872213'/><link rel='alternate' type='text/html' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html?showComment=1246458917811#c581417636783872213' title=''/><author><name>Biochimistu</name><uri>http://www.blogger.com/profile/09135002905210428963</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02048211111174380234'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html' ref='tag:blogger.com,1999:blog-6365126613137680130.post-3390053515247451777' source='http://www.blogger.com/feeds/6365126613137680130/posts/default/3390053515247451777' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-6365126613137680130.post-4931471539787856674</id><published>2009-06-30T05:02:48.802-07:00</published><updated>2009-06-30T05:02:48.802-07:00</updated><title type='text'>Hi Biochimistu!

Your tutorial is absolutely great...</title><summary type='text'>Hi Biochimistu!&lt;br /&gt;&lt;br /&gt;Your tutorial is absolutely great, works really fine. Thank you for it!&lt;br /&gt;&lt;br /&gt;I would have a further question and you may know the answer for it:&lt;br /&gt;In short: a button has let&amp;#39;s say 4 cases, and I want to switch these cases with other buttons.&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;I have a button(myBtn). In the timeline it has different sounds to it in different frames. &lt;</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/4931471539787856674'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/4931471539787856674'/><link rel='alternate' type='text/html' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html?showComment=1246363368802#c4931471539787856674' title=''/><author><name>Angela</name><uri>http://www.blogger.com/profile/05193727854845540524</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html' ref='tag:blogger.com,1999:blog-6365126613137680130.post-3390053515247451777' source='http://www.blogger.com/feeds/6365126613137680130/posts/default/3390053515247451777' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-6365126613137680130.post-8703407194337716533</id><published>2009-06-27T05:38:50.066-07:00</published><updated>2009-06-27T05:38:50.066-07:00</updated><title type='text'>Hi Alan,
I will try to guess, since I don’t know h...</title><summary type='text'>Hi Alan,&lt;br /&gt;I will try to guess, since I don’t know how your .fla looks. I think that is not something to difficult, you probably have some extra frames in there.&lt;br /&gt;For example let say that you have tree pages (home, about, contact) the home pages lives between frame 5-15, the about from 16-25 and the contact from 26-35.You must make sure that your pages frames don’t overlap. (the home page </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/8703407194337716533'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/8703407194337716533'/><link rel='alternate' type='text/html' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html?showComment=1246106330066#c8703407194337716533' title=''/><author><name>Biochimistu</name><uri>http://www.blogger.com/profile/09135002905210428963</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02048211111174380234'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html' ref='tag:blogger.com,1999:blog-6365126613137680130.post-3390053515247451777' source='http://www.blogger.com/feeds/6365126613137680130/posts/default/3390053515247451777' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-6365126613137680130.post-7869283919180931097</id><published>2009-06-25T04:51:14.839-07:00</published><updated>2009-06-25T04:51:14.839-07:00</updated><title type='text'>Hey Biochimistu,

Greetings from sunny Scotland.

...</title><summary type='text'>Hey Biochimistu,&lt;br /&gt;&lt;br /&gt;Greetings from sunny Scotland.&lt;br /&gt;&lt;br /&gt;Firslty thanks for what is an elegant solution and very precticle.&lt;br /&gt;&lt;br /&gt;I am using your code for buttons which control my main content_mc. This mc houses all of my sections as movie clips and simply scrolls into place to show the relevant section. &lt;br /&gt;&lt;br /&gt;In My sections, i am using the code again for an internal menu </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/7869283919180931097'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/7869283919180931097'/><link rel='alternate' type='text/html' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html?showComment=1245930674839#c7869283919180931097' title=''/><author><name>Alan m</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html' ref='tag:blogger.com,1999:blog-6365126613137680130.post-3390053515247451777' source='http://www.blogger.com/feeds/6365126613137680130/posts/default/3390053515247451777' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-6365126613137680130.post-8146961005770600279</id><published>2009-04-28T10:32:00.000-07:00</published><updated>2009-04-28T10:32:00.000-07:00</updated><title type='text'>Awesome post!! Thanks so much for a concise and we...</title><summary type='text'>Awesome post!! Thanks so much for a concise and well-written piece, it saved me hours of pulling my hair out.</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/8146961005770600279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/8146961005770600279'/><link rel='alternate' type='text/html' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html?showComment=1240939920000#c8146961005770600279' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html' ref='tag:blogger.com,1999:blog-6365126613137680130.post-3390053515247451777' source='http://www.blogger.com/feeds/6365126613137680130/posts/default/3390053515247451777' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-6365126613137680130.post-7170971952926155445</id><published>2009-04-22T10:00:00.001-07:00</published><updated>2009-04-22T10:00:00.001-07:00</updated><title type='text'>Anonymus, Try to use the same logic as in tutorial...</title><summary type='text'>Anonymus, Try to use the same logic as in tutorial; the buttons will be replaced by your thumbnails images.</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/7170971952926155445'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/7170971952926155445'/><link rel='alternate' type='text/html' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html?showComment=1240419600001#c7170971952926155445' title=''/><author><name>Biochimistu</name><uri>http://www.blogger.com/profile/09135002905210428963</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02048211111174380234'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html' ref='tag:blogger.com,1999:blog-6365126613137680130.post-3390053515247451777' source='http://www.blogger.com/feeds/6365126613137680130/posts/default/3390053515247451777' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-6365126613137680130.post-357596042414703032</id><published>2009-04-22T10:00:00.000-07:00</published><updated>2009-04-22T10:00:00.000-07:00</updated><title type='text'>Hi Carolyn,
I don’t know how your .fla is looking,...</title><summary type='text'>Hi Carolyn,&lt;br /&gt;I don’t know how your .fla is looking, the idea is to call the setSelectedBtn() function when your next block of text comes.</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/357596042414703032'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/357596042414703032'/><link rel='alternate' type='text/html' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html?showComment=1240419600000#c357596042414703032' title=''/><author><name>Biochimistu</name><uri>http://www.blogger.com/profile/09135002905210428963</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02048211111174380234'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html' ref='tag:blogger.com,1999:blog-6365126613137680130.post-3390053515247451777' source='http://www.blogger.com/feeds/6365126613137680130/posts/default/3390053515247451777' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-6365126613137680130.post-1255119875523511715</id><published>2009-04-20T16:23:00.000-07:00</published><updated>2009-04-20T16:23:00.000-07:00</updated><title type='text'>This was such a helpful tutorial. Thank you! I've ...</title><summary type='text'>This was such a helpful tutorial. Thank you! I've been looking everywhere for this. One question, though... I'm trying to use this to control the thumbnail images I've set up for my gallery to make the rollover state hold when a certain image is displayed. Is there an easy way to check for which image in my array is displayed and to hold the corresponding thumbnail in the rollover (down) state? </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/1255119875523511715'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/1255119875523511715'/><link rel='alternate' type='text/html' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html?showComment=1240269780000#c1255119875523511715' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html' ref='tag:blogger.com,1999:blog-6365126613137680130.post-3390053515247451777' source='http://www.blogger.com/feeds/6365126613137680130/posts/default/3390053515247451777' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-6365126613137680130.post-6108455068743618969</id><published>2009-04-19T23:56:00.000-07:00</published><updated>2009-04-19T23:56:00.000-07:00</updated><title type='text'>Thanks so much. I'm really new at Flash so I tried...</title><summary type='text'>Thanks so much. I'm really new at Flash so I tried what you suggested but I couldn't make it work. Can you give me an example of what the code should look like?</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/6108455068743618969'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/6108455068743618969'/><link rel='alternate' type='text/html' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html?showComment=1240210560000#c6108455068743618969' title=''/><author><name>Carolyn G. Velez</name><uri>http://www.blogger.com/profile/05649044597663587921</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='10033664510407862642'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html' ref='tag:blogger.com,1999:blog-6365126613137680130.post-3390053515247451777' source='http://www.blogger.com/feeds/6365126613137680130/posts/default/3390053515247451777' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-6365126613137680130.post-4927638683439085459</id><published>2009-04-19T01:49:00.000-07:00</published><updated>2009-04-19T01:49:00.000-07:00</updated><title type='text'>Hi Carolyn,
Call the setSelectedBtn(id:int) functi...</title><summary type='text'>Hi Carolyn,&lt;br /&gt;Call the setSelectedBtn(id:int) function, for example when your animation start call setSelectedBtn(0)(first button will be selected) ,when the animation advances to the  second group of text call setSelectedBtn(1)(second btn will be selected).</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/4927638683439085459'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/4927638683439085459'/><link rel='alternate' type='text/html' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html?showComment=1240130940000#c4927638683439085459' title=''/><author><name>Biochimistu</name><uri>http://www.blogger.com/profile/09135002905210428963</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02048211111174380234'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html' ref='tag:blogger.com,1999:blog-6365126613137680130.post-3390053515247451777' source='http://www.blogger.com/feeds/6365126613137680130/posts/default/3390053515247451777' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-6365126613137680130.post-4410873365113585859</id><published>2009-04-16T23:11:00.000-07:00</published><updated>2009-04-16T23:11:00.000-07:00</updated><title type='text'>Thanks so much for this great tutorial. It's just ...</title><summary type='text'>Thanks so much for this great tutorial. It's just what I needed. I'm using for buttons for movie that contains four separate parts. I want one button to highlight which section is active. Your tutorial took care of that part. I also need to figure out a way to have the buttons change automatically to coordinate with the movies. Here's the movie I'm talking about. Can you tell me how to make that </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/4410873365113585859'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/4410873365113585859'/><link rel='alternate' type='text/html' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html?showComment=1239948660000#c4410873365113585859' title=''/><author><name>Carolyn G. Velez</name><uri>http://www.blogger.com/profile/05649044597663587921</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='10033664510407862642'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html' ref='tag:blogger.com,1999:blog-6365126613137680130.post-3390053515247451777' source='http://www.blogger.com/feeds/6365126613137680130/posts/default/3390053515247451777' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-6365126613137680130.post-6631270766297106289</id><published>2009-04-15T21:12:00.000-07:00</published><updated>2009-04-15T21:12:00.000-07:00</updated><title type='text'>Thanks so much for your tutorial. It saved me lots...</title><summary type='text'>Thanks so much for your tutorial. It saved me lots of hair pulling. I'm very new to AS3 and I'm using four different buttons, one for a separate movie in one SWF. I want the selected button to change automatically when the movie changes. Is there a way to do that? An example can be seen here: http://www.cgvcreative.com/otd-build/index.asp&lt;br /&gt;&lt;br /&gt;Thanks!</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/6631270766297106289'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/6631270766297106289'/><link rel='alternate' type='text/html' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html?showComment=1239855120000#c6631270766297106289' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html' ref='tag:blogger.com,1999:blog-6365126613137680130.post-3390053515247451777' source='http://www.blogger.com/feeds/6365126613137680130/posts/default/3390053515247451777' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-6365126613137680130.post-5843912856589914129</id><published>2009-04-03T03:39:00.000-07:00</published><updated>2009-04-03T03:39:00.000-07:00</updated><title type='text'>Hi Zoli,You can set a timer that will be called af...</title><summary type='text'>Hi Zoli,&lt;BR/&gt;You can set a timer that will be called after the page is loaded. If you use a preloader to load you site (you should) after the loading is complete you can start the timer.When the timer is complete (timerComplete event) you call the setSelectedBtn(0).</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/5843912856589914129'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/5843912856589914129'/><link rel='alternate' type='text/html' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html?showComment=1238755140000#c5843912856589914129' title=''/><author><name>Biochimistu</name><uri>http://www.blogger.com/profile/09135002905210428963</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02048211111174380234'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html' ref='tag:blogger.com,1999:blog-6365126613137680130.post-3390053515247451777' source='http://www.blogger.com/feeds/6365126613137680130/posts/default/3390053515247451777' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-6365126613137680130.post-8385836222190860374</id><published>2009-03-31T08:19:00.000-07:00</published><updated>2009-03-31T08:19:00.000-07:00</updated><title type='text'>Hi!It is a great tutorial. I've just made my homep...</title><summary type='text'>Hi!&lt;BR/&gt;It is a great tutorial. I've just made my homepage with this code. I have only one problem: I'm using "sliding" buttons, instead of original "flashing" buttons. The problem occurs when i set the first button with the mentioned setSelectedBtn(0); code. It goes right to the button's "down" state, but i want first to show up the "over" state. How can I set this in your code?&lt;BR/&gt;Thanks in </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/8385836222190860374'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/8385836222190860374'/><link rel='alternate' type='text/html' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html?showComment=1238512740000#c8385836222190860374' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html' ref='tag:blogger.com,1999:blog-6365126613137680130.post-3390053515247451777' source='http://www.blogger.com/feeds/6365126613137680130/posts/default/3390053515247451777' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-6365126613137680130.post-4149487759307421400</id><published>2009-03-21T04:39:00.000-07:00</published><updated>2009-03-21T04:39:00.000-07:00</updated><title type='text'>Hi Greg,You can’t apply this behavior to flash but...</title><summary type='text'>Hi Greg,&lt;BR/&gt;You can’t apply this behavior to flash buttons you must use Movieclips.&lt;BR/&gt;Check this &lt;A HREF="http://www.kirupa.com/forum/showthread.php?t=272658" REL="nofollow"&gt;"Complex Button"&lt;/A&gt; you will find an example that use scripted tweens to control the states of a button (movieclip that acts like a button), but it's more complicated.</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/4149487759307421400'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/4149487759307421400'/><link rel='alternate' type='text/html' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html?showComment=1237635540000#c4149487759307421400' title=''/><author><name>Biochimistu</name><uri>http://www.blogger.com/profile/09135002905210428963</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02048211111174380234'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html' ref='tag:blogger.com,1999:blog-6365126613137680130.post-3390053515247451777' source='http://www.blogger.com/feeds/6365126613137680130/posts/default/3390053515247451777' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-6365126613137680130.post-2561096330245617176</id><published>2009-03-21T04:06:00.000-07:00</published><updated>2009-03-21T04:06:00.000-07:00</updated><title type='text'>Hi David,Call the setSelectedBtn()function with th...</title><summary type='text'>Hi David,&lt;BR/&gt;Call the setSelectedBtn()function with the id of the button that you want to select, like so:&lt;BR/&gt;setSelectedBtn(0);// first button will be selected</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/2561096330245617176'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/2561096330245617176'/><link rel='alternate' type='text/html' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html?showComment=1237633560000#c2561096330245617176' title=''/><author><name>Biochimistu</name><uri>http://www.blogger.com/profile/09135002905210428963</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02048211111174380234'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html' ref='tag:blogger.com,1999:blog-6365126613137680130.post-3390053515247451777' source='http://www.blogger.com/feeds/6365126613137680130/posts/default/3390053515247451777' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-6365126613137680130.post-7731430670927743901</id><published>2009-03-20T22:14:00.000-07:00</published><updated>2009-03-20T22:14:00.000-07:00</updated><title type='text'>Ty it helped me alot. I have been trying to figure...</title><summary type='text'>Ty it helped me alot. I have been trying to figure out for weeks and found nouthing useful. Grait Tutorial.</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/7731430670927743901'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/7731430670927743901'/><link rel='alternate' type='text/html' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html?showComment=1237612440000#c7731430670927743901' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html' ref='tag:blogger.com,1999:blog-6365126613137680130.post-3390053515247451777' source='http://www.blogger.com/feeds/6365126613137680130/posts/default/3390053515247451777' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-6365126613137680130.post-3979535184952973380</id><published>2009-03-19T19:53:00.000-07:00</published><updated>2009-03-19T19:53:00.000-07:00</updated><title type='text'>hi there,thank you for this great tutorial...I'm c...</title><summary type='text'>hi there,&lt;BR/&gt;thank you for this great tutorial...&lt;BR/&gt;I'm close to getting it work my way but have a little problem...&lt;BR/&gt;I'm not using MC animation to change the button status but instead i'm using TweenLite to tint the colours of the buttons....on your code you use:&lt;BR/&gt;if(buttonsArray[i].currentLabel =="down"){&lt;BR/&gt;  buttonsArray[i].gotoAndPlay("out");&lt;BR/&gt;  }&lt;BR/&gt;&lt;BR/&gt;to reset all the other</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/3979535184952973380'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6365126613137680130/3390053515247451777/comments/default/3979535184952973380'/><link rel='alternate' type='text/html' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html?showComment=1237517580000#c3979535184952973380' title=''/><author><name>greg</name><uri>http://www.blogger.com/profile/01932555415708947415</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://biochimistu.blogspot.com/2008/09/actionscript-3-button-that-stay-in-down.html' ref='tag:blogger.com,1999:blog-6365126613137680130.post-3390053515247451777' source='http://www.blogger.com/feeds/6365126613137680130/posts/default/3390053515247451777' type='text/html'/></entry></feed>