<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Creating buttons that link to different scenes, and within a scene, using ActionScript 3.0</title>
	<atom:link href="http://flashthusiast.com/2008/07/31/creating-buttons-that-link-to-different-scenes-using-actionscript-30/feed/" rel="self" type="application/rss+xml" />
	<link>http://flashthusiast.com/2008/07/31/creating-buttons-that-link-to-different-scenes-using-actionscript-30/</link>
	<description>...and especially enthusiastic about motion tweens in Flash...</description>
	<pubDate>Tue, 06 Jan 2009 12:46:39 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: slitherer</title>
		<link>http://flashthusiast.com/2008/07/31/creating-buttons-that-link-to-different-scenes-using-actionscript-30/#comment-1787</link>
		<dc:creator>slitherer</dc:creator>
		<pubDate>Mon, 15 Dec 2008 13:47:47 +0000</pubDate>
		<guid isPermaLink="false">http://flashthusiast.com/2008/07/31/creating-buttons-that-link-to-different-scenes-using-actionscript-30/#comment-1787</guid>
		<description>Hello, good answers everyone! I would like to ask you something in the same area.. I now have a site.swf obj in a index.html page, what I would like to do is : to open by pressing a button another index1.html page which has the same site.swf obj embeded but in another scene.

I would appreciate your help.
By the way I am talking about AS2

Thank you</description>
		<content:encoded><![CDATA[<p>Hello, good answers everyone! I would like to ask you something in the same area.. I now have a site.swf obj in a index.html page, what I would like to do is : to open by pressing a button another index1.html page which has the same site.swf obj embeded but in another scene.</p>
<p>I would appreciate your help.<br />
By the way I am talking about AS2</p>
<p>Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hadi</title>
		<link>http://flashthusiast.com/2008/07/31/creating-buttons-that-link-to-different-scenes-using-actionscript-30/#comment-1617</link>
		<dc:creator>Hadi</dc:creator>
		<pubDate>Sun, 07 Dec 2008 14:02:16 +0000</pubDate>
		<guid isPermaLink="false">http://flashthusiast.com/2008/07/31/creating-buttons-that-link-to-different-scenes-using-actionscript-30/#comment-1617</guid>
		<description>Im a bit of a noob when it comes to action script, and i have been tring to get this working for ages but i can't hack it.
could you please give me sum guidence.

how do i make a button(action script 3.0) to load another swf file.
please help.. thx</description>
		<content:encoded><![CDATA[<p>Im a bit of a noob when it comes to action script, and i have been tring to get this working for ages but i can&#8217;t hack it.<br />
could you please give me sum guidence.</p>
<p>how do i make a button(action script 3.0) to load another swf file.<br />
please help.. thx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://flashthusiast.com/2008/07/31/creating-buttons-that-link-to-different-scenes-using-actionscript-30/#comment-1510</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Wed, 03 Dec 2008 11:40:30 +0000</pubDate>
		<guid isPermaLink="false">http://flashthusiast.com/2008/07/31/creating-buttons-that-link-to-different-scenes-using-actionscript-30/#comment-1510</guid>
		<description>hello, please can you help me, i need it for uni work lol 

the issue is that i made a button to go forward on frame 1 to frame 10, the code being:
&lt;pre lang="actionscript"&gt;
stop();
door1.addEventListener(MouseEvent.MOUSE_DOWN, secondDownHandler);
function secondDownHandler(event:MouseEvent):void {
    gotoAndStop(10, "secondScene");
 }
&lt;/pre&gt;

that works fine, but i want to place a button on the frame 10 to go baack to frame 1, but everytime i place the code in, it just plays my first scene and carrys on, thru the second scene, ignoring the stop code, this only happens if the code on the 10th frame is there, with it its fine.

so i can you please tell me what im doing wrong, or is there a specific "back button"?

cheers</description>
		<content:encoded><![CDATA[<p>hello, please can you help me, i need it for uni work lol </p>
<p>the issue is that i made a button to go forward on frame 1 to frame 10, the code being:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript actionscript" style="font-family:monospace;"><span style="color: #0066CC;">stop</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
door1.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">MOUSE_DOWN</span>, secondDownHandler<span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">function</span> secondDownHandler<span style="color: #66cc66;">&#40;</span>event:MouseEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
    <span style="color: #0066CC;">gotoAndStop</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">10</span>, <span style="color: #ff0000;">&quot;secondScene&quot;</span><span style="color: #66cc66;">&#41;</span>;
 <span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>that works fine, but i want to place a button on the frame 10 to go baack to frame 1, but everytime i place the code in, it just plays my first scene and carrys on, thru the second scene, ignoring the stop code, this only happens if the code on the 10th frame is there, with it its fine.</p>
<p>so i can you please tell me what im doing wrong, or is there a specific &#8220;back button&#8221;?</p>
<p>cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jimmy</title>
		<link>http://flashthusiast.com/2008/07/31/creating-buttons-that-link-to-different-scenes-using-actionscript-30/#comment-1332</link>
		<dc:creator>jimmy</dc:creator>
		<pubDate>Fri, 21 Nov 2008 15:51:18 +0000</pubDate>
		<guid isPermaLink="false">http://flashthusiast.com/2008/07/31/creating-buttons-that-link-to-different-scenes-using-actionscript-30/#comment-1332</guid>
		<description>halo there....
i want to ask about: how to make a button(action script 3.0) to load another swf file? (not for website, just for interactive cd) plzz help me.....i am already very2 confuseddd.......

Many thx!</description>
		<content:encoded><![CDATA[<p>halo there&#8230;.<br />
i want to ask about: how to make a button(action script 3.0) to load another swf file? (not for website, just for interactive cd) plzz help me&#8230;..i am already very2 confuseddd&#8230;&#8230;.</p>
<p>Many thx!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Levy</title>
		<link>http://flashthusiast.com/2008/07/31/creating-buttons-that-link-to-different-scenes-using-actionscript-30/#comment-1109</link>
		<dc:creator>Ben Levy</dc:creator>
		<pubDate>Thu, 06 Nov 2008 05:11:05 +0000</pubDate>
		<guid isPermaLink="false">http://flashthusiast.com/2008/07/31/creating-buttons-that-link-to-different-scenes-using-actionscript-30/#comment-1109</guid>
		<description>I am using this code
stop();
more_btn.addEventListener(MouseEvent.MOUSE_DOWN, more_btnHandler1);
function more_btnHandler1(event:MouseEvent):void {
gotoAndStop(114);
}

When i click the button i made to go forward it goes forward and then when i click a back button i made it goes back to the beginning of the swf starting with my intro animation but the content the showed up when i clicked my back buttons is on top of every thing. who do i get it to just go back and not start all over again</description>
		<content:encoded><![CDATA[<p>I am using this code<br />
stop();<br />
more_btn.addEventListener(MouseEvent.MOUSE_DOWN, more_btnHandler1);<br />
function more_btnHandler1(event:MouseEvent):void {<br />
gotoAndStop(114);<br />
}</p>
<p>When i click the button i made to go forward it goes forward and then when i click a back button i made it goes back to the beginning of the swf starting with my intro animation but the content the showed up when i clicked my back buttons is on top of every thing. who do i get it to just go back and not start all over again</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rademenes</title>
		<link>http://flashthusiast.com/2008/07/31/creating-buttons-that-link-to-different-scenes-using-actionscript-30/#comment-956</link>
		<dc:creator>rademenes</dc:creator>
		<pubDate>Fri, 24 Oct 2008 14:59:09 +0000</pubDate>
		<guid isPermaLink="false">http://flashthusiast.com/2008/07/31/creating-buttons-that-link-to-different-scenes-using-actionscript-30/#comment-956</guid>
		<description>Hi Jen!
I've got problem with attached video into button.
When I push the button ,video does't stop and duplicate play every time when I repeat action .Have you any ideas how to solve this problem?  pleasee :-( (Im newbie flash coder) 

Here is a code:
&lt;pre lang="actionscript"&gt;
stop();

home_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
function mouseDownHandler(event:MouseEvent):void {
    gotoAndStop(1);
}

aboutyou_btn.addEventListener(MouseEvent.MOUSE_DOWN,mouseDownHandler2);
function mouseDownHandler2(event:MouseEvent):void {
    gotoAndStop(10);
}
stop();

message_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler3);
function mouseDownHandler3(event:MouseEvent):void {
    gotoAndStop(20);
}
							 
media_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler4);
function mouseDownHandler4(event:MouseEvent):void {
    gotoAndStop(30);
}
links_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler6);
function mouseDownHandler6(event:MouseEvent):void {
    gotoAndStop(40);
}

stop();
myspace_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler7);
function mouseDownHandler7(event:MouseEvent):void {
    navigateToURL(new URLRequest("http://www.myspace.com/greg1775/"));
}

shred_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler8);
function mouseDownHandler8(event:MouseEvent):void {
    navigateToURL(new URLRequest("http://www.shred-metal.org/"));
    gotoAndStop(1);
}
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Hi Jen!<br />
I&#8217;ve got problem with attached video into button.<br />
When I push the button ,video does&#8217;t stop and duplicate play every time when I repeat action .Have you any ideas how to solve this problem?  pleasee :-( (Im newbie flash coder) </p>
<p>Here is a code:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript actionscript" style="font-family:monospace;"><span style="color: #0066CC;">stop</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
home_btn.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">MOUSE_DOWN</span>, mouseDownHandler<span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">function</span> mouseDownHandler<span style="color: #66cc66;">&#40;</span>event:MouseEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
    <span style="color: #0066CC;">gotoAndStop</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
aboutyou_btn.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">MOUSE_DOWN</span>,mouseDownHandler2<span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">function</span> mouseDownHandler2<span style="color: #66cc66;">&#40;</span>event:MouseEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
    <span style="color: #0066CC;">gotoAndStop</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">10</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
<span style="color: #0066CC;">stop</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
message_btn.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">MOUSE_DOWN</span>, mouseDownHandler3<span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">function</span> mouseDownHandler3<span style="color: #66cc66;">&#40;</span>event:MouseEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
    <span style="color: #0066CC;">gotoAndStop</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">20</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
media_btn.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">MOUSE_DOWN</span>, mouseDownHandler4<span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">function</span> mouseDownHandler4<span style="color: #66cc66;">&#40;</span>event:MouseEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
    <span style="color: #0066CC;">gotoAndStop</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">30</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
links_btn.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">MOUSE_DOWN</span>, mouseDownHandler6<span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">function</span> mouseDownHandler6<span style="color: #66cc66;">&#40;</span>event:MouseEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
    <span style="color: #0066CC;">gotoAndStop</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">40</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #0066CC;">stop</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
myspace_btn.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">MOUSE_DOWN</span>, mouseDownHandler7<span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">function</span> mouseDownHandler7<span style="color: #66cc66;">&#40;</span>event:MouseEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
    navigateToURL<span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> URLRequest<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;http://www.myspace.com/greg1775/&quot;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
shred_btn.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">MOUSE_DOWN</span>, mouseDownHandler8<span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">function</span> mouseDownHandler8<span style="color: #66cc66;">&#40;</span>event:MouseEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
    navigateToURL<span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> URLRequest<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;http://www.shred-metal.org/&quot;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;
    <span style="color: #0066CC;">gotoAndStop</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre></div></div>

]]></content:encoded>
	</item>
	<item>
		<title>By: aiman</title>
		<link>http://flashthusiast.com/2008/07/31/creating-buttons-that-link-to-different-scenes-using-actionscript-30/#comment-885</link>
		<dc:creator>aiman</dc:creator>
		<pubDate>Mon, 20 Oct 2008 13:47:36 +0000</pubDate>
		<guid isPermaLink="false">http://flashthusiast.com/2008/07/31/creating-buttons-that-link-to-different-scenes-using-actionscript-30/#comment-885</guid>
		<description>hey jen. i'm using flash 8 and i have problems linking button/moviesclip within multiple symbols. i need to link it to another scene. it only works if the buttons is not within any symbols. if i put the buttons outside any symbols, other function wont work. currently the actionscript i'm using for my buttons that works outside any symbols but wont work within symbols is:
&lt;pre lang="actionscript"&gt;
_root.button1.onRelease = function(){
    gotoAndPlay("scene1", 1);
}
&lt;/pre&gt;

thank you.</description>
		<content:encoded><![CDATA[<p>hey jen. i&#8217;m using flash 8 and i have problems linking button/moviesclip within multiple symbols. i need to link it to another scene. it only works if the buttons is not within any symbols. if i put the buttons outside any symbols, other function wont work. currently the actionscript i&#8217;m using for my buttons that works outside any symbols but wont work within symbols is:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript actionscript" style="font-family:monospace;"><span style="color: #0066CC;">_root</span>.<span style="color: #006600;">button1</span>.<span style="color: #0066CC;">onRelease</span> = <span style="color: #000000; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
    <span style="color: #0066CC;">gotoAndPlay</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;scene1&quot;</span>, <span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomripl</title>
		<link>http://flashthusiast.com/2008/07/31/creating-buttons-that-link-to-different-scenes-using-actionscript-30/#comment-750</link>
		<dc:creator>tomripl</dc:creator>
		<pubDate>Mon, 06 Oct 2008 22:04:23 +0000</pubDate>
		<guid isPermaLink="false">http://flashthusiast.com/2008/07/31/creating-buttons-that-link-to-different-scenes-using-actionscript-30/#comment-750</guid>
		<description>it's okay. figured this out already.</description>
		<content:encoded><![CDATA[<p>it&#8217;s okay. figured this out already.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomripl</title>
		<link>http://flashthusiast.com/2008/07/31/creating-buttons-that-link-to-different-scenes-using-actionscript-30/#comment-749</link>
		<dc:creator>tomripl</dc:creator>
		<pubDate>Mon, 06 Oct 2008 21:57:19 +0000</pubDate>
		<guid isPermaLink="false">http://flashthusiast.com/2008/07/31/creating-buttons-that-link-to-different-scenes-using-actionscript-30/#comment-749</guid>
		<description>how do u rename the scene?</description>
		<content:encoded><![CDATA[<p>how do u rename the scene?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vic</title>
		<link>http://flashthusiast.com/2008/07/31/creating-buttons-that-link-to-different-scenes-using-actionscript-30/#comment-734</link>
		<dc:creator>Vic</dc:creator>
		<pubDate>Thu, 02 Oct 2008 22:09:23 +0000</pubDate>
		<guid isPermaLink="false">http://flashthusiast.com/2008/07/31/creating-buttons-that-link-to-different-scenes-using-actionscript-30/#comment-734</guid>
		<description>i have just copy and pasted your button from the sample fla above, and now it works.  i have been using the very basic buttons 'up, over, down, hit' is there a problem with doing this?  thank you</description>
		<content:encoded><![CDATA[<p>i have just copy and pasted your button from the sample fla above, and now it works.  i have been using the very basic buttons &#8216;up, over, down, hit&#8217; is there a problem with doing this?  thank you</p>
]]></content:encoded>
	</item>
</channel>
</rss>
