<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Controlling the window target a button click opens using ActionScript 3.0 in Flash</title>
	<atom:link href="http://flashthusiast.com/2009/07/24/controlling-the-window-a-button-click-opens-using-actionscript-30-in-flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://flashthusiast.com/2009/07/24/controlling-the-window-a-button-click-opens-using-actionscript-30-in-flash/</link>
	<description>...and especially enthusiastic about motion tweens in Flash...</description>
	<lastBuildDate>Mon, 06 Sep 2010 04:36:53 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: maria</title>
		<link>http://flashthusiast.com/2009/07/24/controlling-the-window-a-button-click-opens-using-actionscript-30-in-flash/comment-page-1/#comment-45225</link>
		<dc:creator>maria</dc:creator>
		<pubDate>Mon, 28 Jun 2010 19:17:37 +0000</pubDate>
		<guid isPermaLink="false">http://flashthusiast.com/?p=183#comment-45225</guid>
		<description>Hello i have a site in action script 3, and i have to create a simple button there same as get url in action script 2. I try to use the monkey code there 


monkey_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
function mouseDownHandler(event:MouseEvent):void {
    navigateToURL(new URLRequest(&quot;http://www.flashthusiast.com/&quot;));
}

but something goes wrong, because when i click in the area around the button it works like clicking on the button. 

Please heeeelp me!!!</description>
		<content:encoded><![CDATA[<p>Hello i have a site in action script 3, and i have to create a simple button there same as get url in action script 2. I try to use the monkey code there </p>
<p>monkey_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);<br />
function mouseDownHandler(event:MouseEvent):void {<br />
    navigateToURL(new URLRequest(&quot;http://www.flashthusiast.com/&quot;));<br />
}</p>
<p>but something goes wrong, because when i click in the area around the button it works like clicking on the button. </p>
<p>Please heeeelp me!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AP</title>
		<link>http://flashthusiast.com/2009/07/24/controlling-the-window-a-button-click-opens-using-actionscript-30-in-flash/comment-page-1/#comment-42486</link>
		<dc:creator>AP</dc:creator>
		<pubDate>Tue, 04 May 2010 13:45:08 +0000</pubDate>
		<guid isPermaLink="false">http://flashthusiast.com/?p=183#comment-42486</guid>
		<description>I am loving your posts, they are simple, quick, and live-saving. Thanks!!</description>
		<content:encoded><![CDATA[<p>I am loving your posts, they are simple, quick, and live-saving. Thanks!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ZHENNING</title>
		<link>http://flashthusiast.com/2009/07/24/controlling-the-window-a-button-click-opens-using-actionscript-30-in-flash/comment-page-1/#comment-41229</link>
		<dc:creator>ZHENNING</dc:creator>
		<pubDate>Fri, 26 Mar 2010 03:56:41 +0000</pubDate>
		<guid isPermaLink="false">http://flashthusiast.com/?p=183#comment-41229</guid>
		<description>Hi

Need some help here.. I created a drop down menu in AS3 as movie clip and each drop down has multiple links that i would like to link it to different frames..but i don&#039;t know how to link them. Anyone can help? Thanks!</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>Need some help here.. I created a drop down menu in AS3 as movie clip and each drop down has multiple links that i would like to link it to different frames..but i don&#8217;t know how to link them. Anyone can help? Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Iris</title>
		<link>http://flashthusiast.com/2009/07/24/controlling-the-window-a-button-click-opens-using-actionscript-30-in-flash/comment-page-1/#comment-40573</link>
		<dc:creator>Iris</dc:creator>
		<pubDate>Wed, 10 Mar 2010 18:44:20 +0000</pubDate>
		<guid isPermaLink="false">http://flashthusiast.com/?p=183#comment-40573</guid>
		<description>I would like my webpage to have the buttons open their urls in the bottom frame.

Searched everywhere but I can&#039;t find anywhere how to fix this with my Adobe Photoshop CS3. I got as far as adding URLs to everything through your website here, but now I don&#039;t know how to open them in the frame &#039;bottom&#039;. If I add &#039;_bottom&#039; it doesn&#039;t work. I hope someone here can help me...

Crappy test site to show what I mean: http://punkyfox-design.com/flash/index2.htm (clicking the buttons opens the urls in new pages, when it should open them in the &#039;bottom&#039; frame.)</description>
		<content:encoded><![CDATA[<p>I would like my webpage to have the buttons open their urls in the bottom frame.</p>
<p>Searched everywhere but I can&#8217;t find anywhere how to fix this with my Adobe Photoshop CS3. I got as far as adding URLs to everything through your website here, but now I don&#8217;t know how to open them in the frame &#8216;bottom&#8217;. If I add &#8216;_bottom&#8217; it doesn&#8217;t work. I hope someone here can help me&#8230;</p>
<p>Crappy test site to show what I mean: <a href="http://punkyfox-design.com/flash/index2.htm" rel="nofollow">http://punkyfox-design.com/flash/index2.htm</a> (clicking the buttons opens the urls in new pages, when it should open them in the &#8216;bottom&#8217; frame.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean - CF Web Programmer</title>
		<link>http://flashthusiast.com/2009/07/24/controlling-the-window-a-button-click-opens-using-actionscript-30-in-flash/comment-page-1/#comment-39385</link>
		<dc:creator>Sean - CF Web Programmer</dc:creator>
		<pubDate>Fri, 12 Feb 2010 20:48:39 +0000</pubDate>
		<guid isPermaLink="false">http://flashthusiast.com/?p=183#comment-39385</guid>
		<description>I have a CFForm with format=&quot;flash&quot; and I have a cfinput type=&quot;button&quot; within that CFForm.  I am trying to place the event handler onClick into the button where, once clicked, a new window will appear.  I have tried placing JS for the onClick and I have also tried AS.  I can&#039;t seem to get either to work.  Can anyone help?

Thanks,
Sean</description>
		<content:encoded><![CDATA[<p>I have a CFForm with format=&#8221;flash&#8221; and I have a cfinput type=&#8221;button&#8221; within that CFForm.  I am trying to place the event handler onClick into the button where, once clicked, a new window will appear.  I have tried placing JS for the onClick and I have also tried AS.  I can&#8217;t seem to get either to work.  Can anyone help?</p>
<p>Thanks,<br />
Sean</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kim - graphic designer and web designer</title>
		<link>http://flashthusiast.com/2009/07/24/controlling-the-window-a-button-click-opens-using-actionscript-30-in-flash/comment-page-1/#comment-39293</link>
		<dc:creator>Kim - graphic designer and web designer</dc:creator>
		<pubDate>Wed, 10 Feb 2010 08:10:25 +0000</pubDate>
		<guid isPermaLink="false">http://flashthusiast.com/?p=183#comment-39293</guid>
		<description>Never mind, I got it figured out.  Yah!!  Here is the link.

http://www.grovegraphix.com/directcableresource.com/xhtmlcss/index.html

Click on each of the products and it will go to a landing page for that product.

Kim</description>
		<content:encoded><![CDATA[<p>Never mind, I got it figured out.  Yah!!  Here is the link.</p>
<p><a href="http://www.grovegraphix.com/directcableresource.com/xhtmlcss/index.html" rel="nofollow">http://www.grovegraphix.com/directcableresource.com/xhtmlcss/index.html</a></p>
<p>Click on each of the products and it will go to a landing page for that product.</p>
<p>Kim</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kim - graphic designer and web designer</title>
		<link>http://flashthusiast.com/2009/07/24/controlling-the-window-a-button-click-opens-using-actionscript-30-in-flash/comment-page-1/#comment-39273</link>
		<dc:creator>Kim - graphic designer and web designer</dc:creator>
		<pubDate>Tue, 09 Feb 2010 21:53:10 +0000</pubDate>
		<guid isPermaLink="false">http://flashthusiast.com/?p=183#comment-39273</guid>
		<description>Hi,

I&#039;m trying to make 4 different tweened buttons in a flash banner link to 4 different urls on a website.  I can make the first one work, but this is the error message that I&#039;m getting on the second one.

Attemping to launch and connect to Player using URL /Users/kimd/Sites/grovegraphix/directcableresource.com/xhtmlcss/images/homepage_flash/home_flash_3.swf
[SWF] Users:kimd:Sites:grovegraphix:directcableresource.com:xhtmlcss:images:homepage_flash:home_flash_3.swf - 140300 bytes after decompression
TypeError: Error #1009: Cannot access a property or method of a null object reference.
	at home_flash_3_fla::MainTimeline/frame1()[home_flash_3_fla.MainTimeline::frame1:9]

This is the AS3 code that I have:

//Go to the grovegraphix.com website
fiberjumpercables_btn.addEventListener(MouseEvent.CLICK,gotoGrove);

function gotoGrove(evtObj:Event):void{
	var theSite:URLRequest = new URLRequest(&quot;http://www.grovegraphix.com/directcableresource.com/xhtmlcss/landing_fiber_jumper_cables.html&quot;);
	navigateToURL(theSite,&quot;_self&quot;);
}

audiovideocables_btn.addEventListener(MouseEvent.MOUSE_DOWN, myHandler);
function myHandler(event:MouseEvent):void {
    navigateToURL(new URLRequest(&quot;http://www.grovegraphix.com/directcableresource.com/xhtmlcss/landing_audio_video.html&quot;), &quot;_self&quot;);
}

The fiberjumpercables_btn is on frame 1.

The audiovideocables_btn is on frame 16.

I have 2 more buttons which I haven&#039;t written code for yet.

fiberaccessories_btn on frame 34 and outletplug_btn on frame 61.

Sorry, I&#039;m new to Action Script 3.0.

Thanks in advance for your help.

Kim</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;m trying to make 4 different tweened buttons in a flash banner link to 4 different urls on a website.  I can make the first one work, but this is the error message that I&#8217;m getting on the second one.</p>
<p>Attemping to launch and connect to Player using URL /Users/kimd/Sites/grovegraphix/directcableresource.com/xhtmlcss/images/homepage_flash/home_flash_3.swf<br />
[SWF] Users:kimd:Sites:grovegraphix:directcableresource.com:xhtmlcss:images:homepage_flash:home_flash_3.swf &#8211; 140300 bytes after decompression<br />
TypeError: Error #1009: Cannot access a property or method of a null object reference.<br />
	at home_flash_3_fla::MainTimeline/frame1()[home_flash_3_fla.MainTimeline::frame1:9]</p>
<p>This is the AS3 code that I have:</p>
<p>//Go to the grovegraphix.com website<br />
fiberjumpercables_btn.addEventListener(MouseEvent.CLICK,gotoGrove);</p>
<p>function gotoGrove(evtObj:Event):void{<br />
	var theSite:URLRequest = new URLRequest(&#8220;http://www.grovegraphix.com/directcableresource.com/xhtmlcss/landing_fiber_jumper_cables.html&#8221;);<br />
	navigateToURL(theSite,&#8221;_self&#8221;);<br />
}</p>
<p>audiovideocables_btn.addEventListener(MouseEvent.MOUSE_DOWN, myHandler);<br />
function myHandler(event:MouseEvent):void {<br />
    navigateToURL(new URLRequest(&#8220;http://www.grovegraphix.com/directcableresource.com/xhtmlcss/landing_audio_video.html&#8221;), &#8220;_self&#8221;);<br />
}</p>
<p>The fiberjumpercables_btn is on frame 1.</p>
<p>The audiovideocables_btn is on frame 16.</p>
<p>I have 2 more buttons which I haven&#8217;t written code for yet.</p>
<p>fiberaccessories_btn on frame 34 and outletplug_btn on frame 61.</p>
<p>Sorry, I&#8217;m new to Action Script 3.0.</p>
<p>Thanks in advance for your help.</p>
<p>Kim</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Gray-King</title>
		<link>http://flashthusiast.com/2009/07/24/controlling-the-window-a-button-click-opens-using-actionscript-30-in-flash/comment-page-1/#comment-39262</link>
		<dc:creator>James Gray-King</dc:creator>
		<pubDate>Tue, 09 Feb 2010 16:54:29 +0000</pubDate>
		<guid isPermaLink="false">http://flashthusiast.com/?p=183#comment-39262</guid>
		<description>Hi all, some help would be gratefully received! I have used the code 

fraud_btn.addEventListener(MouseEvent.MOUSE_DOWN, myHandler);
function myHandler(event:MouseEvent):void {
    navigateToURL(new URLRequest(&quot;http://www.fidelitypayment.com/node/25&quot;), &quot;_parent&quot;);
}

and it is working fine when i test the movie. However, when uploaded to www.fidelitypayment.com/node/85 (my testing space) it ceases to work at all, any ideas?

Many thanks!!!</description>
		<content:encoded><![CDATA[<p>Hi all, some help would be gratefully received! I have used the code </p>
<p>fraud_btn.addEventListener(MouseEvent.MOUSE_DOWN, myHandler);<br />
function myHandler(event:MouseEvent):void {<br />
    navigateToURL(new URLRequest(&#8220;http://www.fidelitypayment.com/node/25&#8243;), &#8220;_parent&#8221;);<br />
}</p>
<p>and it is working fine when i test the movie. However, when uploaded to <a href="http://www.fidelitypayment.com/node/85" rel="nofollow">http://www.fidelitypayment.com/node/85</a> (my testing space) it ceases to work at all, any ideas?</p>
<p>Many thanks!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gabby</title>
		<link>http://flashthusiast.com/2009/07/24/controlling-the-window-a-button-click-opens-using-actionscript-30-in-flash/comment-page-1/#comment-38559</link>
		<dc:creator>gabby</dc:creator>
		<pubDate>Thu, 28 Jan 2010 22:07:29 +0000</pubDate>
		<guid isPermaLink="false">http://flashthusiast.com/?p=183#comment-38559</guid>
		<description>please help!
I am making a flash portfolio site and i have many different buttons. i want them all the open on &quot;_self&quot;, but even though i renamed the handler function for each button, all the functionality stops working and clicking anywhere on the screen will only take you to the last buttons&#039; URL! If anyone knows why...please reply.</description>
		<content:encoded><![CDATA[<p>please help!<br />
I am making a flash portfolio site and i have many different buttons. i want them all the open on &#8220;_self&#8221;, but even though i renamed the handler function for each button, all the functionality stops working and clicking anywhere on the screen will only take you to the last buttons&#8217; URL! If anyone knows why&#8230;please reply.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jake</title>
		<link>http://flashthusiast.com/2009/07/24/controlling-the-window-a-button-click-opens-using-actionscript-30-in-flash/comment-page-1/#comment-37531</link>
		<dc:creator>Jake</dc:creator>
		<pubDate>Sun, 10 Jan 2010 16:23:15 +0000</pubDate>
		<guid isPermaLink="false">http://flashthusiast.com/?p=183#comment-37531</guid>
		<description>can someone pls pls help me with linking my button to open in the same window. it is soooooo weird because with my first button (menu) it works but with my second, it doesnt work although every code is the same. it only works with _blank. with _self, if u click the button, nothing happens! nothing appears!/ i named my instance, put my actionscript in a different layer in the same frame, put

my_btn.addEventListener(MouseEvent.MOUSE_DOWN, myHandler);
function myHandler(event:MouseEvent):void {
    navigateToURL(new URLRequest(&quot;http://www.adobe.com/devnet/flash/&quot;), &quot;_self&quot;);
}
 I made one/ im trying to make another one. but it doesnt work !!! im so frustrated by it. pls help me solve this problem!~</description>
		<content:encoded><![CDATA[<p>can someone pls pls help me with linking my button to open in the same window. it is soooooo weird because with my first button (menu) it works but with my second, it doesnt work although every code is the same. it only works with _blank. with _self, if u click the button, nothing happens! nothing appears!/ i named my instance, put my actionscript in a different layer in the same frame, put</p>
<p>my_btn.addEventListener(MouseEvent.MOUSE_DOWN, myHandler);<br />
function myHandler(event:MouseEvent):void {<br />
    navigateToURL(new URLRequest(&#8220;http://www.adobe.com/devnet/flash/&#8221;), &#8220;_self&#8221;);<br />
}<br />
 I made one/ im trying to make another one. but it doesnt work !!! im so frustrated by it. pls help me solve this problem!~</p>
]]></content:encoded>
	</item>
</channel>
</rss>
