<?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: AS3 Global Object 1.2</title>
	<atom:link href="http://www.uza.lt/2007/05/11/as3-global-object-12/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.uza.lt/2007/05/11/as3-global-object-12/</link>
	<description>All things Flash, Javascript and Touch.</description>
	<lastBuildDate>Tue, 31 Aug 2010 00:31:32 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: mcarey</title>
		<link>http://www.uza.lt/2007/05/11/as3-global-object-12/comment-page-1/#comment-5970</link>
		<dc:creator>mcarey</dc:creator>
		<pubDate>Tue, 15 Jul 2008 22:22:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.uza.lt/blog/2007/05/as3-global-object-12/#comment-5970</guid>
		<description>Thanks! I am looking for a way to watch/listen to the loaderInfo.parameters object for updates to its variables (which will be frequently updated by the c++ wrapper that contains the flash app)  I tried defining a global var like so:  global.testVar = loaderInfo.parameters.testVar, and adding an onPropChanged listener to the global object, but, not surprisingly, updates to the loaderInfo.paramaters.testVar made by the c++ wrapper do not fire global&#039;s onPropChanged listener (though it is properly fired by manually updating global.testVar).  I&#039;m wondering if you can think of any way to assign a similar onPropChanged event to the loaderInfo.parameters object (as I can&#039;t grab this type of continual parameters update from the canned events for loaderInfo, and using Timer to constantly poll the loaderInfo.parameters obj is not reliable enough).  I&#039;m not sure how one would do that given it&#039;s a system level object.  Due to issues in the c++ wrapper, the only way (to date) to receive those updates is via the loaderInfo.paramaters obj (as opposed to some custom object, like the global object) to which I could more easily assign a listener.  Any thoughts?  (appreciate any response to this thread, acknowledging it&#039;s over a year old...)</description>
		<content:encoded><![CDATA[<p>Thanks! I am looking for a way to watch/listen to the loaderInfo.parameters object for updates to its variables (which will be frequently updated by the c++ wrapper that contains the flash app)  I tried defining a global var like so:  global.testVar = loaderInfo.parameters.testVar, and adding an onPropChanged listener to the global object, but, not surprisingly, updates to the loaderInfo.paramaters.testVar made by the c++ wrapper do not fire global&#8217;s onPropChanged listener (though it is properly fired by manually updating global.testVar).  I&#8217;m wondering if you can think of any way to assign a similar onPropChanged event to the loaderInfo.parameters object (as I can&#8217;t grab this type of continual parameters update from the canned events for loaderInfo, and using Timer to constantly poll the loaderInfo.parameters obj is not reliable enough).  I&#8217;m not sure how one would do that given it&#8217;s a system level object.  Due to issues in the c++ wrapper, the only way (to date) to receive those updates is via the loaderInfo.paramaters obj (as opposed to some custom object, like the global object) to which I could more easily assign a listener.  Any thoughts?  (appreciate any response to this thread, acknowledging it&#8217;s over a year old&#8230;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://www.uza.lt/2007/05/11/as3-global-object-12/comment-page-1/#comment-219</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Thu, 07 Jun 2007 22:39:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.uza.lt/blog/2007/05/as3-global-object-12/#comment-219</guid>
		<description>Thanks for this! I just started working with AS3 and I was really missing &quot;_root&quot; and &quot;_global&quot;. Working with large complex applications it really helps to have variables that you can access from anywhere. Before I found this I was passing refrences to stage to all my classes but it was just a mess. Problem solved!</description>
		<content:encoded><![CDATA[<p>Thanks for this! I just started working with AS3 and I was really missing &#8220;_root&#8221; and &#8220;_global&#8221;. Working with large complex applications it really helps to have variables that you can access from anywhere. Before I found this I was passing refrences to stage to all my classes but it was just a mess. Problem solved!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
