<?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: Flex Module &#8211; Error #1009</title>
	<atom:link href="http://www.thanksmister.com/index.php/archive/flex-module-error-1009/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thanksmister.com/index.php/archive/flex-module-error-1009/</link>
	<description>Flash &#38; Flex Developer</description>
	<lastBuildDate>Tue, 31 Aug 2010 04:17:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Nikos</title>
		<link>http://www.thanksmister.com/index.php/archive/flex-module-error-1009/#comment-18211</link>
		<dc:creator>Nikos</dc:creator>
		<pubDate>Sat, 28 Nov 2009 12:20:06 +0000</pubDate>
		<guid isPermaLink="false">http://thanksmister.com/?p=54#comment-18211</guid>
		<description>this doesn&#039;t work for me using 3.4

[as]
&lt;mx:Module xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot; layout=&quot;vertical&quot;
    percentWidth=&quot;100&quot; percentHeight=&quot;100&quot; verticalGap=&quot;0&quot;
    &gt;
[/as]</description>
		<content:encoded><![CDATA[<p>this doesn&#8217;t work for me using 3.4</p>
<div class="codecolorer-container actionscript mac-classic" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="actionscript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #66cc66;">&lt;</span>mx:Module xmlns:mx=<span style="color: #ff0000;">&quot;http://www.adobe.com/2006/mxml&quot;</span> layout=<span style="color: #ff0000;">&quot;vertical&quot;</span><br />
&nbsp; &nbsp; percentWidth=<span style="color: #ff0000;">&quot;100&quot;</span> percentHeight=<span style="color: #ff0000;">&quot;100&quot;</span> verticalGap=<span style="color: #ff0000;">&quot;0&quot;</span><br />
&nbsp; &nbsp; <span style="color: #66cc66;">&gt;</span></div></td></tr></tbody></table></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thanda</title>
		<link>http://www.thanksmister.com/index.php/archive/flex-module-error-1009/#comment-17656</link>
		<dc:creator>Thanda</dc:creator>
		<pubDate>Fri, 06 Nov 2009 09:45:05 +0000</pubDate>
		<guid isPermaLink="false">http://thanksmister.com/?p=54#comment-17656</guid>
		<description>I have encountered this error when I ran the following program. Please help me.. 
TypeError: Error #1009: Cannot access a property or method of a null object reference in ActionScript3 

public class Pagination
{
    //This is calling the ApplicationStatus.mxml component  
    var obj:ApplicationStatus= new ApplicationStatus();
   
   public function update():void
   {
        obj.next_txt.text =&quot;&quot;;
   }
}</description>
		<content:encoded><![CDATA[<p>I have encountered this error when I ran the following program. Please help me..<br />
TypeError: Error #1009: Cannot access a property or method of a null object reference in ActionScript3 </p>
<p>public class Pagination<br />
{<br />
    //This is calling the ApplicationStatus.mxml component<br />
    var obj:ApplicationStatus= new ApplicationStatus();</p>
<p>   public function update():void<br />
   {<br />
        obj.next_txt.text =&#8221;";<br />
   }<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.thanksmister.com/index.php/archive/flex-module-error-1009/#comment-16108</link>
		<dc:creator>David</dc:creator>
		<pubDate>Wed, 23 Sep 2009 00:56:36 +0000</pubDate>
		<guid isPermaLink="false">http://thanksmister.com/?p=54#comment-16108</guid>
		<description>prtn_btni.addEventListener(MouseEvent.CLICK, prtnwdgi);
function prtnwdgi(event:MouseEvent):void
{
	myUILoaderd.unload();
	myTimerd.stop();
	gotoAndStop(&quot;Main&quot;);
}

that is my code

TypeError: Error #1009: Cannot access a property or method of a null object reference.
	at crbp_fla::prtpg_10/frame1()
	at flash.display::MovieClip/gotoAndStop()
	at crbp_fla::prtpg_10/prtnwdgi()

is the error

I have similar code in other places and they work fine, if anyone has anyideas what the issue would be it would be a great help. Thank you for any help.</description>
		<content:encoded><![CDATA[<p>prtn_btni.addEventListener(MouseEvent.CLICK, prtnwdgi);<br />
function prtnwdgi(event:MouseEvent):void<br />
{<br />
	myUILoaderd.unload();<br />
	myTimerd.stop();<br />
	gotoAndStop(&#8220;Main&#8221;);<br />
}</p>
<p>that is my code</p>
<p>TypeError: Error #1009: Cannot access a property or method of a null object reference.<br />
	at crbp_fla::prtpg_10/frame1()<br />
	at flash.display::MovieClip/gotoAndStop()<br />
	at crbp_fla::prtpg_10/prtnwdgi()</p>
<p>is the error</p>
<p>I have similar code in other places and they work fine, if anyone has anyideas what the issue would be it would be a great help. Thank you for any help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: FlashLab - AS3 Error Codes</title>
		<link>http://www.thanksmister.com/index.php/archive/flex-module-error-1009/#comment-10811</link>
		<dc:creator>FlashLab - AS3 Error Codes</dc:creator>
		<pubDate>Fri, 12 Dec 2008 22:51:36 +0000</pubDate>
		<guid isPermaLink="false">http://thanksmister.com/?p=54#comment-10811</guid>
		<description>[...] (PopUpManger, DragManager) in a module and use from another module. For more information, see http://thanksmister.com/?p=54.If you get this error from clicking a cell an ItemRenderer, add the following line to the [...]</description>
		<content:encoded><![CDATA[<p>[...] (PopUpManger, DragManager) in a module and use from another module. For more information, see <a href="http://thanksmister.com/?p=54.If" rel="nofollow">http://thanksmister.com/?p=54.If</a> you get this error from clicking a cell an ItemRenderer, add the following line to the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vince</title>
		<link>http://www.thanksmister.com/index.php/archive/flex-module-error-1009/#comment-10295</link>
		<dc:creator>Vince</dc:creator>
		<pubDate>Fri, 31 Oct 2008 18:32:07 +0000</pubDate>
		<guid isPermaLink="false">http://thanksmister.com/?p=54#comment-10295</guid>
		<description>Hello all! So, I’ve got an Error #1009 issue and would love a little guidance. On the first frame of my timeline, I have preloader animation that tracks the progress of the download. On the last frame of my timeline, I have a movie clip called INTRO_anim that loads after all of the content for my website. What I would like to be able to do is skip to the next frame of the timeline (which is where all the content is) once it’s ready and forget about playing the intro if I choose to do so. When I launch my swf and click on SKIP_btn, a bunch of 1009’s pop up along with some 1010’s. Here’s my code:

stop();

SKIP_btn.gotoAndStop(4);
START_btn.gotoAndStop(2);

SKIP_btn.buttonMode = true;
START_btn.buttonMode = true;

this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgress);
this.loaderInfo.addEventListener(Event.COMPLETE, onComplete);

function onProgress (event:ProgressEvent): void {
var loaded:Number = event.target.bytesLoaded;
var total:Number = event.target.bytesTotal;
var pct:Number = loaded/total;
LOADING_anim.gotoAndStop(Math.round(pct*100));
loaded_txt.text = “Loading Site… ” + (Math.round(pct*100)) + “%”;
if(framesLoaded &gt;= 22) {
SKIP_btn.gotoAndStop(1);
SKIP_btn.addEventListener(MouseEvent.MOUSE_DOWN, SKIP_early_down);
SKIP_btn.addEventListener(MouseEvent.MOUSE_OVER, SKIP_early_over);
SKIP_btn.addEventListener(MouseEvent.MOUSE_OUT, SKIP_early_out);
loaded_txt.text = “Loading Intro…” + + (Math.round(pct*100)) + “%”;
function SKIP_early_down (event:MouseEvent): void {
this.loaderInfo.removeEventListener(Event.COMPLETE, onComplete);
nextFrame();
}
function SKIP_early_over (event:MouseEvent): void {
SKIP_btn.gotoAndStop(2);
}
function SKIP_early_out (event:MouseEvent): void {
SKIP_btn.gotoAndStop(1);
}
}

if(pct == 1) {
loaded_txt.text = “”;
}
}
function onComplete (event:Event): void {
SKIP_btn.gotoAndStop(1);
SKIP_btn.addEventListener(MouseEvent.MOUSE_DOWN, SKIP_down);
SKIP_btn.addEventListener(MouseEvent.MOUSE_OVER, SKIP_over);
SKIP_btn.addEventListener(MouseEvent.MOUSE_OUT, SKIP_out);

function SKIP_down (event:MouseEvent): void {
SKIP_btn.gotoAndStop(3);
nextFrame();
}
function SKIP_over (event:MouseEvent): void {
SKIP_btn.gotoAndStop(2)
}
function SKIP_out (event:MouseEvent): void {
SKIP_btn.gotoAndStop(1)
}
}

Any ideas? Thanks a lot for any help.</description>
		<content:encoded><![CDATA[<p>Hello all! So, I’ve got an Error #1009 issue and would love a little guidance. On the first frame of my timeline, I have preloader animation that tracks the progress of the download. On the last frame of my timeline, I have a movie clip called INTRO_anim that loads after all of the content for my website. What I would like to be able to do is skip to the next frame of the timeline (which is where all the content is) once it’s ready and forget about playing the intro if I choose to do so. When I launch my swf and click on SKIP_btn, a bunch of 1009’s pop up along with some 1010’s. Here’s my code:</p>
<p>stop();</p>
<p>SKIP_btn.gotoAndStop(4);<br />
START_btn.gotoAndStop(2);</p>
<p>SKIP_btn.buttonMode = true;<br />
START_btn.buttonMode = true;</p>
<p>this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgress);<br />
this.loaderInfo.addEventListener(Event.COMPLETE, onComplete);</p>
<p>function onProgress (event:ProgressEvent): void {<br />
var loaded:Number = event.target.bytesLoaded;<br />
var total:Number = event.target.bytesTotal;<br />
var pct:Number = loaded/total;<br />
LOADING_anim.gotoAndStop(Math.round(pct*100));<br />
loaded_txt.text = “Loading Site… ” + (Math.round(pct*100)) + “%”;<br />
if(framesLoaded &gt;= 22) {<br />
SKIP_btn.gotoAndStop(1);<br />
SKIP_btn.addEventListener(MouseEvent.MOUSE_DOWN, SKIP_early_down);<br />
SKIP_btn.addEventListener(MouseEvent.MOUSE_OVER, SKIP_early_over);<br />
SKIP_btn.addEventListener(MouseEvent.MOUSE_OUT, SKIP_early_out);<br />
loaded_txt.text = “Loading Intro…” + + (Math.round(pct*100)) + “%”;<br />
function SKIP_early_down (event:MouseEvent): void {<br />
this.loaderInfo.removeEventListener(Event.COMPLETE, onComplete);<br />
nextFrame();<br />
}<br />
function SKIP_early_over (event:MouseEvent): void {<br />
SKIP_btn.gotoAndStop(2);<br />
}<br />
function SKIP_early_out (event:MouseEvent): void {<br />
SKIP_btn.gotoAndStop(1);<br />
}<br />
}</p>
<p>if(pct == 1) {<br />
loaded_txt.text = “”;<br />
}<br />
}<br />
function onComplete (event:Event): void {<br />
SKIP_btn.gotoAndStop(1);<br />
SKIP_btn.addEventListener(MouseEvent.MOUSE_DOWN, SKIP_down);<br />
SKIP_btn.addEventListener(MouseEvent.MOUSE_OVER, SKIP_over);<br />
SKIP_btn.addEventListener(MouseEvent.MOUSE_OUT, SKIP_out);</p>
<p>function SKIP_down (event:MouseEvent): void {<br />
SKIP_btn.gotoAndStop(3);<br />
nextFrame();<br />
}<br />
function SKIP_over (event:MouseEvent): void {<br />
SKIP_btn.gotoAndStop(2)<br />
}<br />
function SKIP_out (event:MouseEvent): void {<br />
SKIP_btn.gotoAndStop(1)<br />
}<br />
}</p>
<p>Any ideas? Thanks a lot for any help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Malboro Jones</title>
		<link>http://www.thanksmister.com/index.php/archive/flex-module-error-1009/#comment-9273</link>
		<dc:creator>Malboro Jones</dc:creator>
		<pubDate>Wed, 03 Sep 2008 05:57:18 +0000</pubDate>
		<guid isPermaLink="false">http://thanksmister.com/?p=54#comment-9273</guid>
		<description>Never Mind I fixed it :) 
I hadn&#039;t noticed I had accidentally put some action script into the movie clip.
I&#039;ll come back if i have any other problems.
Regards
The Malboro</description>
		<content:encoded><![CDATA[<p>Never Mind I fixed it <img src='http://www.thanksmister.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
I hadn&#8217;t noticed I had accidentally put some action script into the movie clip.<br />
I&#8217;ll come back if i have any other problems.<br />
Regards<br />
The Malboro</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Malboro Jones</title>
		<link>http://www.thanksmister.com/index.php/archive/flex-module-error-1009/#comment-9272</link>
		<dc:creator>Malboro Jones</dc:creator>
		<pubDate>Wed, 03 Sep 2008 05:44:09 +0000</pubDate>
		<guid isPermaLink="false">http://thanksmister.com/?p=54#comment-9272</guid>
		<description>By The Way its the face_btn that i click on to play the Movie Clip, the error i get is

TypeError: Error #1009: Cannot access a property or method of a null object reference.
	at Testing_fla::MainTimeline/frame4()</description>
		<content:encoded><![CDATA[<p>By The Way its the face_btn that i click on to play the Movie Clip, the error i get is</p>
<p>TypeError: Error #1009: Cannot access a property or method of a null object reference.<br />
	at Testing_fla::MainTimeline/frame4()</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Malboro Jones</title>
		<link>http://www.thanksmister.com/index.php/archive/flex-module-error-1009/#comment-9271</link>
		<dc:creator>Malboro Jones</dc:creator>
		<pubDate>Wed, 03 Sep 2008 05:37:56 +0000</pubDate>
		<guid isPermaLink="false">http://thanksmister.com/?p=54#comment-9271</guid>
		<description>Hi, I&#039;m getting the error as I try to play a Movie Clip,
[as]
stop();
play_btn.addEventListener(MouseEvent.CLICK, show_face1);
function show_face1(event:MouseEvent):void {
    if (face_btn.visible == true) {
        face_btn.visible = false;
    } else {
        face_btn.visible = true;
		}
}
back_btn.addEventListener(MouseEvent.CLICK, tostart1);
function tostart2(event:MouseEvent):void {	
	prevScene()
}
face_btn.addEventListener(MouseEvent.CLICK, explode1);
function explode1(event:MouseEvent):void {
	gotoAndStop(3)
}[/as]
Can you help me fix it please.
Regards Malboro =]</description>
		<content:encoded><![CDATA[<p>Hi, I&#8217;m getting the error as I try to play a Movie Clip,</p>
<div class="codecolorer-container actionscript mac-classic" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br /></div></td><td><div class="actionscript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #0066CC;">stop</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;<br />
play_btn.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">CLICK</span>, show_face1<span style="color: #66cc66;">&#41;</span>;<br />
<span style="color: #000000; font-weight: bold;">function</span> show_face1<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><br />
&nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>face_btn.<span style="color: #0066CC;">visible</span> == <span style="color: #000000; font-weight: bold;">true</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; face_btn.<span style="color: #0066CC;">visible</span> = <span style="color: #000000; font-weight: bold;">false</span>;<br />
&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; face_btn.<span style="color: #0066CC;">visible</span> = <span style="color: #000000; font-weight: bold;">true</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><br />
<span style="color: #66cc66;">&#125;</span><br />
back_btn.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">CLICK</span>, tostart1<span style="color: #66cc66;">&#41;</span>;<br />
<span style="color: #000000; font-weight: bold;">function</span> tostart2<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>&nbsp; <br />
&nbsp; &nbsp; <span style="color: #0066CC;">prevScene</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><br />
<span style="color: #66cc66;">&#125;</span><br />
face_btn.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">CLICK</span>, explode1<span style="color: #66cc66;">&#41;</span>;<br />
<span style="color: #000000; font-weight: bold;">function</span> explode1<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><br />
&nbsp; &nbsp; <span style="color: #0066CC;">gotoAndStop</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">3</span><span style="color: #66cc66;">&#41;</span><br />
<span style="color: #66cc66;">&#125;</span></div></td></tr></tbody></table></div>
<p>Can you help me fix it please.<br />
Regards Malboro =]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Francis Lukesh</title>
		<link>http://www.thanksmister.com/index.php/archive/flex-module-error-1009/#comment-9261</link>
		<dc:creator>Francis Lukesh</dc:creator>
		<pubDate>Wed, 03 Sep 2008 02:21:43 +0000</pubDate>
		<guid isPermaLink="false">http://thanksmister.com/?p=54#comment-9261</guid>
		<description>If you load modules using ApplicationDomain.currentDomain, the DragManager, et al classes won&#039;t trip over each other and should solve the problem.

I.e.:

moduleInfo.load(ApplicationDomain.currentDomain);</description>
		<content:encoded><![CDATA[<p>If you load modules using ApplicationDomain.currentDomain, the DragManager, et al classes won&#8217;t trip over each other and should solve the problem.</p>
<p>I.e.:</p>
<p>moduleInfo.load(ApplicationDomain.currentDomain);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Denis M</title>
		<link>http://www.thanksmister.com/index.php/archive/flex-module-error-1009/#comment-8831</link>
		<dc:creator>Denis M</dc:creator>
		<pubDate>Tue, 05 Aug 2008 15:36:06 +0000</pubDate>
		<guid isPermaLink="false">http://thanksmister.com/?p=54#comment-8831</guid>
		<description>Thanks so much! I have been beating my head against the wall on this for days!</description>
		<content:encoded><![CDATA[<p>Thanks so much! I have been beating my head against the wall on this for days!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
